Upgrading and rolling back

Releases · ViswCA Governance Engine 2.0

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

  1. Download the new build from your product page and check its SHA-256.
  2. Keep the current version so you can go back:
    sudo systemctl stop viswca
    sudo cp -a /opt/viswca /opt/viswca.previous
  3. Unpack the new build over the old one - the data folders and uploads are 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
  4. 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

  1. Stop the service.
  2. 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.
  3. Start the service.