From 38709e525c909a0af713118c343ffbba34c5186a Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Fri, 21 Jan 2022 18:59:30 +0100 Subject: [PATCH] Changed the container name --- roles/docker-nextcloud/README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/roles/docker-nextcloud/README.md b/roles/docker-nextcloud/README.md index 69e427c0..e7498c43 100644 --- a/roles/docker-nextcloud/README.md +++ b/roles/docker-nextcloud/README.md @@ -25,21 +25,21 @@ It is only possible to update from one to the next major version at a time You can check the status of the update by typing in: ```bash - docker logs nextcloud-application-1 + docker logs nextcloud_application_1 ``` If nextcloud stays in the maintenance mode after the update try the following: ```bash - docker exec -it -u www-data nextcloud-application-1 /var/www/html/occ maintenance:mode --on - docker exec -it -u www-data nextcloud-application-1 /var/www/html/occ upgrade - docker exec -it -u www-data nextcloud-application-1 /var/www/html/occ maintenance:mode --off + docker exec -it -u www-data nextcloud_application_1 /var/www/html/occ maintenance:mode --on + docker exec -it -u www-data nextcloud_application_1 /var/www/html/occ upgrade + docker exec -it -u www-data nextcloud_application_1 /var/www/html/occ maintenance:mode --off ``` If the update process fails execute ```bash - docker exec -it -u www-data nextcloud-application-1 /var/www/html/occ maintenance:repair + docker exec -it -u www-data nextcloud_application_1 /var/www/html/occ maintenance:repair ``` and disable the mal functioning apps. @@ -63,14 +63,14 @@ bash ./docker-volume-recover.sh "nextcloud_database" "$(sha256sum /etc/machine-i To use occ run: ```bash - docker exec -it -u www-data nextcloud-application-1 /var/www/html/occ + docker exec -it -u www-data nextcloud_application_1 /var/www/html/occ ``` ## unlock files ```bash - docker exec -it -u www-data nextcloud-application-1 /var/www/html/occ maintenance:mode --on + docker exec -it -u www-data nextcloud_application_1 /var/www/html/occ maintenance:mode --on docker exec -it nextcloud_database_1 mysql -u nextcloud -pPASSWORD1234132 -D nextcloud -e "delete from oc_file_locks where 1" - docker exec -it -u www-data nextcloud-application-1 /var/www/html/occ maintenance:mode --off + docker exec -it -u www-data nextcloud_application_1 /var/www/html/occ maintenance:mode --off ``` ## further information