„nextcloud.yml“ ändern
This commit is contained in:
parent
a2226476db
commit
68dde782f8
@ -261,14 +261,14 @@
|
|||||||
# install/enable apps
|
# 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
|
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
|
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 -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 -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:enable ${app} | tee -a nextcloud.init.log >app.${app}.installed 2>&1
|
||||||
done
|
done
|
||||||
|
|
||||||
# disable apps
|
# disable apps
|
||||||
for app in dashboard nextcloud_announcements serverinfo support updatenotification weather_status
|
for app in dashboard nextcloud_announcements serverinfo support updatenotification weather_status
|
||||||
do
|
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
|
done
|
||||||
exit 0
|
exit 0
|
||||||
backup: yes
|
backup: yes
|
||||||
@ -292,16 +292,16 @@
|
|||||||
block: |
|
block: |
|
||||||
# Nextcloud maintenance and app-update
|
# Nextcloud maintenance and app-update
|
||||||
cd /home/docker/nextcloud.{{inventory_hostname}} || continue
|
cd /home/docker/nextcloud.{{inventory_hostname}} || continue
|
||||||
docker-compose exec -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-columns
|
||||||
docker-compose exec -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-indices
|
||||||
docker-compose exec -u www-data nextcloud.{{inventory_hostname}} ./occ db:add-missing-primary-keys
|
docker-compose exec -T -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 -T -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 -T -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 -T -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 -T -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 -T -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 -T -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:convert-filecache-bigint -n
|
||||||
backup: yes
|
backup: yes
|
||||||
validate: /bin/bash -n %s
|
validate: /bin/bash -n %s
|
||||||
notify: run nextcloud.update
|
notify: run nextcloud.update
|
||||||
|
Loading…
Reference in New Issue
Block a user