Linux (v2.0.0)
This guide is for v2.0.x (stable). Download a stable release from GitHub (or use beta for v2.1.x previews).
Upgrading from v1.x?
v2.0.0 requires a config update and one-time database migration. See the v2 migration guide before upgrading.
Run FileBrowser Quantum v2.0.x (stable) natively on Linux using the binary releases.
Download
Download the stable binary for your architecture from the releases page, or fetch the latest stable amd64 build:
Set FB_BIN to the asset you downloaded (linux-arm64-filebrowser, linux-armv7-filebrowser, linux-riscv64-filebrowser, and so on).
Make Executable
| |
Optional: Install FFmpeg
Create Configuration
Interactive setup (writes config.yaml in the current directory; default source is often ./ — use an absolute path you intend to share):
| |
Or create config.yaml manually:
v2.0.0 and later read the listen port from http.port. A server.port key is rejected at startup.
For a foreground trial run, create a source directory you own (for example under your home directory) or use a path your user can read. For systemd, create /srv/files and set ownership in Step 1 below.
Port 80 requires root or CAP_NET_BIND_SERVICE when running as an unprivileged user — using 8080 avoids that for quick tests.
Run FileBrowser
| |
Access at http://localhost:8080 (or your http.port). Watch the same terminal for a log line containing initial admin password (do not start a second FileBrowser process to grep for it).
First login
When auth.adminPassword and FILEBROWSER_ADMIN_PASSWORD are unset, a random password is logged once in the server output and first login requires a password change.
- Read the password from the terminal where you ran
./"$FB_BIN" -c config.yaml, or from systemd logs after service start:
| |
- Values other than empty or
admininauth.adminPassword/FILEBROWSER_ADMIN_PASSWORDare reapplied every restart — remove after setup if the UI should own password changes. adminas the configured password is treated as unset (random password + forced reset).
Recovery (stop the running server first):
| |
The default SQLite file is ./filebrowser.sqlite in the process working directory unless server.database.path or FILEBROWSER_DATABASE_PATH is set.
Run as Systemd Service
Step 1: Create user and directories
Step 2: Install binary and config
Ensure config.yaml uses path: /srv/files (or another path readable by filebrowser).
Step 3: Create service file
Create /etc/systemd/system/filebrowser.service:
| |