Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Depending on the specific version, you can simply upgrade Portrait by setting the new version in the docker-compose file. Other migrations need some form of manual migration.

...

Minor and Hotfix / Patch Upgrades

For Minor and Hotfix / Patch Upgrades (https://semver.org/lang/de/) it is enough to replace the docker container with the newer version. Be sure to check out the Release Notesfor whats new.

Procedure

  1. Please make a backup of your entire configuration this may include the following files. You can download the entire folder directly via <yourInstance.com>/config by rightclick on a folder and select download.

  2. Shut down the portrait instance via docker-compose down. (stop is not enough)

  3. Update the .env file to use the latest version:
    Example: (use the latest Minor version that is available) see https://install.portrait.app/ for all versions

    Code Block
    BACKEND_TAG=7.0.0
    FRONTEND_TAG=7.0.0
    PYTHON_RUNTIME_TAG=7.0.0

Make sure to always use the same versions for all components!

  1. Startup the instance via docker-compose up -d

A general rule for how releases are handled can be found here: https://portrait.atlassian.net/wiki/spaces/PA/blog/2022/10/20/844595201/Release+Strategy#Version-Pattern.

Major Version Upgrade Matrix

Upgrade from 6.x to 7.x

...

7.X

...

6.X

...

Upgrade with this Guide Migrate to 7.X - Reisalple

Upgrade from 4.X/5.X to 6.X

The following table describes the upgrade path to a newer version of Portrait.

Note

Please note that you can not skip major version upgrades.
Example: Upgrade from 5.0.0 to 6.1.0 will require a update to 6.0.2 beforehand.

...

6.0.2

...

6.1.0

...

4.x

...

Major Upgrades have breaking changes that could require you to manually update your configuration (application-prod.yml) and docker compose (docker-compose.yml). Check the Migration Guides and Release Notes for more details.

5.x

see

From

To

4.X

5.X

no upgrade path - go directly to 6.X

4.X

6.X

Migrate to 6.x - Schöpfl

Upgrade to 6.0.2
with this installer

5.X

6.X

Migrate to 6.x - Schöpfl

Upgrade to

6.

0

X

7.

2
with this installer

6.0.2

-

Use upgrade.sh from this installer

X

Migrate to 7.X - Reisalple