Migrate your configuration from the original FileBrowser to Quantum.

Configuration Format Changes

FileBrowser Quantum uses a YAML-based configuration file instead of command-line flags and database settings.

Migration Process

1. Export Current Settings

If you are running original FileBrowser, note your current settings:

# Check command-line flags
ps aux | grep filebrowser

# Common flags to note:
# --port, --address, --baseurl, --database, --root

also reference your config.json

2. Create config.yaml

Create a new config.yaml file with your settings:

server:
  port: 8080
  baseURL: "/"
  database: "/database/database.db"
  sources:
    - name: "files"
      path: "/srv"

auth:
  methods:
    passwordAuth:
      enabled: true

userDefaults:
  permissions:
    modify: true
    share: true

3. Map Old Flags to New Config

Original FlagQuantum Config
--portserver.port
--addressserver.address
--baseurlserver.baseURL
--databaseserver.database
--rootserver.sources[0].path
--logserver.logging[0].levels

Features Removed

The following features from original FileBrowser are not available in Quantum:

  • Terminal - Removed for security
  • Runners - Removed (to be replaced with better job system)
  • Command line user management - Use config file or API

Docker Migration

Update your docker-compose.yml:

Original:

environment:
  - FB_PORT=8080
  - FB_BASEURL=/
  - FB_DATABASE=/database.db

Quantum:

volumes:
  - ./config.yaml:/config.yaml
command: ["-c", "/config.yaml"]

Next Steps