Install new base images
- With internet connection: 'docker login harbor3.piplanning.io'
- Without internet connection: Ask Rentouch for the images and then do a 'docker load -i <images-tar-file>'
Update PI-Server config files
On the host-system download the newest version (checkout https://binaries.rentouch.ch/on-premise to see all versions) of the PI-Server docker archive and extract it:
wget https://s3.eu-central-1.amazonaws.com/static-piplanning/releases/on-premise/pi-server-docker_2.8.3.tar
mkdir -p pi-server-docker_2.8.3 && tar -xf pi-server-docker_2.8.3.tar -C pi-server-docker_2.8.3
cd pi-server-docker_2.8.3
Run the updater. You have to pass the path to your PI-Server folder (which contains the docker-compose and all the data) as the first argument.
python update.py /path/to/my/pi-server/installation
When the migration to the newest version is finished restart the pi-server by
cd /path/to/my/pi-server/installation
./install.sh
As a last step: You can clean up by removing the installer
rm pi-server-docker_2.8.3.tar pi-server-docker_2.8.3