nextcloud.yml aktualisiert
This commit is contained in:
parent
1021406588
commit
b355135b18
@ -337,8 +337,13 @@
|
||||
create: yes
|
||||
marker: "# {mark} ANSIBLE MANAGED BLOCK"
|
||||
block: |
|
||||
# Nextcloud maintenance and app-update
|
||||
cd /home/docker/nextcloud.{{inventory_hostname}} || continue
|
||||
# Update full Dockerfile
|
||||
wget https://github.com/nextcloud/docker/raw/master/.examples/dockerfiles/full/apache/Dockerfile -O Dockerfile
|
||||
sed -i 's/^FROM nextcloud:apache/FROM nextcloud:production-apache/' Dockerfile
|
||||
sed -i 's/^# libreoffice/ libreoffice/' Dockerfile
|
||||
wget https://github.com/nextcloud/docker/raw/master/.examples/dockerfiles/full/apache/supervisord.conf -O supervisord.conf
|
||||
# Nextcloud maintenance and app-update
|
||||
docker compose exec -T -u www-data nextcloud.{{inventory_hostname}} ./occ db:add-missing-columns
|
||||
docker compose exec -T -u www-data nextcloud.{{inventory_hostname}} ./occ db:add-missing-indices
|
||||
docker compose exec -T -u www-data nextcloud.{{inventory_hostname}} ./occ db:add-missing-primary-keys
|
||||
|
Loading…
Reference in New Issue
Block a user