Skip to content

[Bug] OpenCode Web shows "No folders found" although projects are returned by the backend API #39655

Description

Description

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:

SELECT COUNT(*) 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

  1. Start OpenCode Web
opencode web
  1. Open the Web UI in the browser.

  2. Observe that the home page and the Open Project dialog display "No folders found".

  3. Open DevTools → Network.

  4. Observe that the project request returns HTTP 200 and contains all existing projects, but none are rendered in the UI.

Screenshot and/or share link

Image Image Image

Operating System

macOS Sequoia 15.x (Intel)

Terminal

iTerm2

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