Uptime Kuma: Fix db backup file causing app to not start.
This commit is contained in:
parent
1304ffd7b7
commit
23eebca05a
1 changed files with 7 additions and 0 deletions
|
@ -18,6 +18,13 @@
|
|||
environment:
|
||||
BORG_PASSCOMMAND: "cat {{ borg_passphrase_file }}"
|
||||
|
||||
# The kuma-backup.db file is owned by root which causes
|
||||
# users['uptime_kuma'] to try to take ownership when it cannot.
|
||||
- name: Delete temporary backup file
|
||||
file:
|
||||
path: "{{ volumes['uptime_kuma_datadir'] }}/kuma-backup.db"
|
||||
state: absent
|
||||
|
||||
- name: Prune borg repository
|
||||
command:
|
||||
cmd: |
|
||||
|
|
Loading…
Reference in a new issue