Updates, backups and troubleshooting

Kolumi Server keeps everything in one folder. Back it up, update with two commands, and look at the log and the Services page when something is off.

On this page

Updates

Terminal, next to compose.yaml
docker compose pull
docker compose up -d

Database changes run on their own at start. The tag latest always points to the newest build; if you would rather decide when to update, use a version tag such as 1.2 or 1.2.3 in compose.yaml.

The app and the server don’t have to be updated at the same time. If the server doesn’t know a feature yet, the app simply doesn’t show it.

Backups

Back up the data folder. It holds:

  • kolumi.db with kolumi.db-wal and kolumi.db-shm: households, people, rules, shelves, wishes, playlists and devices.
  • secret.key, unless you set KOLUMI_SECRET_KEY. Without this key, the secrets and tokens in the database can’t be used anymore, and every device has to be connected again. If you set KOLUMI_SECRET_KEY, keep it with your backup.

The database runs in WAL mode, so copy it while Kolumi Server is stopped, or let SQLite make a consistent copy while it runs:

Short stop
docker compose stop kolumi-server
cp -a data /backup/kolumi-data-$(date +%F)
docker compose start kolumi-server
While running (needs sqlite3 on the host)
sqlite3 data/kolumi.db ".backup data/kolumi-backup.db"

Then back up kolumi-backup.db together with secret.key, for example with your existing backup tool.

Restore: stop Kolumi Server and put the files back into data. A copy made with .backup becomes kolumi.db again; delete any old kolumi.db-wal and kolumi.db-shm next to it. Check the owner of the files, then start again.

Not in this folder: your audiobooks and music, the accounts and progress inside Audiobookshelf and Navidrome (back up their own data folders), and downloads on the phones.

Log and status

  • docker compose logs -f kolumi-server shows the log as JSON. For more detail, set KOLUMI_LOG_LEVEL=debug. Passwords and tokens never appear in it.
  • /healthz answers without sign-in. The image has a built-in health check, so docker ps shows whether the container is healthy.
  • The Services page in the web interface shows for Audiobookshelf, Navidrome and SSO whether they are reachable, which version runs, whether the rights are sufficient and what is missing.

Common problems

The container stops right away, and the log says the data folder is not writable.
The folder mounted as /data has to belong to the user the container runs as: sudo chown -R 1000:1000 data for user: "1000:1000".
The log names KOLUMI_SIGNUP at start.
The value must be sso, invite or closed.
There is no admin token in the log.
Kolumi Server writes it only while nobody is admin. Once someone signed in with it, admins sign in with SSO or a sign-in code; a manager creates one in the app.
Services says Navidrome doesn’t accept the header.
Check that ND_EXTAUTH_USERHEADER on Navidrome and ND_USER_HEADER on Kolumi Server have the same name, and that ND_EXTAUTH_TRUSTEDSOURCES contains the address Kolumi Server connects from. Restart Navidrome after changing it.
Navidrome answers with error 429 when signing in.
Navidrome allows only a few sign-ins in a short time. Kolumi Server waits and tries once more; avoid restarting it several times in a row.
New music shows up only after minutes.
Look for “Watcher started” in Navidrome’s log. If it is missing, the watcher is off (ND_SCANNER_WATCHERWAIT=0) or the disk doesn’t report changes, as with network and FUSE mounts.
Someone can’t see a library, or an account is missing.
Web interface, Households → Sync accounts. It creates missing accounts and writes the rights again. Also check who each library is for under Libraries.
A wish doesn’t move on.
Open it in the web interface under Wishes; the log of the wish says where it stands. See wishes.
The web interface says the SSO provider isn’t answering.
Kolumi Server has to reach KOLUMI_OIDC_ISSUER from inside the container. Test it from the Docker host, and check DNS inside Docker.
The web interface says there is no household for this account yet.
Sign in with the app first and create a household or accept an invitation there; then the web interface works too.
The app can’t reach the server.
Open KOLUMI_PUBLIC_URL plus /healthz in the phone’s browser. If that fails too, it’s the network, DNS or the proxy, not the app. More in questions and troubleshooting.

Something wrong or missing on this page? Write to hello@kolumi.app.