Snapraid plugin stop working after last update.

  • When I choose "Scrub" it gives error message:


    Code
    "The property 'percentScrub' does not exist in the model 'conf.service.snapraid'."


    and tracing information:



    Any idea to fix the problem?



    OMV version: 6.0.46-5

    Snapraid Plugin Version: 6.2.1

    • Official Post

    Any idea to fix the problem?

    You shouldn't have the testing repo enabled to start. The version of the snapraid plugin in the testing repo is a big change (multi arrays and split parity).


    Did you clear your browser cache? Are you executing the scrub from the Array tab?

    omv 6.2.0-1 Shaitan | 64 bit | 6.1 proxmox kernel

    plugins :: omvextrasorg 6.1.1 | kvm 6.2.8 | compose 6.6.1 | cputemp 6.1.3 | mergerfs 6.3.5 | zfs 6.0.12


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


    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!

  • You shouldn't have the testing repo enabled to start. The version of the snapraid plugin in the testing repo is a big change (multi arrays and split parity).


    Did you clear your browser cache? Are you executing the scrub from the Array tab?

    Tried clear browser cache, but the problem keeps occurring.



    Yes , i have testing repo enabled. But the version of snapraid plugin seems still 6.2.1 after disabling testing repo.

    If I uninstall and reinstall the plugin, do I lost the settings?



    Thank you.

    • Official Post

    the problem keeps occurring.

    You didn't say if you were executing from the array tab? What is the output of:


    sudo omv-showkey snapraid

    sudo omv-salt deploy run snapraid

    But the version of snapraid plugin seems still 6.2.1 after disabling testing repo.

    Of course. Disabling a repo doesn't go purge all packages from it.

    If I uninstall and reinstall the plugin, do I lost the settings?

    Yes because the database schema has changed and migrated once you install 6.2.1. I think we should be able to get it working if you provide the output of the commands above.

    omv 6.2.0-1 Shaitan | 64 bit | 6.1 proxmox kernel

    plugins :: omvextrasorg 6.1.1 | kvm 6.2.8 | compose 6.6.1 | cputemp 6.1.3 | mergerfs 6.3.5 | zfs 6.0.12


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


    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!

  • OK since plugin from testing is not working. Do I need to reinstall fresh?

    Version
    6.1.1-1 (Shaitan)

    openmediavault-snapraid 6.2.1

    • Official Post

    OK since plugin from testing is not working. Do I need to reinstall fresh?

    Why would you have to reinstall fresh? Just purge the snapraid plugin, click omv aptclean in omv-extras, make sure the testing repo is disabled, install snapraid plugin. You will have to re-create your snapraid array but it is just files anyway.


    By the way, the plugin works fine. The script does not.

    omv 6.2.0-1 Shaitan | 64 bit | 6.1 proxmox kernel

    plugins :: omvextrasorg 6.1.1 | kvm 6.2.8 | compose 6.6.1 | cputemp 6.1.3 | mergerfs 6.3.5 | zfs 6.0.12


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


    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!

  • Yeah, I figured that out myself. I am happy to report that I was able to do the above. and recreate the snapraid.


    I guess I have one or two other plugins that came from testing. I have not removed and reinstalled them yet. I am not sure how the testing repo was enabled, but it is disabled now.

    • Official Post

    I guess I have one or two other plugins that came from testing. I have not removed and reinstalled them yet. I am not sure how the testing repo was enabled, but it is disabled now.

    The testing repo only has one plugin that is a newer version than the regular repo and that is the snapraid plugin. So, if all updates are installed, you shouldn't have any other plugins from the testing repo.

    omv 6.2.0-1 Shaitan | 64 bit | 6.1 proxmox kernel

    plugins :: omvextrasorg 6.1.1 | kvm 6.2.8 | compose 6.6.1 | cputemp 6.1.3 | mergerfs 6.3.5 | zfs 6.0.12


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


    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!