A safe, repeatable procedure for upgrading a Docker Compose deployment to a new version, including a backup and a rollback path. This expands on the summary in the README.
Caution
Do not upgrade directly from a 0.6.x version to 0.7.x. Follow the dedicated
migration steps in MIGRATION.md (especially the v0.7.204
section) instead.
Open MIGRATION.md and read every section between your current
version and your target version. Some releases need config or service changes beyond
just bumping the image tag.
Always back up before upgrading. See backup-restore.md.
./backup.shNote the backup directory it prints (for example backups/huly-backup-20260630-141500);
you will need it if you have to roll back.
docker compose downgit pullEdit .env (or your config file) and update:
HULY_VERSIONto the target tag, for examples0.7.426.DESKTOP_CHANNELto the same value without the leadingv/s(for example0.7.426), if you use the desktop app.
Apply any additional changes called for in MIGRATION.md.
docker compose pull
docker compose up -ddocker compose ps # all expected services running
docker compose logs -f accountThen open the app, sign in, and confirm your workspaces and recent data are present. The search index may take a few minutes to rebuild after a restart.
-
Set
HULY_VERSION(andDESKTOP_CHANNEL) in your config back to the previous version. -
Restore the backup taken in step 2:
./restore.sh backups/huly-backup-<timestamp>
-
Bring the stack back up:
docker compose up -d