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.zip and access to the folder of your installation.
  1. Make a backup

    Back up the PostgreSQL® database (the Docker volume, or your own database server) and keep a copy of .env.
  2. Unzip the new package over the old folder

    Unzip it over the existing fhir-suite-docker folder, so that your .env and data folder stay where they are.
  3. Rebuild and start

    docker compose up -d --build
    Run it in the fhir-suite-docker folder. With Spark, add --profile spark.
  4. Check the result

    Run docker 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.
Tipdocker 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.