diff --git a/conf/nginx-top.conf b/conf/nginx-top.conf index c3f4c0d6..6e01e3d5 100644 --- a/conf/nginx-top.conf +++ b/conf/nginx-top.conf @@ -7,6 +7,6 @@ ## your own --- please do not ask for help from us. upstream php-fpm { - server unix:/var/run/php/php8.0-fpm.sock; + server unix:/var/run/php/php8.1-fpm.sock; } diff --git a/management/backup.py b/management/backup.py index aae6c00b..34091601 100755 --- a/management/backup.py +++ b/management/backup.py @@ -296,7 +296,7 @@ def perform_backup(full_backup): if quit: sys.exit(code) - service_command("php8.0-fpm", "stop", quit=True) + service_command("php8.1-fpm", "stop", quit=True) service_command("postfix", "stop", quit=True) service_command("dovecot", "stop", quit=True) service_command("postgrey", "stop", quit=True) @@ -333,7 +333,7 @@ def perform_backup(full_backup): service_command("postgrey", "start", quit=False) service_command("dovecot", "start", quit=False) service_command("postfix", "start", quit=False) - service_command("php8.0-fpm", "start", quit=False) + service_command("php8.1-fpm", "start", quit=False) # Remove old backups. This deletes all backup data no longer needed # from more than 3 days ago. diff --git a/tools/owncloud-restore.sh b/tools/owncloud-restore.sh index 05d57641..6b3f3e92 100755 --- a/tools/owncloud-restore.sh +++ b/tools/owncloud-restore.sh @@ -26,7 +26,7 @@ if [ ! -f "$1/config.php" ]; then fi echo "Restoring backup from $1" -service php8.0-fpm stop +service php8.1-fpm stop # remove the current ownCloud/Nextcloud installation rm -rf /usr/local/lib/owncloud/ @@ -45,5 +45,5 @@ chown www-data:www-data "$STORAGE_ROOT/owncloud/config.php" sudo -u www-data "php$PHP_VER" /usr/local/lib/owncloud/occ maintenance:mode --off -service php8.0-fpm start +service php8.1-fpm start echo "Done"