New upstream 27.0.2
This commit is contained in:
1
debian/nextcloud-server.postinst
vendored
1
debian/nextcloud-server.postinst
vendored
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user