Skip to content

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.

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.

From the community-server folder:

Terminal window
docker compose pull
docker compose up -d

This 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.

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 value

your .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:

Terminal window
docker run --rm livekit/livekit-server generate-keys

Put it in .env:

LIVEKIT_API_KEY=APIxxxxxxxxxxxx
LIVEKIT_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.

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.

  1. Dump the database with the old version running (see Backup and restore).
  2. Start the new major version on a new, empty volume.
  3. Restore the dump into it.
  4. Point Compose at the new volume and start the stack.

Try it on a copy of your setup first.