From 8d7f6bfb19787a790bd186a15ed1a6ca72da7b24 Mon Sep 17 00:00:00 2001 From: David Duque Date: Mon, 13 Apr 2020 00:55:48 +0100 Subject: [PATCH] Change all occurrences of PHP 7.2 to PHP 7.3 --- conf/nginx-top.conf | 2 +- management/backup.py | 4 ++-- tools/owncloud-restore.sh | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/conf/nginx-top.conf b/conf/nginx-top.conf index 4d888366..435b5f7b 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/php7.2-fpm.sock; + server unix:/var/run/php/php7.3-fpm.sock; } diff --git a/management/backup.py b/management/backup.py index e1651552..1bec8638 100755 --- a/management/backup.py +++ b/management/backup.py @@ -247,7 +247,7 @@ def perform_backup(full_backup): if quit: sys.exit(code) - service_command("php7.2-fpm", "stop", quit=True) + service_command("php7.3-fpm", "stop", quit=True) service_command("postfix", "stop", quit=True) service_command("dovecot", "stop", quit=True) @@ -281,7 +281,7 @@ def perform_backup(full_backup): # Start services again. service_command("dovecot", "start", quit=False) service_command("postfix", "start", quit=False) - service_command("php7.2-fpm", "start", quit=False) + service_command("php7.3-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 4b0ba4de..27fe1f38 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 php7.2-fpm stop +service php7.3-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 /usr/local/lib/owncloud/occ maintenance:mode --off -service php7.2-fpm start +service php7.3-fpm start echo "Done"