Upgrades
A community server upgrade is a newer Docker image and a restart. Schema migrations run by themselves when the server starts, so there is no separate migration step.
Before you start
Section titled “Before you start”Take a fresh database dump and a copy of the data and uploads volumes, as described in Backup and restore. A migration cannot be undone by going back to the older image.
Upgrade the bundle
Section titled “Upgrade the bundle”From the community-server folder:
docker compose pulldocker compose up -dThis pulls karolrzotki/tusile-community-server:latest and the other images, then recreates whatever changed. Your volumes are kept. Run it from the same folder and .env you installed with, and never change COMPOSE_PROJECT_NAME: it prefixes every volume name, so a different value starts the stack on new, empty volumes.
Running the image without the bundle? The commands are on the Docker image page.
Pin a release
Section titled “Pin a release”Every app release is also published as its own image tag, such as karolrzotki/tusile-community-server:0.7.0. To stay on one version instead of following latest, change the image: line of the community-server service in docker-compose.yml to that tag, then run docker compose up -d. Move the tag forward when you are ready to upgrade.
Bundles from before 2 September 2026: set your LiveKit keys
Section titled “Bundles from before 2 September 2026: set your LiveKit keys”If docker compose up -d now stops with:
required variable LIVEKIT_API_KEY is missing a valueyour .env never got a LiveKit key pair. Older bundles started anyway on a built-in demo pair that was published in our own documentation, so anyone who knew you ran Tusile could join your voice channels unseen. There is no default any more.
Generate a pair:
docker run --rm livekit/livekit-server generate-keysPut it in .env:
LIVEKIT_API_KEY=APIxxxxxxxxxxxxLIVEKIT_API_SECRET=<the printed secret>Then run docker compose up -d. Re-running setup.sh or setup.ps1 does the same for you. Only voice is affected: text chat, accounts and uploads are untouched. If your .env already has a real key pair, none of this applies to you.
Upgrade the Postgres major version
Section titled “Upgrade the Postgres major version”The bundle runs postgres:16-alpine. Moving to a new major version (16 to 17, for example) is not a tag change: the new version cannot read the old one’s data directory.
- Dump the database with the old version running (see Backup and restore).
- Start the new major version on a new, empty volume.
- Restore the dump into it.
- Point Compose at the new volume and start the stack.
Try it on a copy of your setup first.