Optimized README.md

This commit is contained in:
Kevin Veen-Birkenbach 2023-08-22 18:09:51 +02:00
parent 9bd600e6ed
commit 4edb5f3487

View File

@ -12,11 +12,10 @@ NEXTCLOUD_APPLICATION_DOCKER_CONTAINER=nextcloud-application-1
To update the nextcloud container execute the following commands on the server: To update the nextcloud container execute the following commands on the server:
```bash ```bash
docker exec -it -u www-data $NEXTCLOUD_APPLICATION_DOCKER_CONTAINER /var/www/html/occ maintenance:mode --on docker exec -it -u www-data $NEXTCLOUD_APPLICATION_DOCKER_CONTAINER /var/www/html/occ maintenance:mode --on &&
sudo python {{path_administrator_scripts}}docker-volume-backup/docker-volume-backup.py export COMPOSE_HTTP_TIMEOUT=600 &&
export COMPOSE_HTTP_TIMEOUT=600 export DOCKER_CLIENT_TIMEOUT=600 &&
export DOCKER_CLIENT_TIMEOUT=600 docker-compose down
cd {{path_docker_compose_files}}nextcloud && docker-compose down
``` ```
Afterwards update the ***nextcloud_version*** variable to the next version and run the this repository with this ansible role. Afterwards update the ***nextcloud_version*** variable to the next version and run the this repository with this ansible role.