New upstream 25.0.10

This commit is contained in:
2023-08-22 13:00:46 +02:00
parent 96bd1fc4a2
commit b42da85d98
3 changed files with 5 additions and 2 deletions

View File

@@ -43,6 +43,7 @@ case "$1" in
echo "After configure please run su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ config:system:set --value true upgrade.disable-web'"
elif [ "$(su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ status' | grep 'installed:' | cut -f2 -d ':' | xargs)" = "true" ]; then
su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ upgrade'
su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ db:add-missing-indices'
su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ config:system:set --value true upgrade.disable-web' > /dev/null || true
else
echo "Got unexpect answer, occ status can't to read satus of nextcloud. Check php installation."