diff --git a/docs/third_party/nextcloud/third_party-nextcloud.de.md b/docs/third_party/nextcloud/third_party-nextcloud.de.md index e3dab19dd..ba2b04906 100644 --- a/docs/third_party/nextcloud/third_party-nextcloud.de.md +++ b/docs/third_party/nextcloud/third_party-nextcloud.de.md @@ -195,6 +195,10 @@ Führen Sie z.B. folgenden Befehl aus, um die fehlenden Indizes hinzuzufügen: `docker exec -it -u www-data $(docker ps -f name=php-fpm-mailcow -q) bash -c "php /web/nextcloud/occ db:add-missing-indices"` +Das Update kann bei Bedarf auch per CLI durchgeführt werden. +Dies ist mit folgedem Befehl im interaktiven Modus möglich: `docker exec -it -u www-data $(docker ps -f name=php-fpm-mailcow -q) bash -c "php /web/nextcloud/updater/updater.phar"` +Um das Update ohne Rückfragen auszuführen, z.B. durch einen CRON Job, kann folgender Befehl verwendet werden: `docker exec -it -u www-data $(docker ps -f name=php-fpm-mailcow -q) bash -c "php /web/nextcloud/updater/updater.phar --no-interaction"` + --- ## Fehlersuche und Fehlerbehebung diff --git a/docs/third_party/nextcloud/third_party-nextcloud.en.md b/docs/third_party/nextcloud/third_party-nextcloud.en.md index 7f49b6f26..c6ff1a554 100644 --- a/docs/third_party/nextcloud/third_party-nextcloud.en.md +++ b/docs/third_party/nextcloud/third_party-nextcloud.en.md @@ -192,6 +192,10 @@ It shows which commands have to be executed, these have to be placed in the php- As an an example run the following command to add the missing indices. `docker exec -it -u www-data $(docker ps -f name=php-fpm-mailcow -q) bash -c "php /web/nextcloud/occ db:add-missing-indices"` +The update can also been done by CLI with the following command: `docker exec -it -u www-data $(docker ps -f name=php-fpm-mailcow -q) bash -c "php /web/nextcloud/updater/updater.phar"` + +This can also been done in an non interactive way (e.g. CRON) with this command: `docker exec -it -u www-data $(docker ps -f name=php-fpm-mailcow -q) bash -c "php /web/nextcloud/updater/updater.phar --no-interaction"` + --- ## Debugging & Troubleshooting