diff --git a/scripts/install b/scripts/install index 5bb2286..035731f 100755 --- a/scripts/install +++ b/scripts/install @@ -106,6 +106,9 @@ _exec_occ maintenance:install \ --data-dir "$DATADIR" \ || ynh_die "Unable to install Nextcloud" +# Ensure that UpdateNotification app is disabled +_exec_occ app:disable updatenotification + # Enable plugins and set Nextcloud configuration _exec_occ app:enable user_ldap _exec_occ ldap:create-empty-config diff --git a/scripts/upgrade b/scripts/upgrade index 855f3b7..bed84c6 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -149,6 +149,9 @@ _exec_occ maintenance:mode --off _exec_occ upgrade \ || ([[ $? -eq 3 ]] || ynh_die "Unable to upgrade Nextcloud") +# Ensure that UpdateNotification app is disabled +_exec_occ app:disable updatenotification + # Enable plugins and set Nextcloud configuration _exec_occ app:enable user_ldap _exec_occ config:import "$nc_conf"