„nextcloud.yml“ ändern
This commit is contained in:
parent
a2226476db
commit
68dde782f8
@ -261,14 +261,14 @@
|
||||
# install/enable apps
|
||||
for app in admin_audit bookmarks calendar contacts files_external impersonate maps news notes oauth2 passwords phonetrack photos spreed tasks twofactor_backupcodes twofactor_totp
|
||||
do
|
||||
[ -f app.${app}.installed ] || docker-compose exec -u www-data nextcloud.{{ ansible_facts['hostname'] }}.dedyn.io ./occ app:install ${app} | tee -a nextcloud.init.log >app.${app}.installed 2>&1
|
||||
[ -f app.${app}.installed ] || docker-compose exec -u www-data nextcloud.{{ ansible_facts['hostname'] }}.dedyn.io ./occ app:enable ${app} | tee -a nextcloud.init.log >app.${app}.installed 2>&1
|
||||
[ -f app.${app}.installed ] || docker-compose exec -T -u www-data nextcloud.{{ ansible_facts['hostname'] }}.dedyn.io ./occ app:install ${app} | tee -a nextcloud.init.log >app.${app}.installed 2>&1
|
||||
[ -f app.${app}.installed ] || docker-compose exec -T -u www-data nextcloud.{{ ansible_facts['hostname'] }}.dedyn.io ./occ app:enable ${app} | tee -a nextcloud.init.log >app.${app}.installed 2>&1
|
||||
done
|
||||
|
||||
# disable apps
|
||||
for app in dashboard nextcloud_announcements serverinfo support updatenotification weather_status
|
||||
do
|
||||
[ -f app.${app}.installed ] || docker-compose exec -u www-data nextcloud.{{ ansible_facts['hostname'] }}.dedyn.io ./occ app:disable ${app} | tee -a nextcloud.update.log >app.${app}.disabled 2>&1
|
||||
[ -f app.${app}.installed ] || docker-compose exec -T -u www-data nextcloud.{{ ansible_facts['hostname'] }}.dedyn.io ./occ app:disable ${app} | tee -a nextcloud.update.log >app.${app}.disabled 2>&1
|
||||
done
|
||||
exit 0
|
||||
backup: yes
|
||||
@ -292,16 +292,16 @@
|
||||
block: |
|
||||
# Nextcloud maintenance and app-update
|
||||
cd /home/docker/nextcloud.{{inventory_hostname}} || continue
|
||||
docker-compose exec -u www-data nextcloud.{{inventory_hostname}} ./occ db:add-missing-columns
|
||||
docker-compose exec -u www-data nextcloud.{{inventory_hostname}} ./occ db:add-missing-indices
|
||||
docker-compose exec -u www-data nextcloud.{{inventory_hostname}} ./occ db:add-missing-primary-keys
|
||||
docker-compose exec -u www-data nextcloud.{{inventory_hostname}} ./occ app:update --all
|
||||
docker-compose exec -u www-data nextcloud.{{inventory_hostname}} ./occ dav:sync-birthday-calendar
|
||||
docker-compose exec -u www-data nextcloud.{{inventory_hostname}} ./occ trashbin:cleanup --all-users
|
||||
docker-compose exec -u www-data nextcloud.{{inventory_hostname}} ./occ files:cleanup
|
||||
docker-compose exec -u www-data nextcloud.{{inventory_hostname}} ./occ files:scan --all
|
||||
docker-compose exec -u www-data nextcloud.{{inventory_hostname}} ./occ maps:scan-photos
|
||||
docker-compose exec -u www-data nextcloud.{{inventory_hostname}} ./occ db:convert-filecache-bigint -n
|
||||
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
|
||||
docker-compose exec -T -u www-data nextcloud.{{inventory_hostname}} ./occ app:update --all
|
||||
docker-compose exec -T -u www-data nextcloud.{{inventory_hostname}} ./occ dav:sync-birthday-calendar
|
||||
docker-compose exec -T -u www-data nextcloud.{{inventory_hostname}} ./occ trashbin:cleanup --all-users
|
||||
docker-compose exec -T -u www-data nextcloud.{{inventory_hostname}} ./occ files:cleanup
|
||||
docker-compose exec -T -u www-data nextcloud.{{inventory_hostname}} ./occ files:scan --all
|
||||
docker-compose exec -T -u www-data nextcloud.{{inventory_hostname}} ./occ maps:scan-photos
|
||||
docker-compose exec -T -u www-data nextcloud.{{inventory_hostname}} ./occ db:convert-filecache-bigint -n
|
||||
backup: yes
|
||||
validate: /bin/bash -n %s
|
||||
notify: run nextcloud.update
|
||||
|
Loading…
Reference in New Issue
Block a user