Upgrades and Releases
Treat Manor AI upgrades like application releases with database migrations: back up first, apply, verify, and keep a rollback path.
Recommended Flow
- Read the release notes /
CHANGELOG.mdfor the range you are jumping. - Back up PostgreSQL, MinIO, and Redis
/1together (Backup and Restore). - Pull the new source.
- Rebuild images and restart the stack — migrations apply on API startup.
- Watch API and worker logs until healthy.
git pull
docker compose up --build -d
docker compose logs api --tail=200
docker compose logs worker --tail=200
- Verify: sign in, open a workspace, run a quick agent chat, and check
GET /health/deepreturns healthy.
The api, worker, and worker-work services share one image; Compose
rebuilds it once and recreates all three. Both workers must come back up —
scheduling lives in worker, long plan steps in worker-work.
Rollback
Rollback difficulty depends on whether migrations were applied:
- No schema change: check out the previous version and
docker compose up --build -d. - Schema changed: restore the pre-upgrade database (and object storage) backup, then start the previous version. Do not run an older application against a newer schema.
Always keep the backup from immediately before the upgrade so database and object storage can be restored together.
Version Tags
Public releases are published from Git tags. The release workflow creates
GitHub release notes for tags matching v*. Tracking main between tags is
possible but treat it as a rolling release: read recent commit messages for
migration-bearing changes before upgrading.