User Tools

Site Tools


portainer:dockers:nextcloud

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

portainer:dockers:nextcloud [2024/07/31 18:32] – created dirkportainer:dockers:nextcloud [2025/01/16 07:33] (current) dirk
Line 25: Line 25:
   * then add them to database with: <code>sudo occ files:scan --all --verbose</code> (this does all users)   * then add them to database with: <code>sudo occ files:scan --all --verbose</code> (this does all users)
   * then add them to maps with: <code>sudo occ maps:scan-photos -vvv</code>   * then add them to maps with: <code>sudo occ maps:scan-photos -vvv</code>
 +
 +===== Update commands =====
 +  * if command line update required:
 +    * ssh into ubuntu machine (not the docker shell)
 +    * run <code>sudo docker exec -itu www-data nextcloud php occ upgrade</code>
 +  * if stuck in maintenance mode:
 +    * ssh into ubuntu machine (not the docker shell)
 +    * run <code>sudo docker exec -itu www-data nextcloud php occ maintenance:mode --off</code>
portainer/dockers/nextcloud.txt · Last modified: by dirk