From 20d631b600e6eb59146d3b71e85c974348709dbe Mon Sep 17 00:00:00 2001 From: szaimen Date: Sat, 29 Jan 2022 22:29:15 +0100 Subject: [PATCH] fix removing the updatenotification app for old instances Signed-off-by: szaimen --- Containers/nextcloud/entrypoint.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Containers/nextcloud/entrypoint.sh b/Containers/nextcloud/entrypoint.sh index 899b8d08..96b0d1b5 100644 --- a/Containers/nextcloud/entrypoint.sh +++ b/Containers/nextcloud/entrypoint.sh @@ -97,6 +97,11 @@ if ! [ -f "/mnt/ncdata/skip.update" ]; then fi php /var/www/html/occ app:update --all + + # Fix removing the updatenotification for old instances + if [ -d "/var/www/html/apps/updatenotification" ]; then + php /var/www/html/occ app:disable updatenotification + fi fi echo "Initializing nextcloud $image_version ..."