anomalyco / anomalyco/opencode

`opencode web` ENOENT: no such file or directory, lstat '/home/sinawic/codex/r��y�')

Open
#41,225 1 comment 0 reactions 1 assignee View on GitHub

@Brendonovich is already working on this.

Since Aug 8, 2026.

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

Description

Description

im having this issue with opencode web
i have tested on both installation with npm and the install script in two different hosts.

opencode --version
1.18.13

which is the latest of this moment.

so i have no issues in desktop and tui. and i can create sessions and connect providers and chat.

but in web mode
after running opencode web the web ui automatically opens on my browser but nothing really works
not any of the buttons no new tab no new session. models list empty and sessions also empty. despite both working and showing the list in tui.

here is my tail of opencode logs after running opencode web:

tail -f ~/.local/share/opencode/log/opencode.log


timestamp=2026-08-08T06:38:49.351Z level=INFO run=b174f024 message=loading path=/home/sinawic/codex/opencode.jsonc
timestamp=2026-08-08T06:38:50.402Z level=INFO run=b174f024 message="all LSPs are disabled"
timestamp=2026-08-08T06:38:50.403Z level=INFO run=b174f024 message="all formatters are disabled"
timestamp=2026-08-08T06:38:50.403Z level=INFO run=b174f024 message=init
timestamp=2026-08-08T06:38:50.880Z level=INFO run=b174f024 message="creating instance" directory=/home/sinawic/.config/opencode/r��y�
timestamp=2026-08-08T06:38:50.881Z level=INFO run=b174f024 message=fromDirectory directory=/home/sinawic/.config/opencode/r��y�
timestamp=2026-08-08T06:38:50.909Z level=INFO run=b174f024 message=init count=1
timestamp=2026-08-08T06:38:50.931Z level=INFO run=b174f024 message=bootstrapping directory=/home/sinawic/.config/opencode/r��y�
timestamp=2026-08-08T06:38:50.939Z level=WARN run=b174f024 message="failed to initialize fff" error="Failed to init file picker: Invalid path /home/sinawic/codex/r��y�"
timestamp=2026-08-08T06:38:50.945Z level=ERROR run=b174f024 message=failed ref=err_fa782897 error="PlatformError: NotFound: FileSystem.realPath (/home/sinawic/codex/r��y�) (cause: Error: ENOENT: no such file or directory, lstat '/home/sinawic/codex/r��y�')" cause="PlatformError: NotFound: FileSystem.realPath (/home/sinawic/codex/r��y�)\n    at hw (/$bunfs/root/chunk-datjqaqc.js:71:4288)\n    at <anonymous> (/$bunfs/root/chunk-datjqaqc.js:27:13322)\n    at processTicksAndRejections (native:7:39)\n    at Server.listen (/$bunfs/root/chunk-amcn970a.js:6:15456)\n    at Server.listen (definition) (/$bunfs/root/chunk-amcn970a.js:6:15579) {\n  [cause]: Error: ENOENT: no such file or directory, lstat '/home/sinawic/codex/r��y�'\n}"
timestamp=2026-08-08T06:38:50.977Z level=INFO run=b174f024 message=loading path=/home/sinawic/.config/opencode/opencode.jsonc
timestamp=2026-08-08T06:38:51.798Z level=INFO run=b174f024 message="all LSPs are disabled"
timestamp=2026-08-08T06:38:51.800Z level=INFO run=b174f024 message="all formatters are disabled"
timestamp=2026-08-08T06:38:51.800Z level=INFO run=b174f024 message=init
timestamp=2026-08-08T06:38:51.911Z level=INFO run=b174f024 message=init count=1
timestamp=2026-08-08T06:38:52.707Z level=INFO run=b174f024 message="watcher backend" directory=/home/sinawic/.config/opencode/r��y� platform=linux backend=inotify
timestamp=2026-08-08T06:38:52.751Z level=INFO run=b174f024 message="booting location services" directory=/home/sinawic/.config/opencode/r��y� workspaceID=undefined
timestamp=2026-08-08T06:38:52.763Z level=INFO run=b174f024 message="project copy refresh started" projectID=global
timestamp=2026-08-08T06:38:52.780Z level=INFO run=b174f024 message="project copy refresh done" projectID=global updated=[] removed=[]


im on linux ubuntu 22.04
Linux sinawic 6.8.0-111-generic #111~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 14 17:13:45 UTC x86_64 x86_64 x86_64 GNU/Linux

Plugins
OpenCode version

1.18.13

Steps to reproduce
  1. basic install with no specific configuration with npm or installation script
  2. running opencode web
  3. accessing the web ui
  4. checking the ~/.local/share/opencode/log/opencode.log file
Screenshot and/or share link

No response

Operating System

ubuntu 22.04

Terminal

ubuntu default terminal

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.