Replaced nextcloud-application by nextcloud container name

This commit is contained in:
2025-08-11 10:41:06 +02:00
parent fe76fe1e62
commit ea0149b5d4
3 changed files with 10 additions and 10 deletions

View File

@@ -2,7 +2,7 @@
To update the Nextcloud container, execute the following commands on the server:
```bash
docker exec -it -u www-data nextcloud-application /var/www/html/occ maintenance:mode --on &&
docker exec -it -u www-data nextcloud /var/www/html/occ maintenance:mode --on &&
export COMPOSE_HTTP_TIMEOUT=600 &&
export DOCKER_CLIENT_TIMEOUT=600 &&
docker-compose down
@@ -25,14 +25,14 @@ docker-compose exec -it application top
If Nextcloud remains in maintenance mode after the update, try the following:
```bash
docker exec -it -u www-data nextcloud-application /var/www/html/occ maintenance:mode --on
docker exec -it -u www-data nextcloud-application /var/www/html/occ upgrade
docker exec -it -u www-data nextcloud-application /var/www/html/occ maintenance:mode --off
docker exec -it -u www-data nextcloud /var/www/html/occ maintenance:mode --on
docker exec -it -u www-data nextcloud /var/www/html/occ upgrade
docker exec -it -u www-data nextcloud /var/www/html/occ maintenance:mode --off
```
If the update process fails, execute:
```bash
docker exec -it -u www-data nextcloud-application /var/www/html/occ maintenance:repair --include-expensive
docker exec -it -u www-data nextcloud /var/www/html/occ maintenance:repair --include-expensive
```
and disable any non-functioning apps.