SORMAS-Foundation / SORMAS-Project

SORMAS (Surveillance, Outbreak Response Management and Analysis System) is an early warning and management system to fight the spread of infectious diseases.
https://sormas.org
GNU General Public License v3.0
293 stars 143 forks source link

Update Test-Environment to 1.98 and check compatibility #13153

Open markusmann-vg opened 1 month ago

markusmann-vg commented 1 month ago

Problem Description

We are aiming to deliver a SORMAS Release 1.99 by the end of October, including all the changes and improvements we made for Luxembourg in September and October. Besides that we are aiming for having RSV

Proposed Solution

update to 1.98 merge pull requests check and solve possible merges conflicts check E-Santé Adapter compatibility Smoke testing

Additional Information

No response

cazacmarin commented 1 month ago

In order to perform upgrade is needed:

  1. Backup the DB. As we cannot backup it from created user, we can log in with root: a) sudo su - postgres and b) pg_dumpall > all_pg_dbs.sql

  2. The backup will be created in the folder: /var/lib/postgresql - take it and save it in another location.

  3. a) cd /root/deploy/sormas b) SORMAS_VERSION=1.98.0 c) wget https://github.com/sormas-foundation/SORMAS-Project/releases/download/v${SORMAS_VERSION}/sormas_${SORMAS_VERSION}.zip d) unzip sormas_${SORMASVERSION}.zip e) mv deploy/ $(date +%F) f) rm sormas${SORMAS_VERSION}.zip

  4. Navigate to the folder containing the unzipped deploy files: cd /root/deploy/sormas/$(date +%F)

  5. Make the update script executable: chmod +x server-update.sh

  6. Execute the update script and follow the instructions: ./server-update.sh

  7. If anything goes wrong, open the latest update log file (by default located in the "update-logs" folder in the domain directory) and check it for errors.