mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
disable integrity check temporarily
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
9ccd6949ce
commit
82a53ab139
1 changed files with 3 additions and 0 deletions
|
|
@ -12,6 +12,8 @@ directory_empty() {
|
||||||
|
|
||||||
run_upgrade_if_needed_due_to_app_update() {
|
run_upgrade_if_needed_due_to_app_update() {
|
||||||
if php /var/www/html/occ status | grep needsDbUpgrade | grep -q true; then
|
if php /var/www/html/occ status | grep needsDbUpgrade | grep -q true; then
|
||||||
|
# Disable integrity check temporarily until next update
|
||||||
|
php /var/www/html/occ config:system:set integrity.check.disabled --type bool --value true
|
||||||
php /var/www/html/occ upgrade
|
php /var/www/html/occ upgrade
|
||||||
php /var/www/html/occ app:enable nextcloud-aio --force
|
php /var/www/html/occ app:enable nextcloud-aio --force
|
||||||
fi
|
fi
|
||||||
|
|
@ -354,6 +356,7 @@ DATADIR_PERMISSION_CONF
|
||||||
else
|
else
|
||||||
touch "$NEXTCLOUD_DATA_DIR/update.failed"
|
touch "$NEXTCLOUD_DATA_DIR/update.failed"
|
||||||
echo "Upgrading nextcloud from $installed_version to $image_version..."
|
echo "Upgrading nextcloud from $installed_version to $image_version..."
|
||||||
|
php /var/www/html/occ config:system:delete integrity.check.disabled
|
||||||
if ! php /var/www/html/occ upgrade || ! php /var/www/html/occ -V; then
|
if ! php /var/www/html/occ upgrade || ! php /var/www/html/occ -V; then
|
||||||
echo "Upgrade failed. Please restore from backup."
|
echo "Upgrade failed. Please restore from backup."
|
||||||
bash /notify.sh "Nextcloud update to $image_version failed!" "Please restore from backup!"
|
bash /notify.sh "Nextcloud update to $image_version failed!" "Please restore from backup!"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue