Upgrading and rolling back
Upgrades keep all your data, settings, licence and keys. Database tables are upgraded automatically when the new version starts.
Before you start
- Read the release notes of the new version.
- Take a backup: Enterprise › Platform › Backups › Back up now, or copy the folders listed in Backup and restore. With PostgreSQL also run
pg_dump. - Plan a short maintenance window - the service is stopped for about a minute.
Linux server
- Download the new build from your product page and check its SHA-256.
- Keep the current version so you can go back:
sudo systemctl stop viswca sudo cp -a /opt/viswca /opt/viswca.previous - Unpack the new build over the old one - the
datafolders anduploadsare not in the archive, so they are kept:sudo tar -xzf viswca-governance-engine-NEW-linux-x64.tar.gz -C /opt/viswca --strip-components=1 sudo chown -R viswca:viswca /opt/viswca sudo systemctl start viswca journalctl -u viswca -n 50 - Check
https://iga.yourcompany.com/healthz, sign in, and open the dashboard, Activities and one workflow.
Docker
docker pull <registry>/viswca-governance-engine:NEW
docker stop viswca && docker rm viswca
docker run -d --name viswca --hostname iga01 ... <registry>/viswca-governance-engine:NEW # same volumes and options as before
Several servers
Upgrade one server at a time is not supported across versions that change the database: stop all servers, upgrade and start one, check it, then upgrade and start the others.
Rolling back
- Stop the service.
- Restore the backup taken before the upgrade (the database may already have the new layout), then put the previous program back:
sudo rm -rf /opt/viswca && sudo mv /opt/viswca.previous /opt/viswca. - Start the service.
