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.
An upgrade script for internal use is provided since version 6.1 to speed up the process in case a manual migration is needed.
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.
Upgrade Matrix
The following table describes the upgrade path to a newer version of Portrait.
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.