Skip to content

bug(file browser): Timeout error, database lock #932

Description

@srerickson

When a workspace is up for more than a day or two, and the coder agent restarts, the file browser agent will fail with an error:

🛠️  Configuring filebrowser 
DB_PATH: .config/filebrowser.db
2026/06/24 06:10:45 No config file used
2026/06/24 06:10:45 Using database: /home/coder/.config/filebrowser.db
Error: timeout

I believe what's happening is the following:

  • The coder agent and file browser are alive and well on the workspace
  • the coder server triggers an agent restart on the workspace
  • the agent startup script tries to start filebrowser with the previous process still running
  • Timeout error because the previous process has a lock on home/coder/.config/filebrowser.db

Not sure if I've misconfigured something, or if the file browser startup script needs to be tweaked to check for an existing process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions