issue upgrading OMV - Setting up openmediavault (5.6.12-1)

  • Hello,


    I have the below issue when upgrading, can anyone help resolve the issue please?


    Setting up openmediavault (5.6.12-1) ...

    Creating configuration database ...

    Migrating configuration database ...

    Setting up Salt environment ...

    Processing system modifications ...

    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)

    • Offizieller Beitrag

    What kind of system?

    What is the output of the following:


    sudo salt-call --local --retcode-passthrough --no-color state.orchestrate omv.stage.prepare

    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!

  • Hello ryecoaaron,


    Thanks for the help. I hope that the below is what you need?


    Version: 5.6.12-1 (Usui)

    CPU:AMD A10-5800K APU with Radeon(tm) HD Graphics

    Kernel: Linux 5.9.0-0.bpo.5-amd64

    file system: ext4

    4x 3TB western digital red


    salt_|-run_state_sync_|-run_state_sync_|-state:

    ----------

    __id__:

    run_state_sync

    __run_num__:

    3

    __sls__:

    omv.stage.prepare.default

    changes:

    ----------

    out:

    highstate

    ret:

    ----------

    bigblackbox.local:

    ----------

    module_|-sync_modules_|-sync_modules_|-run:

    ----------

    __id__:

    sync_modules

    __run_num__:

    0

    __sls__:

    omv.sync.default

    changes:

    ----------

    saltutil.sync_modules:

    comment:

    saltutil.sync_modules: []

    duration:

    1153.793

    name:

    - saltutil.sync_modules

    result:

    True

    start_time:

    21:02:21.422883

    comment:

    States ran successfully. Updating bigblackbox.local.

    duration:

    1357.667

    name:

    run_state_sync

    result:

    True

    start_time:

    21:02:21.221221

    salt_|-sync_modules_|-saltutil.sync_modules_|-runner:

    ----------

    __id__:

    sync_modules

    __jid__:

    20210718200214918526

    __orchestration__:

    True

    __run_num__:

    1

    __sls__:

    omv.stage.prepare.default

    changes:

    ----------

    return:

    comment:

    Runner function 'saltutil.sync_modules' executed.

    duration:

    3792.169

    name:

    saltutil.sync_modules

    result:

    True

    start_time:

    21:02:13.220123

    salt_|-sync_runners_|-saltutil.sync_runners_|-runner:

    ----------

    __id__:

    sync_runners

    __jid__:

    20210718200210666853

    __orchestration__:

    True

    __run_num__:

    0

    __sls__:

    omv.stage.prepare.default

    changes:

    ----------

    return:

    comment:

    Runner function 'saltutil.sync_runners' executed.

    duration:

    4195.895

    name:

    saltutil.sync_runners

    result:

    True

    start_time:

    21:02:09.023752

    outputter:

    highstate

    retcode:

    0

    • Offizieller Beitrag

    That looks ok. I would try: sudo apt-get -f install now

    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!

  • Still get the same error.



    ======================================================================

    root@bigblackbox:~# sudo 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.6.12-1) ...

    Creating configuration database ...

    Migrating configuration database ...

    Setting up Salt environment ...

    Processing system modifications ...

    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)


    ========================================================================


    Also:


    root@bigblackbox:~# apt-get update

    Get:1 file:/var/cache/openmediavault/archives InRelease

    Ign:1 file:/var/cache/openmediavault/archives InRelease

    Get:2 file:/var/cache/openmediavault/archives Release

    Ign:2 file:/var/cache/openmediavault/archives Release

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en

    Ign:4 file:/var/cache/openmediavault/archives Translation-en

    Get:5 file:/var/cache/openmediavault/archives Translation-en_GB

    Ign:5 file:/var/cache/openmediavault/archives Translation-en_GB

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en

    Ign:4 file:/var/cache/openmediavault/archives Translation-en

    Get:5 file:/var/cache/openmediavault/archives Translation-en_GB

    Ign:5 file:/var/cache/openmediavault/archives Translation-en_GB

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en

    Ign:4 file:/var/cache/openmediavault/archives Translation-en

    Get:5 file:/var/cache/openmediavault/archives Translation-en_GB

    Ign:5 file:/var/cache/openmediavault/archives Translation-en_GB

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en

    Ign:4 file:/var/cache/openmediavault/archives Translation-en

    Get:5 file:/var/cache/openmediavault/archives Translation-en_GB

    Ign:5 file:/var/cache/openmediavault/archives Translation-en_GB

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en

    Ign:4 file:/var/cache/openmediavault/archives Translation-en

    Get:5 file:/var/cache/openmediavault/archives Translation-en_GB

    Ign:5 file:/var/cache/openmediavault/archives Translation-en_GB

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en

    Ign:4 file:/var/cache/openmediavault/archives Translation-en

    Get:5 file:/var/cache/openmediavault/archives Translation-en_GB

    Ign:5 file:/var/cache/openmediavault/archives Translation-en_GB

    Get:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en

    Ign:4 file:/var/cache/openmediavault/archives Translation-en

    Get:5 file:/var/cache/openmediavault/archives Translation-en_GB

    Ign:5 file:/var/cache/openmediavault/archives Translation-en_GB

    Hit:6 http://security.debian.org buster/updates InRelease

    Hit:7 http://security.debian.org/debian-security buster/updates InRelease

    Hit:8 http://packages.openmediavault.org/public usul InRelease

    Get:9 https://openmediavault.github.io/packages usul InRelease [12.7 kB]

    Hit:10 http://ftp.uk.debian.org/debian buster InRelease

    Hit:11 http://ftp.uk.debian.org/debian buster-updates InRelease

    Fetched 12.7 kB in 2s (7,684 B/s)

    Reading package lists... Done

    root@bigblackbox:~# apt-get upgrade

    Reading package lists... Done

    Building dependency tree

    Reading state information... Done

    Calculating upgrade... 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.

    Do you want to continue? [Y/n] Y

    Setting up openmediavault (5.6.12-1) ...

    Creating configuration database ...

    Migrating configuration database ...

    Setting up Salt environment ...

    Processing system modifications ...

    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)

    • Offizieller Beitrag

    What about: sudo salt-call --local --retcode-passthrough --no-color state.orchestrate omv.stage.setup

    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!

  • Hello,


    Tried a few other things, still no luck


    bigblackbox.local:

    ----------

    salt_|-run_state_setup_|-run_state_setup_|-state:

    ----------

    __id__:

    run_state_setup

    __run_num__:

    0

    __sls__:

    omv.stage.setup.default

    changes:

    ----------

    out:

    highstate

    ret:

    ----------

    bigblackbox.local:

    ----------

    cmd_|-set_system_locale_|-update-locale LANG=en_GB.UTF-8 LC_ALL=en_GB.UTF-8_|-run:

    ----------

    __id__:

    set_system_locale

    __run_num__:

    9

    __sls__:

    omv.setup.locale.default

    changes:

    ----------

    pid:

    30875

    retcode:

    0

    stderr:

    stdout:

    comment:

    Command "update-locale LANG=en_GB.UTF-8 LC_ALL=en_GB.UTF-8" run

    duration:

    72.472

    name:

    update-locale LANG=en_GB.UTF-8 LC_ALL=en_GB.UTF-8

    result:

    True

    start_time:

    23:05:18.943927

    cmd_|-udevadm_reload_rules_|-udevadm control --reload-rules_|-run:

    ----------

    __id__:

    udevadm_reload_rules

    __run_num__:

    2

    __sls__:

    omv.setup.fstab.default

    changes:

    ----------

    pid:

    26503

    retcode:

    0

    stderr:

    stdout:

    comment:

    Command "udevadm control --reload-rules" run

    duration:

    16.723

    name:

    udevadm control --reload-rules

    result:

    True

    start_time:

    23:05:02.109373

    cmd_|-udevadm_trigger_|-udevadm trigger_|-run:

    ----------

    __id__:

    udevadm_trigger

    __run_num__:

    3

    __sls__:

    omv.setup.fstab.default

    changes:

    ----------

    pid:

    26504

    retcode:

    0

    stderr:

    stdout:

    comment:

    Command "udevadm trigger" run

    duration:

    119.62

    name:

    udevadm trigger

    result:

    True

    start_time:

    23:05:02.126806

    file_|-configure_root_bashrc_|-/root/.bashrc_|-prepend:

    ----------

    __id__:

    configure_root_bashrc

    __run_num__:

    12

    __sls__:

    omv.setup.shell.10root_bashrc

    changes:

    ----------

    comment:

    File /root/.bashrc is in correct state

    duration:

    5.363

    name:

    /root/.bashrc

    result:

    True

    start_time:

    23:05:21.034761

    file_|-configure_root_inputrc_|-/root/.inputrc_|-managed:

    ----------

    __id__:

    configure_root_inputrc

    __run_num__:

    13

    __sls__:

    omv.setup.shell.20root_inputrc

    changes:

    ----------

    comment:

    File /root/.inputrc is in the correct state

    duration:

    33.119

    name:

    /root/.inputrc

    result:

    True

    start_time:

    23:05:21.040265

    file_|-create_root_bashrc_|-/root/.bashrc_|-managed:

    ----------

    __id__:

    create_root_bashrc

    __run_num__:

    11

    __sls__:

    omv.setup.shell.10root_bashrc

    changes:

    ----------

    comment:

    File /root/.bashrc exists with proper permissions. No changes made.

    duration:

    2.464

    name:

    /root/.bashrc

    result:

    True

    start_time:

    23:05:21.032168

    file_|-enable_discard_in_lvm_conf_|-/etc/lvm/lvm.conf_|-replace:

    ----------

    __id__:

    enable_discard_in_lvm_conf

    __run_num__:

    5

    __sls__:

    omv.setup.fstrim.default

    changes:

    ----------

    comment:

    No changes needed to be made

    duration:

    99.337

    name:

    /etc/lvm/lvm.conf

    result:

    True

    start_time:

    23:05:02.275225

    file_|-fix_etc_path_permissions_|-/etc_|-directory:

    ----------

    __id__:

    fix_etc_path_permissions

    __run_num__:

    1

    __sls__:

    omv.setup.fixmode.default

    changes:

    ----------

    comment:

    The directory /etc is in the correct state

    duration:

    1.055

    name:

    /etc

    result:

    True

    start_time:

    23:05:02.106671

    file_|-fix_root_path_permissions_|-/_|-directory:

    ----------

    __id__:

    fix_root_path_permissions

    __run_num__:

    0

    __sls__:

    omv.setup.fixmode.default

    changes:

    ----------

    comment:

    The directory / is in the correct state

    duration:

    1.603

    name:

    /

    result:

    True

    start_time:

    23:05:02.104930

    file_|-modify_root_profile_|-/root/.profile_|-replace:

    ----------

    __id__:

    modify_root_profile

    __run_num__:

    14

    __sls__:

    omv.setup.shell.30root_profile

    changes:

    ----------

    comment:

    No changes needed to be made

    duration:

    2.769

    name:

    /root/.profile

    result:

    True

    start_time:

    23:05:21.073532

    file_|-symlink_systemd_resolvconf_|-/etc/resolv.conf_|-symlink:

    ----------

    __id__:

    symlink_systemd_resolvconf

    __run_num__:

    10

    __sls__:

    omv.setup.resolvconf.default

    changes:

    ----------

    comment:

    onlyif condition is false

    duration:

    2014.885

    name:

    /etc/resolv.conf

    result:

    True

    skip_watch:

    True

    start_time:

    23:05:19.017018

    locale_|-generate_C.UTF-8_locale_|-C.UTF-8_|-present:

    ----------

    __id__:

    generate_C.UTF-8_locale

    __run_num__:

    7

    __sls__:

    omv.setup.locale.default

    changes:

    ----------

    comment:

    Locale C.UTF-8 is already present

    duration:

    9.78

    name:

    C.UTF-8

    result:

    True

    start_time:

    23:05:18.924120

    locale_|-generate_en_GB.UTF-8_locale_|-en_GB.UTF-8_|-present:

    ----------

    __id__:

    generate_en_GB.UTF-8_locale

    __run_num__:

    8

    __sls__:

    omv.setup.locale.default

    changes:

    ----------

    comment:

    Locale en_GB.UTF-8 is already present

    duration:

    9.506

    name:

    en_GB.UTF-8

    result:

    True

    start_time:

    23:05:18.934173

    salt_|-update_initramfs_|-update_initramfs_|-state:

    ----------

    __id__:

    update_initramfs

    __run_num__:

    6

    __sls__:

    omv.setup.initramfs.default

    changes:

    ----------

    out:

    highstate

    ret:

    ----------

    bigblackbox.local:

    ----------

    cmd_|-update_initramfs_|-update-initramfs -u_|-run:

    ----------

    __id__:

    update_initramfs

    __run_num__:

    1

    __sls__:

    omv.deploy.initramfs.default

    changes:

    ----------

    pid:

    26554

    retcode:

    0

    stderr:

    stdout:

    update-initramfs: Generating /boot/initrd.img-5.9.0-0.bpo.5-amd64

    comment:

    Command "update-initramfs -u" run

    duration:

    16364.172

    name:

    update-initramfs -u

    result:

    True

    start_time:

    23:05:02.555209

    test_|-update_initramfs_nop_|-update_initramfs_nop_|-nop:

    ----------

    __id__:

    update_initramfs_nop

    __run_num__:

    0

    __sls__:

    omv.deploy.initramfs.default

    changes:

    ----------

    comment:

    Success!

    duration:

    0.753

    name:

    update_initramfs_nop

    result:

    True

    start_time:

    23:05:02.553664

    comment:

    States ran successfully. Updating bigblackbox.local.

    duration:

    16545.619

    name:

    update_initramfs

    result:

    True

    start_time:

    23:05:02.375893

    service_|-start_fstrim_timer_|-fstrim.timer_|-running:

    ----------

    __id__:

    start_fstrim_timer

    __run_num__:

    4

    __sls__:

    omv.setup.fstrim.default

    changes:

    ----------

    comment:

    The service fstrim.timer is already running

    duration:

    25.163

    name:

    fstrim.timer

    result:

    True

    start_time:

    23:05:02.249787

    comment:

    States ran successfully. Updating bigblackbox.local.

    duration:

    19296.884

    name:

    run_state_setup

    result:

    True

    start_time:

    23:05:01.781087

    outputter:

    highstate

    retcode:

    0

    • Offizieller Beitrag

    still no luck

    I don't see any errors in the output. What does apt-get -f install report now?

    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!

  • Hello, been trying to find a solution. Removing plugins gives me the below error.


    apt-get -f install is still the same


    Error #0:
    OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export DEBIAN_FRONTEND=noninteractive; apt-get --yes --auto-remove --purge remove openmediavault-diskstats 2>&1' with exit code '100': Reading package lists...

    Building dependency tree...

    Reading state information...

    The following packages will be REMOVED: openmediavault-diskstats*
    0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
    2 not fully installed or removed.
    After this operation, 114 kB disk space will be freed.
    (Reading database ...
    (Reading database ... 5%
    (Reading database ... 10%
    (Reading database ... 15%
    (Reading database ... 20%
    (Reading database ... 25%
    (Reading database ... 30%
    (Reading database ... 35%
    (Reading database ... 40%
    (Reading database ... 45%
    (Reading database ... 50%
    (Reading database ... 55%
    (Reading database ... 60%
    (Reading database ... 65%
    (Reading database ... 70%
    (Reading database ... 75%
    (Reading database ... 80%
    (Reading database ... 85%
    (Reading database ... 90%
    (Reading database ... 95%
    (Reading database ... 100%
    (Reading database ... 78864 files and directories currently installed.)
    Removing openmediavault-diskstats (5.1.1-1) ...
    Setting up openmediavault (5.6.13-1) ...
    Creating configuration database ...
    Migrating configuration database ...
    Setting up Salt environment ...
    Processing system modifications ...
    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) in /usr/share/openmediavault/engined/rpc/pluginmgmt.inc:153
    Stack trace:
    #0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): Engined\Rpc\PluginMgmt->Engined\Rpc\{closure}('/tmp/bgstatusf7...', '/tmp/bgoutputwM...')
    #1 /usr/share/openmediavault/engined/rpc/pluginmgmt.inc(157): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
    #2 [internal function]: Engined\Rpc\PluginMgmt->remove(Array, Array)
    #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('remove', Array, Array)
    #5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Plugin', 'remove', Array, Array, 1)
    #6 {main}

Jetzt mitmachen!

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