Error notification menu

  • Hi guys,


    i get an error on my raspberry pi 3 if i want to configure the e-mail notification. (omv 3.0.35)


    The XPath query '//system/notification/notifications/notification[id='cronapt']' does not return the requested number of 1 object(s).
    Fehler #0:exception 'InvalidArgumentException' with message 'The XPath query '//system/notification/notifications/notification[id='cronapt']' does not return the requested number of 1 object(s).' in /usr/share/php/openmediavault/config/database.inc:172Stack trace:#0 /usr/share/openmediavault/engined/rpc/notification.inc(66): OMV\Config\Database->getByFilter('conf.system.not...', Array, 1)#1 [internal function]: OMVRpcServiceNotification->get(Array, Array)#2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)#3 /usr/share/php/openmediavault/rpc/rpc.inc(84): OMV\Rpc\ServiceAbstract->callMethod('get', Array, Array)#4 /usr/sbin/omv-engined(516): OMV\Rpc\Rpc::call('Notification', 'get', Array, Array, 1)#5 {main}


    Thank you :)


    best regards
    trayntab

    • Offizieller Beitrag

    Did you upgrade from 2.x?

    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

    What is the output of: omv-showkey notification

    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!

  • <notification>
    <notifications>
    <!--
    <xxx>0|1</xxx>
    -->
    <notification>
    <uuid>da9465e0-d519-481a-b05d-02045f63a3db</uuid>
    <id>monitprocevents</id>
    <enable>1</enable>
    </notification>
    <notification>
    <uuid>91da046b-2db4-42ca-a1d2-c60372de4be0</uuid>
    <id>monitloadavg</id>
    <enable>1</enable>
    </notification>
    <notification>
    <uuid>f38346dc-7d96-4739-8c51-fda3a4af83dc</uuid>
    <id>monitmemoryusage</id>
    <enable>1</enable>
    </notification>
    <notification>
    <uuid>02fa2733-7d7d-4947-863c-61abc6eb87a8</uuid>
    <id>monitcpuusage</id>
    <enable>1</enable>
    </notification>
    <notification>
    <uuid>4f6a676d-14e3-40ba-bfc9-15f43cac6dec</uuid>
    <id>monitfilesystems</id>
    <enable>1</enable>
    </notification>
    <notification>
    <uuid>1beaefb0-1b36-451a-ab17-e78c448a9bd8</uuid>
    <id>mdadm</id>
    <enable>1</enable>
    </notification>
    <notification>
    <uuid>6eddc6ec-6fe4-4d9b-820a-5521c4c09786</uuid>
    <id>smartmontools</id>
    <enable>1</enable>
    </notification>

    • Offizieller Beitrag

    I guess you are only missing the cronapt entry. Weird. Add the following to fix it:


    XML
    <notification>
              <uuid>021e5944-35fd-432e-935f-5273460a5b40</uuid>
              <id>cronapt</id>
              <enable>1</enable>
            </notification>

    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

    /etc/openmediavault/config.xml


    Make a backup of that file first!

    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!