Added CLI Update for Nextcloud
Added command for a cli based Nextcloud update to documentation. Both ways, interactive and non-interactive for scripts and cron, are descriped.
Dieser Commit ist enthalten in:
Ursprung
08d8bdb06d
Commit
eb50d5f720
2 geänderte Dateien mit 8 neuen und 0 gelöschten Zeilen
|
@ -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"`
|
`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
|
## Fehlersuche und Fehlerbehebung
|
||||||
|
|
|
@ -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.
|
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"`
|
`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
|
## Debugging & Troubleshooting
|
||||||
|
|
Laden …
Tabelle hinzufĂĽgen
In neuem Issue referenzieren