From 0c886e2875e9ad3d4a17e7a911a7a189f8eeb3df Mon Sep 17 00:00:00 2001 From: Steve Hay Date: Mon, 12 Sep 2022 20:45:47 -0400 Subject: [PATCH] missed a place where read only config had to be set false. --- setup/nextcloud.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup/nextcloud.sh b/setup/nextcloud.sh index 073967eb..df6be861 100755 --- a/setup/nextcloud.sh +++ b/setup/nextcloud.sh @@ -289,6 +289,9 @@ hide_output sudo -u www-data php$PHP_VER /usr/local/lib/owncloud/console.php app sudo -u www-data php$PHP_VER /usr/local/lib/owncloud/occ upgrade if [ \( $? -ne 0 \) -a \( $? -ne 3 \) ]; then exit 1; fi +# Turn off read only in case it wasn't turned off before. +sed -ie '/config_is_read_only/d' $STORAGE_ROOT/owncloud/config.php + # Disable default apps that we don't support sudo -u www-data \ php$PHP_VER /usr/local/lib/owncloud/occ app:disable \ @@ -296,6 +299,7 @@ sudo -u www-data \ notifications files_pdfviewer password_policy systemtags comments \ privacy recommendations files_rightclick sharebymail support text \ theming survey_client user_status weather_status files_videoplayer \ + contactsinteraction \ | (grep -v "No such app enabled" || /bin/true) # Update config.php.