Snapraid update error

  • Hi,


    I just tried updating Snapraid using the control panel, and I got this result:



    And the last two lines keep repeating every second for at least half an hour now.


    Should I stop it? Reboot? Is my snapraid config fucked up now?


    Thanks for any help!

    • Official Post

    Is my snapraid config fucked up now?

    Chill out... 3.7.5 is in the repo now.

    omv 7.1.0-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.5 | scripts 7.0.7


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I'm having an issue with Snapraid ever since the 3.7.6 update.


    I'm getting a syntax error during the cron job that runs nightly.



    /usr/sbin/omv-snapraid-diff: line 490: syntax error near unexpected token `else'
    /usr/sbin/omv-snapraid-diff: line 490: `else'

    • Official Post

    I really got burnt by this pull request not being tested. I will look at it.

    omv 7.1.0-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.5 | scripts 7.0.7


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    It happens. I didn't see anything mentioned yet which is the only reason I said something. I'm sure what you guys do isn't exactly easy.

    It is really tough when I don't write the code and have no good way to test. I made some changes. Can you test them? If yes:


    sudo wget -O /usr/sbin/omv-snapraid-diff https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/openmediavault-snapraid/master/usr/sbin/omv-snapraid-diff
    sudo chmod +x /usr/sbin/omv-snapraid-diff

    omv 7.1.0-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.5 | scripts 7.0.7


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • It is really tough when I don't write the code and have no good way to test. I made some changes. Can you test them? If yes:
    sudo wget -O /usr/sbin/omv-snapraid-diff https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/openmediavault-snapraid/master/usr/sbin/omv-snapraid-diff
    sudo chmod +x /usr/sbin/omv-snapraid-diff

    Looks good! Diff finished without errors.

    • Official Post

    Looks good! Diff finished without errors.

    Excellent. Thanks for the help.

    omv 7.1.0-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.5 | scripts 7.0.7


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    3.7.7 and 5.0.1 in the repos now.

    omv 7.1.0-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.5 | scripts 7.0.7


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Everything seems to be working now, except one flaw. When I run the SnapRAID - Scheduled diff job from the OMV Gui, I get no email. I temporarily changed the Time of execution to "Hourly" and got email after the run finished.


    What might be the reason for this?

    • Official Post

    When I run the SnapRAID - Scheduled diff job from the OMV Gui, I get no email.

    Which button are you clicking on to run the diff job?

    omv 7.1.0-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.5 | scripts 7.0.7


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!