Published: October 8, 2025
Last updated: July 24, 2026

Common issues and solutions for migration.

Database Migration Issues

Permission denied: Ensure the database file has correct ownership and permissions.

Fatal error creating tmp directory: Configure server.cacheDir in your config file and ensure filesystem permissions match.

Database locked: Ensure original FileBrowser instance is stopped.

User Migration Issues

Can’t log in with old credentials: Verify database migration was successful and database file has correct permissions. You can also reset via CLI if needed.

Permission changes (v2.0.0+)

Symptoms after upgrade:

  • WebDAV connects but folders are empty or files won’t open — user may have view without download, or lack view on that source.
  • User can browse but cannot upload/delete — check modify, create, or delete on the specific source in User Management, not only global flags.
  • API scripts that create users with top-level modify / create / delete — update payloads to use scopes[].permissions (see User Management).
  • Init scripts or userDefaults still list modify/create/delete — those values now apply as defaults for new scopes, not as ongoing global enforcement.

What migration does: Existing global file permissions are copied onto each user scope during database migration. Review scopes in User Management after upgrading — especially users with multiple sources, API tokens used for WebDAV, and automation that assumed global modify/delete.

Next Steps