Skip to content

Upgrading

Upgrades are a version bump and a restart. Migrations run automatically before the application starts, and upgrading from any earlier published release is supported.

Some migrations cannot be rolled back without restoring the database. Take a dump before you change the version:

docker compose exec db pg_dump -U app -Fc app > pre-upgrade.dump

See Backups for the automatic timer and the restore procedure.

# in .env
CONATUS_VERSION=1.2.1
docker compose pull
docker compose up -d

CONATUS_VERSION must match a published release image tag without the leading v. GitHub release v1.2.1 is CONATUS_VERSION=1.2.1. Releases are listed at github.com/nojusmorkunas/conatus/releases.

Pin a real version rather than leaving latest in place on anything you care about. Stable releases update latest and latest-ops, so using either would make the next unrelated docker compose up -d an upgrade.

Compose runs the migrate job from the -ops image and waits for it to finish successfully before starting app. If a migration fails, the app does not start on a half-migrated database. Read the logs, restore the dump and report it:

docker compose logs migrate

CONATUS_MCP_VERSION tracks conatus-mcp, which is released on its own schedule. Bumping CONATUS_VERSION does not move it, and it does not need to move in lockstep. See MCP server.

Release notes are published with each GitHub Release.