Upgrade
Apply a new repository version and its pending migrations.
Before the upgrade
- Read the release changes.
- Record the current commit or tag.
- Back up the database and uploaded files.
- Test the restore process.
- Schedule an acceptable service window.
Apply the version
git pull
docker compose -f deploy/docker-compose.yml up -d --buildIn image mode, change CIELE_IMAGE_TAG in deploy/.env to the new release and
apply it instead:
docker compose up -dOn Ciele Desktop, updating the application performs this step: each build pins the images matching its own version.
The migrate service applies only pending migrations. Inspect its result before you accept the application as healthy.
With an external database, the same command applies the pending migrations to your managed Postgres. The provision service runs first and confirms the roles and schemas. Take a provider snapshot before the upgrade.
docker compose -f deploy/docker-compose.yml ps
docker compose -f deploy/docker-compose.yml logs migrate
docker compose -f deploy/docker-compose.yml logs appVerify the result
- Sign in to the administrator console.
- Open one Assistant.
- Test Preview.
- Open one published widget.
- Call
GET /api/v1/metawhen programmatic clients are in use.
Do not restore an old application image against an incompatible migrated database. Use the release instructions for a supported rollback path.