From ade76e5a3f2f69fd13733540b952fd06d69be4cc Mon Sep 17 00:00:00 2001 From: Rafal Zawadzki Date: Fri, 4 Oct 2019 23:59:13 +0200 Subject: [PATCH 1/2] #1608 app:update command documented --- admin_manual/configuration_server/occ_command.rst | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/admin_manual/configuration_server/occ_command.rst b/admin_manual/configuration_server/occ_command.rst index 920f1d015..6c201bfb5 100644 --- a/admin_manual/configuration_server/occ_command.rst +++ b/admin_manual/configuration_server/occ_command.rst @@ -196,8 +196,9 @@ The ``app`` commands list, enable, and disable apps:: app:check-code check code to be compliant app:disable disable an app app:enable enable an app - app:getpath Get an absolute path to the app directory - app:list List all available apps + app:getpath get an absolute path to the app directory + app:list list all available apps + app:update update an app or all apps List all of your installed apps, and show whether they are enabled or disabled:: @@ -242,6 +243,14 @@ You can get the full filepath to an app:: .. _background_jobs_selector_label: +To update an app, for instance Contacts:: + + sudo -u www-data php occ app:update contacts + +To update all apps:: + + sudo -u www-data php occ app:update --all + Background jobs selector ------------------------ From e5b0989bed965c06b6d9ca40b5d1bdae3438157b Mon Sep 17 00:00:00 2001 From: Rafal Zawadzki Date: Sat, 5 Oct 2019 00:17:10 +0200 Subject: [PATCH 2/2] Fix the order of lines :/ --- admin_manual/configuration_server/occ_command.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin_manual/configuration_server/occ_command.rst b/admin_manual/configuration_server/occ_command.rst index 6c201bfb5..2a8dcf49e 100644 --- a/admin_manual/configuration_server/occ_command.rst +++ b/admin_manual/configuration_server/occ_command.rst @@ -241,8 +241,6 @@ You can get the full filepath to an app:: sudo -u www-data php occ app:getpath notifications /var/www/nextcloud/apps/notifications -.. _background_jobs_selector_label: - To update an app, for instance Contacts:: sudo -u www-data php occ app:update contacts @@ -251,6 +249,8 @@ To update all apps:: sudo -u www-data php occ app:update --all +.. _background_jobs_selector_label: + Background jobs selector ------------------------