updated nextcloud update instruction and set libreoffice to more conservative version

This commit is contained in:
Kevin Veen-Birkenbach 2023-06-20 22:43:11 +02:00
parent d211bcd5fa
commit 0db23918da
2 changed files with 6 additions and 7 deletions

View File

@ -2,11 +2,11 @@
community.general.pacman:
name:
- ttf-liberation
- libreoffice-fresh
- libreoffice-still
state: present
- name: install libreoffice language packages
community.general.pacman:
name: "libreoffice-fresh-{{ item }}"
name: "libreoffice-still-{{ item }}"
state: present
loop: "{{libreoffice_languages}}"

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:
```bash
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 DOCKER_CLIENT_TIMEOUT=600
cd {{path_docker_compose_files}}nextcloud && docker-compose down
docker exec -it -u www-data $NEXTCLOUD_APPLICATION_DOCKER_CONTAINER /var/www/html/occ maintenance:mode --on &&
export COMPOSE_HTTP_TIMEOUT=600 &&
export DOCKER_CLIENT_TIMEOUT=600 &&
docker-compose down
```
Afterwards update the ***nextcloud_version*** variable to the next version and run the this repository with this ansible role.