Updates in this release - 23.4.0
Upgrade to 23.3.0 or 23.3.1 before 23.4.0 mandatory
Version 23.3.0 introduced a safer and more robust upgrade mechanism. In 23.4.0, this mechanism is leveraged to perform a sensitive operation that will keep the data in a more reliable and better-performing state. To upgrade 23.4.0 is therefore necessary to upgrade to 23.3.0 or 23.3.1 first.
psql -U n2os-dbms scadaguardian -c '\l+ scadaguardian'
Verify that the sensor's disk has enough free space to host a full copy of
that size using the command df -h /data.
Rollback from 23.4.0 to previous version
Due to a fundamental change in the system to improve security and ensure data safety, a rollback from version 23.4.0 to the previously installed version could present some technical difficulties if performed under certain circumstances. Under normal conditions it is prudent to backup a sensor prior to a version upgrade. During this upgrade, it is strongly recommeded to do so. In case of the need for a rollback after the installation, this functionality is provided in a best-effort fashion. Should the rollback procedure encounter unexpected difficulties, a fresh installation of the previously installed version followed by the restore of the backup will reestablish the previously working setup with the data intact.
Upgrade instructions for Container Edition
docker exec -u 0 <CID> bash -c "pg_dump scadaguardian -U n2os-dbms | gzip -9 > /data/dump-upgradev"
where <CID> is the ID of the running container.
When this command returns, stop the container running version 23.3.0 or 23.3.1
and start the container on version 23.4.0.
The upgrade will complete automatically.
If this command is not run manually, the upgrade will fail. No
data loss will occur, but the container will not start.