...
Optional: Backup your data (see section below).
Stop the Docker Containers
Code Block docker-compose down
Change the version in docker-compose.yml to whatever version you are upgrading to for the image apiida/aagm.
Upgrade the Docker images with
Code Block docker-compose pull
Restart the Docker containers
Code Block docker-compose up -d
Note |
---|
If you set the user that runs the container to www-data you have to change it to apache starting with Summer 20 H2. Also check if the persistent volume /opt/aagm is owned by apache:apache as well! |
Updating the APIIDA Solution Kit
...
All persistent data is stored in the folders folder /opt/aagm / and /var/lib/docker/volumes/aagm_aagmdb-vol/_data/. Please back up these two folderswithin the image. If you use our default docker-compose file this directory is mapped to a value with the name “aagm-vol”. See the Docker documentation on how to backup a volume.