Troubleshooting
Each entry here pairs a symptom with its documented cause and what to do about it. The causes come from the audited source, so where behavior beyond this is not documented, the entry says so rather than guessing. Exact error strings vary; treat the symptoms below as shapes, not quotes.
The server refuses to start or seems to ignore your config
Section titled “The server refuses to start or seems to ignore your config”Why it happens: The server binary looks for config.toml in its current directory and then in parent directories. If you started it from a folder with no config above it, or with a config somewhere it cannot see, startup fails or uses defaults. The manifest also lives in backend/, so cargo run only works from there - the repository root has no Cargo.toml.
What to do:
- Run the server from
backend/:cargo run. - Either place
config.tomlwhere the process can find it, or pointAUDIOLAND_CONFIGat the exact file. - Remember the Python toolkit is different: it expects
config.tomlat the root of the server repository.
The health check does not answer
Section titled “The health check does not answer”Why it happens. GET /api/health is the verification endpoint, at the address the server binds - by default http://127.0.0.1:3000. A failing check usually means the host or port is not what you think: the default bind is loopback only, so a check from another machine fails even when the server is healthy.
What to do.
- From the server itself:
curl http://127.0.0.1:3000/api/health. - Check
server_hostandserver_portinconfig.toml- they decide the bind address and port. - If you changed the port in config, use it in the health URL too.
The desktop app cannot reach the server
Section titled “The desktop app cannot reach the server”Why it happens. Two addresses have to agree: the server must listen on an address your desktop can route to, and the desktop must point at it. The desktop reads server_host and server_port from its own config.toml. A server bound to 127.0.0.1 answers on its own machine only, and a firewall in between blocks everything else.
What to do.
- On the server: set
server_hostto the machine’s LAN address if the desktop runs on a different computer. - On the desktop: set
server_host/server_portto that same LAN address and port. - On the server’s firewall: port
3000/tcpmust be allowed on the LAN - the Debian deploy script’s UFW configuration does this; a hand-rolled setup needs the rule itself.
Login stops working partway through
Section titled “Login stops working partway through”Why it happens. Sessions ride on two tokens: an HMAC-signed access token and a stored refresh token. The client refreshes automatically when a request comes back unauthorized, so ordinary expiry is invisible. Two things break that quietly: a session that got into a bad state, and a server-side change to [auth].secret - since every access token is signed with it, changing the secret invalidates all previously issued tokens at once.
What to do.
- Log out and in again to create a fresh session.
- If you just changed
auth.secreton the server, expect every existing login to stop validating - sign in again.
The scan finds nothing
Section titled “The scan finds nothing”Why it happens. The scan walks the folder from config.toml (scanner.music_root). The example config ships a Linux path meant for production deploys - /library/music - and a wrong or example-only path scans an empty (or nonexistent) tree. The toolkit also needs config.toml at the server repository root; run from elsewhere and it will not find your settings.
What to do.
- Point
music_rootat the real folder holding your original music files. - Run the scan from the repository root, where
config.tomllives:python scripts/scan_library.py --mode db.
New files, tags or lyrics do not show up
Section titled “New files, tags or lyrics do not show up”Why it happens. Nothing re-indexes on its own: no automatic reload of changed files is documented. The server reads data.db, and only a scan (or the pipeline, which writes the same database) changes what is in it.
What to do.
- Re-run the scan after changing files on disk, and re-run
scripts/autopipeline.pyfor enrichment. The enrichment guide covers the toolkit end to end.
Low, medium and high quality never play
Section titled “Low, medium and high quality never play”Why it happens. Those settings are Opus transcodes the server produces by running ffmpeg on your FLAC files. If ffmpeg is missing on the server, transcoding cannot happen - while source quality, which streams the original file untouched, does not need it.
What to do.
- Install
ffmpegon the server (the Debian deploy script includes it in its dependency list). - Play at
sourcequality in the meantime: that path still works withoutffmpeg.
The desktop dev window does not open
Section titled “The desktop dev window does not open”Why it happens. Running from source, the app window loads the Vite dev server at http://127.0.0.1:1420. Vite is configured with strictPort: if something already holds 1420, the dev server fails instead of quietly moving to another port - the window then never gets a UI to load.
What to do.
- Free port 1420 (close the other process, or the leftover dev server from a previous crashed run) and start again:
pnpm run tauri dev. - If you set
TAURI_DEV_HOSTfor device testing, remember HMR moves to 1421; that is expected, not a conflict.
Seeking skips or stutters in some players
Section titled “Seeking skips or stutters in some players”What this is. The server advertises support for range requests but currently returns the entire file when audio is requested. That makes seeking behave differently depending on how the client handles the response - a known behavior of the current build, not something you have broken.
What to do.
- Nothing to fix on your side. If seeking matters to you, note the player you are using; the constraint lives in the server’s streaming code.