Closed dm9tr0 closed 1 year ago
Hi, if you look at the email or full log, it will tell what didn't work.
It's hard for the script to detect the exact reason of an error within a specific SnapRAID job. What I can easily do, however, is add a message to check your logs to this short message that is sent to Telegram/Discord.
Yes, I can see here 2 solutions:
Also, noticed that it is DANGER, not just WARNING as script sends.
It requires regex and we don't know all possible errors. For the time being I will add the easy fix
This is what I added, for both Sync and Scrub.
It ain't much, but it's better than nothing.
Now available in the dev branch. Are marked as "Severe Warning", but "Danger" might be better.
Closing since the proposed fix has been implemented (in dev branch for now)
Hi! Could you add some kind of explanation or advice as comment in code or in notification, what user should do after such message?
job ran but did not complete successfully
It is really unclear now how to fix it:When I executed your script from console I can see:
I will try to execute
snapraid -e fix
but would be great to have this in notification.