From 967aa4c03b71c6662eb0246d15363fd6d9978b36 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Mon, 19 Feb 2024 08:43:01 -0800 Subject: [PATCH] updated fix for nextcloud 28.0.2 --- file_fixes_and_new_services/nextcloud_maintenance_window_fix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file_fixes_and_new_services/nextcloud_maintenance_window_fix.sh b/file_fixes_and_new_services/nextcloud_maintenance_window_fix.sh index 2f52041..e471251 100644 --- a/file_fixes_and_new_services/nextcloud_maintenance_window_fix.sh +++ b/file_fixes_and_new_services/nextcloud_maintenance_window_fix.sh @@ -34,7 +34,7 @@ FILE=/var/lib/beacons/file_fixes_and_new_services/nextcloud_maintenance_window_f #### MAIN SCRIPT #### -sudo -u caddy php /var/lib/www/nextcloud/occ config:system:set maintenance_window_start --type=integer --value=1 +/run/wrappers/bin/sudo -u caddy php /var/lib/www/nextcloud/occ config:system:set maintenance_window_start --type=integer --value=1 if [[ $? != 0 ]]; then