Skip to content

OpenCode Desktop is just a blank screen, "Just a moment.." MacOS 26.3.1, MCPs will not work #21241

Closed as not planned

Description

@pwillis-oi

OpenCode Desktop doesn't seem to do anything at all (MacOS 26.3.1, M3 chip, 16GB RAM)

I installed latest DMG of Desktop app from website, ran it, dragged icon to Applications folder, then ran application, clicked Ok link to allow running file downloaded from web.

Big empty white screen for OpenCode Desktop app. Separate small window "Tauri App" says "just a moment..." with one yellow bar. I sit and wait for a while, nothing changes. Close program, reopen again, no changes.

Made sure there are no hidden opencode settings files (find ~/.??*/ | grep -i opencode).

Also tried using Homebrew install, same thing.

Any tips on troubleshooting?


fwiw, /Applications/OpenCode.app/Contents/MacOS/opencode-cli does work, as does the web UI.
However, every time the TUI wants to access an MCP, it tries to launch Desktop, and Desktop just sits there frozen. It also simultaneously terminates the web UI process. So I can't use any MCPs with OpenCode. Would appreciate any help. Thanks

Activity

  1. github-actions commented on Apr 6, 2026

    @github-actions
    Contributor

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

    If your issue is distinct (e.g. specific to macOS 26.x / newer hardware), please add details that differentiate it from the above.

  2. pwillis-oi commented on Apr 6, 2026

    @pwillis-oi
    Author

    This seems to be affecting multiple users, and there is no known cause or fix, and no troubleshooting steps we can take.

    I found this troubleshooting page: https://opencode.ai/docs/troubleshooting/

    No logs to speak of

    Tried to run app from command line:

    18:35 $ /Applications/OpenCode.app/Contents/MacOS/OpenCode --help
    2026-04-06T22:35:15.653233Z  INFO opencode_lib: Initializing app
    2026-04-06T22:35:15.653325Z  INFO opencode_lib: Spawning sidecar on http://127.0.0.1:54841
    2026-04-06T22:35:15.653332Z  INFO opencode_lib::cli: Spawning sidecar port=54841
    2026-04-06T22:35:15.863743Z  WARN opencode_lib::cli: Falling back to app environment shell="/bin/zsh"
    2026-04-06T22:35:15.864110Z  INFO opencode_lib::cli: No CLI installation found, skipping sync
    2026-04-06T22:35:15.964342Z  INFO sidecar: opencode_lib::cli: Sidecar terminated code=Some(0) signal=None
    2026-04-06T22:35:15.964749Z ERROR opencode_lib: Sidecar health check failed: Sidecar terminated before becoming healthy (code=Some(0) signal=None)
    2026-04-06T22:35:15.964762Z  INFO opencode_lib: Loading task finished
    2026-04-06T22:35:15.964770Z  INFO opencode_lib: Loading done, completing initialisation
    

    Screen just says "Could not reach Local Server. Retrying automatically..."

    Adding --log-level DEBUG has no effect

    Tried Reload Webview, Restart, no difference

  3. pwillis-oi commented on Apr 6, 2026

    @pwillis-oi
    Author

    I have also tried:

    rm -rf \
      ~/Library/WebKit/ai.opencode.desktop \
      "~/Library/Application Support/ai.opencode.desktop" \
      ~/.config/opencode/ \
      ~/.cache/opencode/ \
      ~/.local/share/opencode
    

    If I add the ~/.local/ removal, this does change:

    18:48 $ /Applications/OpenCode.app/Contents/MacOS/OpenCode --log-level DEBUG --print-logs
    2026-04-06T22:48:50.846660Z  INFO opencode_lib: Initializing app
    2026-04-06T22:48:50.847115Z  INFO opencode_lib: Spawning sidecar on http://127.0.0.1:55713
    2026-04-06T22:48:50.847125Z  INFO opencode_lib::cli: Spawning sidecar port=55713
    2026-04-06T22:48:50.967818Z  WARN opencode_lib::cli: Falling back to app environment shell="/bin/zsh"
    2026-04-06T22:48:50.968388Z  INFO opencode_lib::cli: No CLI installation found, skipping sync
    2026-04-06T22:48:50.968485Z  INFO opencode_lib: Sqlite file not found, waiting for it to be generated path=/Users/pwillis/.local/share/opencode/opencode.db
    2026-04-06T22:48:51.070209Z  INFO sidecar: opencode_lib::cli: Sidecar terminated code=Some(0) signal=None
    

    However now it opens the Tauri prompt again which hangs forever.

    If I close the app and reopen, I get the previous hanging "Retrying" window, with the sidecar error (see output from last comment).

  4. merdemkoc commented on Apr 29, 2026

    @merdemkoc

    I noticed these logs when running the app with --help from the terminal:

    ERROR opencode_lib: Failed to sync CLI: Failed to get CLI version
    INFO sidecar: opencode_lib::cli: EACCES: permission denied, mkdir '/Users/<user>/.local/share/opencode/log'
    

    Looks like the root cause was permission ownership on the ~/.local directory.

    Fixing it with:

    sudo chown -R $(whoami) ~/.local

    resolved the issue for me.

  5. dmknob commented on May 4, 2026

    @dmknob

    I noticed these logs when running the app with --help from the terminal:

    ERROR opencode_lib: Failed to sync CLI: Failed to get CLI version
    INFO sidecar: opencode_lib::cli: EACCES: permission denied, mkdir '/Users/<user>/.local/share/opencode/log'
    

    Looks like the root cause was permission ownership on the ~/.local directory.

    Fixing it with:

    sudo chown -R $(whoami) ~/.local

    resolved the issue for me.

    It works for me too. Tks.

  6. github-actions commented on Jul 4, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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