Skip to content

Cannot open opencode2 - Background service failed to start #45014

Closed

Description

@ucirello

Description

$ opencode2 --version
opencode2 v0.0.0-beta-18155
$ opencode2
[08:47:50.398] ERROR (#1): Error: Background service failed to start
    at <anonymous> (/$bunfs/root/chunk-psykcre7.js:3:1518)
    at service.ensure (/$bunfs/root/chunk-vx53ddd8.js:3:428)
    at service.ensure (definition) (/$bunfs/root/chunk-psykcre7.js:3:729)
    at cli.server-connection.resolve (/$bunfs/root/chunk-1asat22v.js:2765:7070)
    at cli.server-connection.resolve (definition) (/$bunfs/root/chunk-vx53ddd8.js:2:504)
$ opencode2 plugin list
[08:49:08.144] ERROR (#1): Error: Background service failed to start
    at <anonymous> (/$bunfs/root/chunk-psykcre7.js:3:1518)
    at service.ensure (/$bunfs/root/chunk-v5zqc2nf.js:2:1143)
    at service.ensure (definition) (/$bunfs/root/chunk-psykcre7.js:3:729)
    at cli.plugin.list (/$bunfs/root/chunk-3bd1bmsx.js:64:1086)
    at cli.plugin.list (definition) (/$bunfs/root/chunk-v5zqc2nf.js:2:1090)

Plugins

I don't know - I can't list them

OpenCode version

v0.0.0-beta-18155

Steps to reproduce

  1. install with curl curl -fsSL https://opencode.ai/v2/install | bash
  2. leave an opencode (v1) session active (I am not sure it is a factor, but it was part of the environment. It may be a red herring)
  3. Run opencode2 in any directory.

Screenshot and/or share link

No response

Operating System

Darwin Mac-17 25.5.0 Darwin Kernel Version 25.5.0: Tue Jun 9 22:28:34 PDT 2026; root:xnu-12377.121.10~1/RELEASE_ARM64_T6041 arm64

Terminal

cmux

Activity

  1. github-actions commented on Aug 25, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    If you can confirm whether ~/.local/share/opencode/opencode.db exists and its approximate size, or share the output of opencode2 serve --service directly (to see if there's a more detailed error), that would help distinguish this from #41739.

  2. ucirello commented on Aug 25, 2026

    @ucirello
    ContributorAuthor

    I save my own soul by deleting all opencode v1 state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions