Upgrading¶
Before you upgrade¶
- Read the release history entry for the version you are moving to — configuration changes and upgrade notes are listed there.
- Back up
cache/and.env:
Upgrade¶
docker compose pull # fetch the new image
docker compose up -d # recreate the container
docker compose logs -f --tail=100
Or pin and switch explicitly:
What survives an upgrade¶
cache/ is untouched by the image: the database, the Spotify token, the secret key and
the caches are all there. An upgrade normally changes nothing on your side except the
version reported at startup.
Database changes require a manual step
This version has no automatic schema migration. Any release that changes the
database schema documents the required ALTER TABLE (and its rollback) in its
release notes. If you skip several versions, read every entry you skipped, oldest
first.
Roll back¶
docker compose stop spotisub
tar xzf spotisub-cache-2026-11-25.tar.gz -C /opt/spotisub
# edit image: back to the previous version
docker compose up -d
A rollback is only complete with the matching cache/ backup, because a newer version
may have written rows an older one does not understand.
Which version am I running?¶
The version is printed in the startup banner and logged:
Image tags, platforms and digests for every release are listed in the release history.
Upgrading from 0.3.6 or older¶
devimages are rebuilt on every push and are not a release channel for production.create_tag.shanddocker-compose.tag.ymlno longer exist: releases are built only by GitHub Actions.- The base image moved from Debian bullseye to bookworm; nothing changes for users.