Posts by Unipo

    Hi,


    Following this guide (French) I manage to get all OMV notifications on my Ntfy server.


    All, except SnapRAID diff/scrub notification. And I can't for the life of me find anything on the add-on's github.


    Can anyone point me into the right direction?


    Regards,

    Hi,

    It is in my understanding that in the snapraid configuration page, when you click on "Schedule Diff" then save it create a script "/usr/sbin/omv-snapraid-diff" populated with the info you put under "Diff Script settings" in the said configuration page.


    My needs (might evolve) were to sync everyday without updated/deleted thresholds and scrub 25 percent of the array every week.


    It appeared to be working great the first few days as I had always new of updated files. And each morning I had the pleasure to be greeted by a nice email keeping me informed of what happened: (Seriously, I love it)





    BUT one morning, as i was drinking my coffee and checking my emails... None from my NAS...

    A tad worried I started looking for the reason, which seems to be an error in the script. (But please tell me if I'm wrong, I am slowly learning...) The logs:



    I think the script stops after a DIFF if the output is "nothing has changed".


    Why is it an issue I hear you ask. Well the day after, the script ran and found some changes, sync the array and send me an email. At the end of the email I notice that the SCRUB-Cycle count missed one day, the day the script stopped at " Nothing has changed, nothing to do".


    What should I change in the script so it would still take in consideration the times it runs even if nothing changed in the array in the SCRUB-Cycle count?


    Thank you