With this new release, we run the service differently. We have one openpetra Mono service, and can run multiple database instances on that service.
Here are quick&dirty instructions, that I followed to upgrade my servers:
- fix nginx conf file from the outside, change port of service from 8xxx to 7xxx, reload nginx
Inside the container:
first stop all openpetra services: systemctl stop op_123456
cd OpenPetraScripts/openpetra && git pull
fix the /etc/nginx/conf.d files, change the port from 8xxx to 7xxx, change the port in fastcgi_pass to 6700, update the subfilter to sub_filter 'http://op123456.openpetra.com/api' 'https://op123456.openpetra.com/api';
systemctl reload nginx
fix /home/op_123456/etc/PetraServerConsole.config, drop the line with Server.Port, and drop the lines at the bottom (system.web)
fix /home/op_123456/etc/PetraServerAdminConsole.config, replace the port
./update.sh
systemctl restart openpetra
export userName=op_123456
chown -R $userName:openpetra /home/$userName
chmod g+r -R /home/$userName
chmod g+rx /home/$userName
chmod g+rwx /home/$userName/log
chmod g+rwx /home/$userName/tmp
chmod g+rwx /home/$userName/backup
./update.sh all