2.8.0 Update from an earlier version to this version
Updating PI-Server
Backup all the important data to make sure you can roll back
Do a backup as described here: 2.8.0 Backup
When updating from a version < 2.7.0, please read trough these notes carefully.
Update Docker images
If your server has a connection to the internet:
Request a login (username and password) for the Rentouch-Docker-Hub from Rentouch if you do not already have one.
docker login harbor3.piplanning.ioIf your server does not have a connection to the internet:
Install the updated offline installable images
Request a download link from rentouch for the updated .tar archived docker images.
Move the .tar archive to the server on which you are installing pi-server.
Input the command: (this may take a few minutes..)
docker load -i pi-server-images_2.8.0.tarUpdate 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.0.tar
mkdir -p pi-server-docker_2.8.0 && tar -xf pi-server-docker_2.8.0.tar -C pi-server-docker_2.8.0
cd pi-server-docker_2.8.0Run 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/installationWhen the migration to the newest version is finished restart the pi-server by
cd /path/to/my/pi-server/installation
./install.shAs a last step: You can clean up by removing the installer
rm pi-server-docker_2.8.0.tar pi-server-docker_2.8.0Possible failure of FA
If you run into the error showed above (500 Internal Server Error) after the first start. Solution: Start the server once again:
./install.sh