From cc234c2cab228c70c49350c99e18a97935c6140a Mon Sep 17 00:00:00 2001 From: KiekerJan Date: Sat, 12 Jun 2021 09:52:37 +0200 Subject: [PATCH] add notes app to nextcloud --- setup/nextcloud.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup/nextcloud.sh b/setup/nextcloud.sh index 33149227..2eacf35c 100755 --- a/setup/nextcloud.sh +++ b/setup/nextcloud.sh @@ -307,6 +307,7 @@ hide_output sudo -u www-data php /usr/local/lib/owncloud/console.php app:disable hide_output sudo -u www-data php /usr/local/lib/owncloud/console.php app:enable user_external hide_output sudo -u www-data php /usr/local/lib/owncloud/console.php app:enable contacts hide_output sudo -u www-data php /usr/local/lib/owncloud/console.php app:enable calendar +hide_output sudo -u www-data php /usr/local/lib/owncloud/console.php app:install notes # When upgrading, run the upgrade script again now that apps are enabled. It seems like # the first upgrade at the top won't work because apps may be disabled during upgrade? @@ -316,6 +317,10 @@ if [ \( $? -ne 0 \) -a \( $? -ne 3 \) ]; then exit 1; fi # Disable default apps that we don't support sudo -u www-data php /usr/local/lib/owncloud/occ app:disable photos dashboard activity +# Install interesting apps +sudo -u www-data php /usr/local/lib/owncloud/occ app:install notes +# upgrade apps +sudo -u www-data php /usr/local/lib/owncloud/occ app:update --all # Set PHP FPM values to support large file uploads # (semicolon is the comment character in this file, hashes produce deprecation warnings)