You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] OpenCode Web shows "No folders found" although projects are returned by the backend API #39655
When running opencode web, the Web UI starts successfully and is accessible in the browser.
However, the home page and the Open Project dialog both show "No folders found", even though the backend already returns all projects correctly.
The issue appears to be on the Web UI side because:
/project returns all existing projects (17 projects in my case)
/session returns existing sessions
All requests return HTTP 200
The UI still shows an empty project list
Server log also prints:
Failed to initialize fff
Failed to init file picker: Can not run certain FFF features in a file system root or home directories. Consider smaller per-project directories.
### Additional information
The backend appears to work correctly.
`GET /project` returns existing projects, for example:
```json
[
{
"worktree": "/Users/.../Documents/GitHub/openclaw"
},
{
"worktree": "/Users/.../Documents/GitHub/unified-agentic-os"
}
]
The local database also contains projects:
SELECTCOUNT(*) FROM project;
17
The issue seems to be that the Web UI does not render the projects even though they are successfully returned by the backend.
Plugins
None
OpenCode version
1.18.9
Steps to reproduce
Start OpenCode Web
opencode web
Open the Web UI in the browser.
Observe that the home page and the Open Project dialog display "No folders found".
Open DevTools → Network.
Observe that the project request returns HTTP 200 and contains all existing projects, but none are rendered in the UI.
Reproducing on 1.18.15 (npm, Ubuntu 22.04, opencode web --hostname 0.0.0.0). Same symptoms: home shows "这里还没有内容 / Nothing here yet", "New session" inert, while /api/session returns all sessions correctly.
Additional finding: the web frontend bundled in opencode-ai@1.18.15 is actually the 1.18.14 build (see #41280), so users of 1.18.15 won't see any frontend fix from this PR until the packaging is corrected too.
Workaround that works (client-side, no rebuild): seed the bookmark store in localStorage, then reload:
Verified: after reload the session list (grouped by day) and "New session" both work. The same key is what the "Add project" dialog writes when you pick a folder manually.
Activity
github-actions commentedon Jul 30, 2026
This issue might be a duplicate of existing issues. Please check:
file.list()without the requiredpathquery parameter, causing a silent 400 erroropencode webOpeOginni commentedon Jul 30, 2026
You have to actively load these projects into the local storage of the web app, by inputing them and adding them.
cf-joshnabbott commentedon Jul 30, 2026
@OpeOginni is the process explained somewhere?
OpeOginni commentedon Jul 30, 2026
Not too complicated, just click Add Project, then the path of the folder on your machine
changer-changer commentedon Aug 8, 2026
Reproducing on 1.18.15 (npm, Ubuntu 22.04,
opencode web --hostname 0.0.0.0). Same symptoms: home shows "这里还没有内容 / Nothing here yet", "New session" inert, while/api/sessionreturns all sessions correctly.Additional finding: the web frontend bundled in
opencode-ai@1.18.15is actually the 1.18.14 build (see #41280), so users of 1.18.15 won't see any frontend fix from this PR until the packaging is corrected too.Workaround that works (client-side, no rebuild): seed the bookmark store in localStorage, then reload:
Verified: after reload the session list (grouped by day) and "New session" both work. The same key is what the "Add project" dialog writes when you pick a folder manually.
fix(app): auto-register server working directory as a project
github-actions commentedon Oct 9, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.