anomalyco / anomalyco/opencode

opencode2 became stuck starting its managed background server

Open
#41,696 6 comments 0 reactions 1 assignee View on GitHub

@rekram1-node is already working on this.

Since Aug 11, 2026.

2.0
Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

opencode2 became stuck starting its managed background server. It repeatedly spawned serve --service, but never reported the underlying error.

Plugins

No response

OpenCode version

OpenCode: 0.0.0-next-17090

Steps to reproduce

The managed service was configured to use port 49374, which was already occupied by Ollama.

Running the server directly exposed the otherwise hidden error:

Managed service port 49374 on 127.0.0.1 is already in use by another process.
Configure another port with opencode service set port <port> and start the service again.

opencode2 service start should surface the port-conflict error immediately rather than silently spawning repeated serve --service attempts.

Screenshot and/or share link

No response

Operating System

macOS, arm64

Terminal

ghoosty tmux

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.