error in upgrade to OMV 5.1.2-1/5.1.3-1

  • Hallo to everybody, I wrote already some days ago... but unfortunately I was not able to fix the issue.
    During a update (trough the std interface) I receive the message error:
    ..
    ..
    WARNING ] /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use


    `signature` and the `Signature` object directly
    *salt.utils.args.get_function_argspec(original_function)


    Processing system modifications ...
    /usr/lib/python3/dist-packages/salt/utils/path.py:265: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is


    deprecated, and in 3.8 it will stop working
    if not isinstance(exes, collections.Iterable):
    dpkg: error processing package openmediavault (--configure):
    installed openmediavault package post-installation script subprocess returned error exit status 1
    Errors were encountered while processing:
    openmediavault
    E: Sub-process /usr/bin/dpkg returned an error code (1)



    The problem is related to the step:
    dpkg --configure openmediavault


    apt -f upgrade did not help to resolve the problem


    Any idea how to solve it?


    Best
    System info
    OS/Debian information
    ================================================================================
    No LSB modules are available.
    Distributor ID: Raspbian
    Description: Raspbian GNU/Linux 10 (buster)
    Release: 10
    Codename: buster


    ================================================================================
    = openmediavault information
    ================================================================================
    Release: 5.1.0-1
    Codename: Usul

    Einmal editiert, zuletzt von sax1333 () aus folgendem Grund: SYSTEM Info

    • Offizieller Beitrag

    You need to post the entire message. Everything you posted is a warning and not helpful. What is the output of: apt-get -f install

    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!

  • You need to post the entire message. Everything you posted is a warning and not helpful. What is the output of: apt-get -f install

    HI,
    Here the full output message:
    apt-get -f install
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    1 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    Setting up openmediavault (5.1.3-1) ...
    Creating configuration database ...
    Migrating configuration database ...
    Setting up Salt environment ...
    [WARNING ] /usr/lib/python3/dist-packages/salt/utils/path.py:265: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
    if not isinstance(exes, collections.Iterable):


    Setting up system ...
    [WARNING ] /usr/lib/python3/dist-packages/salt/utils/path.py:265: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
    if not isinstance(exes, collections.Iterable):


    [WARNING ] /usr/lib/python3/dist-packages/salt/utils/jinja.py:638: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
    if isinstance(lst1, collections.Hashable) and isinstance(lst2, collections.Hashable):


    [WARNING ] /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
    *salt.utils.args.get_function_argspec(original_function)


    Processing system modifications ...
    /usr/lib/python3/dist-packages/salt/utils/path.py:265: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
    if not isinstance(exes, collections.Iterable):
    dpkg: error processing package openmediavault (--configure):
    installed openmediavault package post-installation script subprocess returned error exit status 1
    Errors were encountered while processing:
    openmediavault
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    what do you think?

    • Offizieller Beitrag

    Looks like it is probably failing to configure monit. So, try


    omv-salt deploy run monit

    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!

  • this is the ouput:

    omv-salt deploy run monit
    /usr/lib/python3/dist-packages/salt/utils/path.py:265: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
    if not isinstance(exes, collections.Iterable):
    raspberrypi4:
    ----------
    ID: configure_monit_collectd_service
    Function: file.managed
    Name: /etc/monit/conf.d/openmediavault-collectd.conf
    Result: True
    Comment: File /etc/monit/conf.d/openmediavault-collectd.conf is in the correct state
    Started: 19:40:16.798608
    Duration: 74.202 ms
    Changes:
    ----------
    ID: configure_monit_system_service
    Function: file.managed
    Name: /etc/monit/conf.d/openmediavault-system.conf
    Result: True
    Comment: File /etc/monit/conf.d/openmediavault-system.conf is in the correct state
    Started: 19:40:16.873114
    Duration: 37.831 ms
    Changes:
    ----------
    ID: configure_monit_filesystem_service
    Function: file.managed
    Name: /etc/monit/conf.d/openmediavault-filesystem.conf
    Result: True
    Comment: File /etc/monit/conf.d/openmediavault-filesystem.conf is in the correct state
    Started: 19:40:16.911252
    Duration: 24.581 ms
    Changes:
    ----------
    ID: configure_monit_omv-engined_service
    Function: file.managed
    Name: /etc/monit/conf.d/openmediavault-engined.conf
    Result: True
    Comment: File /etc/monit/conf.d/openmediavault-engined.conf is in the correct state
    Started: 19:40:16.936137
    Duration: 15.149 ms
    Changes:
    ----------
    ID: configure_monit_rrdcached_service
    Function: file.managed
    Name: /etc/monit/conf.d/openmediavault-rrdcached.conf
    Result: True
    Comment: File /etc/monit/conf.d/openmediavault-rrdcached.conf is in the correct state
    Started: 19:40:16.951588
    Duration: 15.724 ms
    Changes:
    ----------
    ID: configure_monit_php-fpm_service
    Function: file.managed
    Name: /etc/monit/conf.d/openmediavault-phpfpm.conf
    Result: True
    Comment: File /etc/monit/conf.d/openmediavault-phpfpm.conf is in the correct state
    Started: 19:40:16.967621
    Duration: 15.229 ms
    Changes:
    ----------
    ID: configure_monit_nginx_service
    Function: file.managed
    Name: /etc/monit/conf.d/openmediavault-nginx.conf
    Result: True
    Comment: File /etc/monit/conf.d/openmediavault-nginx.conf is in the correct state
    Started: 19:40:16.983154
    Duration: 16.946 ms
    Changes:
    ----------
    ID: configure_default_monit
    Function: file.managed
    Name: /etc/default/monit
    Result: True
    Comment: File /etc/default/monit is in the correct state
    Started: 19:40:17.000406
    Duration: 3.944 ms
    Changes:
    ----------
    ID: configure_monit_monitrc
    Function: file.managed
    Name: /etc/monit/monitrc
    Result: True
    Comment: File /etc/monit/monitrc is in the correct state
    Started: 19:40:17.004669
    Duration: 38.432 ms
    Changes:
    ----------
    ID: test_monit_config
    Function: cmd.run
    Name: monit -t
    Result: False
    Comment: Command "monit -t" run
    Started: 19:40:17.044798
    Duration: 28.257 ms
    Changes:
    ----------
    pid:
    4813
    retcode:
    1
    stderr:
    /etc/monit/conf.d/openmediavault-filesystem.conf:2: Service name conflict, rootfs already defined '/'
    /etc/monit/conf.d/openmediavault-filesystem.conf:7: Service name conflict, filesystem_srv_dev-disk-by-label-Archive already defined '"/srv/dev-disk-by-label-Archive"'
    /etc/monit/conf.d/openmediavault-filesystem.conf:12: Service name conflict, mountpoint_srv_dev-disk-by-label-Archive already defined ''/srv/dev-disk-by-label-Archive''
    /etc/monit/conf.d/openmediavault-filesystem.conf:15: Service name conflict, filesystem_srv_dev-disk-by-label-Backup already defined '"/srv/dev-disk-by-label-Backup"'
    /etc/monit/conf.d/openmediavault-filesystem.conf:20: Service name conflict, mountpoint_srv_dev-disk-by-label-Backup already defined ''/srv/dev-disk-by-label-Backup''
    stdout:
    ----------
    ID: reload_monit_service
    Function: service.running
    Name: monit
    Result: False
    Comment: Job for monit.service failed because the control process exited with error code.
    See "systemctl status monit.service" and "journalctl -xe" for details.
    Started: 19:40:17.099763
    Duration: 209.17 ms
    Changes:


    Summary for raspberrypi4
    ------------
    Succeeded: 9 (changed=1)
    Failed: 2
    ------------
    Total states run: 11
    Total run time: 479.465 ms


    here the /etc/monit/conf.d/openmediavault-filesystem.conf , not touched manually.... created trought web gui



    # Alert if disk space of root filesystem gets low
    check filesystem rootfs with path /
    if space usage > 85% for 5 times within 15 cycles
    then alert else if succeeded for 10 cycles then alert



    check filesystem filesystem_srv_dev-disk-by-label-Archive with path "/srv/dev-disk-by-label-Archive"
    if space usage > 85% for 5 times within 15 cycles
    then alert else if succeeded for 10 cycles then alert



    check program mountpoint_srv_dev-disk-by-label-Archive with path "/bin/mountpoint '/srv/dev-disk-by-label-Archive'"
    if status != 0 then alert


    check filesystem filesystem_srv_dev-disk-by-label-Backup with path "/srv/dev-disk-by-label-Backup"
    if space usage > 85% for 5 times within 15 cycles
    then alert else if succeeded for 10 cycles then alert



    check program mountpoint_srv_dev-disk-by-label-Backup with path "/bin/mountpoint '/srv/dev-disk-by-label-Backup'"
    if status != 0 then alert



    here the systemctl status monit.service output


    systemctl status monit.service
    ● monit.service - LSB: service and resource monitoring daemon
    Loaded: loaded (/etc/init.d/monit; generated)
    Active: failed (Result: exit-code) since Sat 2019-12-14 19:40:48 CET; 3min 48s ago
    Docs: man:systemd-sysv-generator(8)
    Process: 4918 ExecStart=/etc/init.d/monit start (code=exited, status=1/FAILURE)


    Dec 14 19:40:48 raspberrypi4 systemd[1]: Starting LSB: service and resource monitoring daemon...
    Dec 14 19:40:48 raspberrypi4 monit[4918]: Starting daemon monitor: monit/etc/monit/conf.d/openmediavault-filesystem.conf:2: Service name conflict, rootfs already defined '/'
    Dec 14 19:40:48 raspberrypi4 monit[4918]: /etc/monit/conf.d/openmediavault-filesystem.conf:7: Service name conflict, filesystem_srv_dev-disk-by-label-Archive already defined '"/srv/dev-dis
    Dec 14 19:40:48 raspberrypi4 monit[4918]: /etc/monit/conf.d/openmediavault-filesystem.conf:12: Service name conflict, mountpoint_srv_dev-disk-by-label-Archive already defined ''/srv/dev-di
    Dec 14 19:40:48 raspberrypi4 monit[4918]: /etc/monit/conf.d/openmediavault-filesystem.conf:15: Service name conflict, filesystem_srv_dev-disk-by-label-Backup already defined '"/srv/dev-dis
    Dec 14 19:40:48 raspberrypi4 monit[4918]: /etc/monit/conf.d/openmediavault-filesystem.conf:20: Service name conflict, mountpoint_srv_dev-disk-by-label-Backup already defined ''/srv/dev-dis
    Dec 14 19:40:48 raspberrypi4 monit[4918]: failed!
    Dec 14 19:40:48 raspberrypi4 systemd[1]: monit.service: Control process exited, code=exited, status=1/FAILURE
    Dec 14 19:40:48 raspberrypi4 systemd[1]: monit.service: Failed with result 'exit-code'.
    Dec 14 19:40:48 raspberrypi4 systemd[1]: Failed to start LSB: service and resource monitoring daemon.



    and
    journalctl -xe
    --
    -- The unit run-r5d1474f6100d47e5b4a30a57514baa66.scope has successfully entered the 'dead' state.
    Dec 14 19:41:01 raspberrypi4 CRON[5046]: pam_unix(cron:session): session opened for user root by (uid=0)
    Dec 14 19:41:01 raspberrypi4 CRON[5050]: (root) CMD (/usr/sbin/omv-ionice >/dev/null 2>&1)
    Dec 14 19:41:01 raspberrypi4 CRON[5046]: pam_unix(cron:session): session closed for user root
    Dec 14 19:42:01 raspberrypi4 CRON[5075]: pam_unix(cron:session): session opened for user root by (uid=0)
    Dec 14 19:42:01 raspberrypi4 CRON[5079]: (root) CMD (/usr/sbin/omv-ionice >/dev/null 2>&1)
    Dec 14 19:42:01 raspberrypi4 CRON[5075]: pam_unix(cron:session): session closed for user root
    Dec 14 19:43:01 raspberrypi4 CRON[5098]: pam_unix(cron:session): session opened for user root by (uid=0)
    Dec 14 19:43:01 raspberrypi4 CRON[5102]: (root) CMD (/usr/sbin/omv-ionice >/dev/null 2>&1)
    Dec 14 19:43:01 raspberrypi4 CRON[5098]: pam_unix(cron:session): session closed for user root
    Dec 14 19:44:01 raspberrypi4 CRON[5128]: pam_unix(cron:session): session opened for user root by (uid=0)
    Dec 14 19:44:01 raspberrypi4 CRON[5132]: (root) CMD (/usr/sbin/omv-ionice >/dev/null 2>&1)
    Dec 14 19:44:01 raspberrypi4 CRON[5128]: pam_unix(cron:session): session closed for user root
    Dec 14 19:45:01 raspberrypi4 CRON[5180]: pam_unix(cron:session): session opened for user root by (uid=0)
    Dec 14 19:45:01 raspberrypi4 CRON[5179]: pam_unix(cron:session): session opened for user root by (uid=0)
    Dec 14 19:45:01 raspberrypi4 CRON[5187]: (root) CMD (/usr/sbin/omv-mkrrdgraph >/dev/null 2>&1)
    Dec 14 19:45:01 raspberrypi4 CRON[5188]: (root) CMD (/usr/sbin/omv-ionice >/dev/null 2>&1)
    Dec 14 19:45:01 raspberrypi4 CRON[5180]: pam_unix(cron:session): session closed for user root
    Dec 14 19:45:06 raspberrypi4 CRON[5179]: pam_unix(cron:session): session closed for user root
    Dec 14 19:46:01 raspberrypi4 CRON[5338]: pam_unix(cron:session): session opened for user root by (uid=0)
    Dec 14 19:46:01 raspberrypi4 CRON[5342]: (root) CMD (/usr/sbin/omv-ionice >/dev/null 2>&1)
    Dec 14 19:46:01 raspberrypi4 CRON[5338]: pam_unix(cron:session): session closed for user root



    Uhm, really I dont understand...

    • Offizieller Beitrag

    Do you have two or four drives connected? Looks like an issue with the monit code though. @votdev

    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!