Documentation / How to: get started
How to update to a new version without losing data
Install a newer Docker package over the old one and keep your settings and data.
Before you start
- Who
- IT staff.
- You need
- The new
fhir-suite-docker.zipand access to the folder of your installation.
Make a backup
Back up the PostgreSQL® database (the Docker volume, or your own database server) and keep a copy of.env.Unzip the new package over the old folder
Unzip it over the existingfhir-suite-dockerfolder, so that your.envanddatafolder stay where they are.Rebuild and start
Run it in thedocker compose up -d --buildfhir-suite-dockerfolder. With Spark, add--profile spark.Check the result
Rundocker compose ps, sign in and check the home page: every data source should be green or grey as before.
CarefulKeep
SECRETS_KEY in .env the same: it encrypts the stored passwords of data sources and servers. With another key they can no longer be read.Tip
docker compose down stops the suite and keeps the data; docker compose down -v also removes the database. Use the second only when you want to start from nothing.