ERRORS after upgrade OMV 0.5.59 to OMV 1

    • Offizieller Beitrag

    Try:


    omv-mkconf collectd
    monit restart collectd

    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

    Try the rrd option in omv-firstaid

    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!

  • Tried it and 1.st attempt:

    Code
    Checking all RRD files. Please wait ...
    All RRD database files are valid.
    monit: action failed -- Other action already in progress -- please try again later


    Few moments later:

    Code
    Checking all RRD files. Please wait ...
    All RRD database files are valid.


    Graphs in System Information/Status are good. But when manually refresh any graph - same error as above (hang on ERROR: No DS called 'value' in '/var/lib/rrdcached/db//localhost/nut-ups/percent-charge.rrd')

    • Offizieller Beitrag

    Not sure if it recreates the file. So, move the file somewhere temporarily and see if it fixes the problem


    mv /var/lib/rrdcached/db//localhost/nut-ups/percent-charge.rrd /root/

    • Offizieller Beitrag

    Good to know and glad it is working :)

    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!

  • I know this issue has been resolved, but I want to report my findings regarding to the NUT graphs not working after upgraded from 0.5.x to 1.x.


    I found out it's the rrd definition for NUT had been changed. In OMV 0.5.x, for example, the first few lines output of "rrdtool info /var/lib/rrdcached/db/localhost/nut-ups/percent-charge.rrd" are


    But, in OMV 1.x, the output is


    You can see that the DS name (data source name) has been changed from "percent" to "value". During upgrade those files were not wiped and recreated, so after upgrade OMV 1.x continues to use those old files. When omv-mkgraph of OMV 1.x tries to create graphs for NUT, it looks for DS name "value" and can't find it when processing rrd files.

    Code
    rrdtool graph ${IMGDIR}/nut-charge-hour.png --start ${HOURSTART} ${DEFAULTS} --title "${TITLE_NUT_CHARGE}${HOURTITLE}" --slope-mode --upper-limit 100 --lower-limit 0 --rigid --vertical-label Percent    DEF:avg=${DATA}/nut-PogoUPS/percent-charge.rrd:value:AVERAGE    DEF:min=${DATA}/nut-PogoUPS/percent-charge.rrd:value:MIN        DEF:max=${DATA}/nut-PogoUPS/percent-charge.rrd:value:MAX        LINE1:avg${COLOR_NUT_CHARGE}:"Charge"           GPRINT:min:MIN:"%4.2lf Min"     GPRINT:avg:AVERAGE:"%4.2lf Avg"         GPRINT:max:MAX:"%4.2lf Max"     GPRINT:avg:LAST:"%4.2lf Last\l"         COMMENT:"${LASTUPDATE}" >/dev/null


    The solution is, as ryecoaaron mentioned, to remove directory /var/lib/rrdcached/db/localhost/nut-ups/ after uninstalling and then reinstall openmediavault-nut. Preferably the uninstall script should remove them for users.

    OpenMediaVault 7.0.4-2 (Sandworm) :thumbup:
    HARDWARE: Raspberry Pi 4 Model B Rev 1.2 | SYSTEM: Debian GNU/Linux 12 (bookworm) aarch64

    KERNEL: Linux 6.1.21-v8+ | PROCESSOR: BCM2835 (4) @ 1.500GHz | MEMORY: 4GB | STORAGE: MicroSD 60GB + HDD 6TB
    PLUGINS: nut, omvextrasorg, backup, compose, cputemp, flashmemory, kernel, remotemount, sharerootfs

    DOCKER: nginx proxy manager, pi-hole, wireguard, transmission

Jetzt mitmachen!

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