For the complete documentation index, see llms.txt. This page is also available as Markdown.

Upgrades

Back up, upgrade an IZ Suite installation to a newer release, and roll back if you need to.

Upgrading replaces the containers with the new release. The database is kept: the new server applies the release's database updates when it starts.

How Upgrades Work

  • Database updates run on start-up. They only add what the database does not have yet; they never reset or drop data.

  • A failed update stops the server. If an update fails, the server does not start on a half-updated database, and the data stays as it was.

  • Upgrades only go forward. The database records the release that last started on it, and an older server refuses to start on it. Going back to an earlier release needs the database backup.

  • Start the server first. Workers and agents follow once the server is healthy. On the proof-of-concept setup, the start script does this for you.

Upgrade a Proof of Concept Installation

From the installation folder:

cp .env .env.backup
docker compose exec -T postgres pg_dump -U izsuite -Fc izsuite > izsuite-before-upgrade.dump
./up.sh 26.4.2
docker compose logs -f falcon-server

When the logs show the new release and docker compose ps shows every service healthy, the upgrade is done.

To go back: stop the stack, put .env.backup back as .env, restore the dump and start the previous release:

docker compose up -d postgres
docker compose exec -T postgres pg_restore -U izsuite -d izsuite --clean --if-exists < izsuite-before-upgrade.dump
./up.sh <previous release>

Upgrade a Production Deployment

  1. Take a snapshot of the database.

  2. Set the new image tag and AGENT_JOB_TYPE_VERSION on the server, worker and agent services.

  3. Deploy the server, wait until it is healthy, then deploy the worker and the agents.

To go back, restore the snapshot to a new database and deploy the previous release against it.

Upgrading to 26.4.2

  • Set AGENT_JOB_TYPE_VERSION (for example 26.4.2) on every server and worker. The 26.4.2 server and worker do not start without it. The proof-of-concept start script sets it for you.

  • Content such as rule packs, standards and starter dashboards is added after start-up. Content that needs a licence waits until the licence is applied.

  • See the release notes for changes that affect existing data, such as quality gate results.

Next steps

Last updated

Was this helpful?