Problem with Snapraid Plugin in OMV 7

  • After upgrade for OMV 7 RC1 for some reason the new GUI is not able to create/import the configs from snapraid


    Thx for awesome work!!!


    Array tab

    Failed to execute XPath query '//services/snapraid/arrays'.


    OMV\Config\DatabaseException: Failed to execute XPath query '//services/snapraid/arrays'. in /usr/share/php/openmediavault/config/database.inc:272

    Stack trace:

    #0 /usr/share/openmediavault/engined/rpc/snapraid.inc(159): OMV\Config\Database->set()

    #1 [internal function]: OMVRpcServiceSnapRaid->setArray()

    #2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(122): call_user_func_array()

    #3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod()

    #4 /usr/sbin/omv-engined(535): OMV\Rpc\Rpc::call()

    #5 {main}


    Drives tab

    Failed to execute XPath query '//services/snapraid/arrays/array[uuid='']'.


    OMV\Config\DatabaseException: Failed to execute XPath query '//services/snapraid/arrays/array[uuid='']'. in /usr/share/php/openmediavault/config/database.inc:88

    Stack trace:

    #0 /usr/share/openmediavault/engined/rpc/snapraid.inc(225): OMV\Config\Database->get()

    #1 [internal function]: OMVRpcServiceSnapRaid->getDriveList()

    #2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(122): call_user_func_array()

    #3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod()

    #4 /usr/sbin/omv-engined(535): OMV\Rpc\Rpc::call()

    #5 {main}

  • WalterDias

    Hat das Label OMV 7.x (RC1) hinzugefügt.
    • Offizieller Beitrag

    I would have to see the output of sudo omv-showkey snapraid from omv6 to know why it isn't upgrading correctly.


    You could just delete the drives and arrays from the plugin and re-create it in the same order. No need to edit the xml.

    omv 7.0.5-1 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.4 | scripts 7.0.1


    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!