The property 'rule.0' does not exist in the model 'conf.service.snapraid.rule'

  • After upgrading from OMV 2 to 3, I get the follwing error when opening the SnapRaid window in the OMV webinterface:


    Any ideas how I can fix this?

    • Offizieller Beitrag

    What is the output of: omv-showkey snapraid

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

  • Here you go:


    • Offizieller Beitrag

    Update to openmediavault-snapraid 3.7 that I just put in the repo and then execute:


    omv-confdbadm migrate "conf.service.snapraid" 3.2

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

  • Code
    root@NAS:~# omv-confdbadm migrate "conf.service.snapraid" 3.2
      Running migration conf.service.snapraid_3.2
    Invalid expression: /config/services/snapraid/rules/rule[position()=1]rule
    Invalid expression: /config/services/snapraid/rules/rule[position()=2]rule
    Invalid expression: /config/services/snapraid/rules/rule[position()=3]rule
      Running migration conf.service.snapraid_3.4
      Running migration conf.service.snapraid_3.6.3

    Thank you very much for the fast help but it seems you update doesn't fix my issue so far.

    • Offizieller Beitrag

    but it seems you update doesn't fix my issue so far.

    There was one slash missing. 3.7.1 in repo now. Update to that and try the command again.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

    • Offizieller Beitrag

    Can I ask what the problem was? Was it a mistake on my part?

    It was missing a slash in the code that changes the rule element name to rule1. I guess not many people use rules so it was never noticed.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!