Open eauchat opened 2 years ago
Same here it stopped sending me emails for some reason....I have no idea why. It used to work. What I did was to change in config how to receive the emails, for 2 servers. From Always to only when an error occurs. Then I even changed back to Always. But it does not send any alerts of any sort.
didn't receive the alert email on a failed attempt to login into the Borg server
2022-09-12 00:10:00,927: ERROR - Could not run script: /etc/yunohost/hooks.d/backup_method/05-borg_app
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/yunohost/hook.py", line 305, in hook_callback
hook_return = hook_exec(
File "/usr/lib/python3/dist-packages/yunohost/hook.py", line 393, in hook_exec
raise YunohostError("hook_exec_failed", path=path)
yunohost.utils.error.YunohostError: Could not run script: /etc/yunohost/hooks.d/backup_method/05-borg_app
Describe the bug
For some time the backup server was down, but I didn't receive any alert email that the backup failed. I'm using the setting
mailalert: errors_only
. I didn't have this problem some months ago, before themailalert
setting existed. Wondering if it's related, or not.Context
Logs
These are the logs in
/var/log/borg__2/211122_XXXX.err
:These are the logs in
/var/log/borg__2/211122_XXXX.log
: