1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-04-01 21:27:22 +02:00

Upgrade to php8.1 and upgrade old nextcloud versions using docker

This commit is contained in:
Downtown Allday
2023-10-21 07:35:01 -04:00
parent 28f929dc13
commit c0c0d053a4
6 changed files with 135 additions and 55 deletions

View File

@@ -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"