omv 5.6.15 could not update

  • Hi,


    could not update omv 5.6.15

    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.

    3 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.15-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

    dpkg: dependency problems prevent configuration of openmediavault-diskstats:

    openmediavault-diskstats depends on openmediavault (>= 5.6.0); however:

    Package openmediavault is not configured yet.


    dpkg: error processing package openmediavault-diskstats (--configure):

    dependency problems - leaving unconfigured

    dpkg: dependency problems prevent configuration of openmediavault-omvextrasorg:

    openmediavault-omvextrasorg depends on openmediavault (>= 5.0); however:

    Package openmediavault is not configured yet.


    dpkg: error processing package openmediavault-omvextrasorg (--configure):

    dependency problems - leaving unconfigured

    Errors were encountered while processing:

    openmediavault

    openmediavault-diskstats

    openmediavault-omvextrasorg

    E: Sub-process /usr/bin/dpkg returned an error code (1)


    please, help

  • Hi!


    sergf I had the same problem when trying to update from an older version to 5.6.18 and after a lot of trial and error and searching in this forum I might have a hint: The problem seems to be related to the openmediavault-diskstats plugin and the SMTP settings.


    Thus, try the following: Change the SMTP encryption settings in System|Notifications from "0" (zero) to e.g. "none" and apply these settings.


    Not sure that this will really solve the problem, but it's worth a try.


    Best regards,

    tungdil

  • Hello, Have the same here. I've tried everything I could found on the forum but any luck so far.


  • Is OMV running properly? Is it a fresh install or an upgrade from omv4?


    dpkg -l | grep openm

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • It's running properly , was fresh install of OMV 5 year an half ego, it's happened after usual update.


    Code
    iF  openmediavault                   5.6.22-1                            all          openmediavault - The open network attached storage solution
    iU  openmediavault-flashmemory       5.0.9                               all          folder2ram plugin for OpenMediaVault
    ii  openmediavault-keyring           1.0                                 all          GnuPG archive keys of the OpenMediaVault archive
    iU  openmediavault-omvextrasorg      5.6.5                               all          OMV-Extras.org Package Repositories for OpenMediaVault
    iU  openmediavault-usbbackup         5.0.9-1                             all          openmediavault USB/eSATA backup plugin
  • Thank you, but will it wipe out my settings and data? Any details how that command works?

    It won't wipe anything out. From what I know it just nondestructively re-installs the package. I have used it a few times over the years. Didn't work everytime, but that's why I have verified to restore backups.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • sudo apt-get install --reinstall openmediavault

    Here is response.

    Code
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
    4 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    E: Internal Error, No file name for openmediavault:armhf
  • run and paste results in code box


    Code
    dpkg --audit
    apt-get -f install

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • E: Internal Error, No file name for openmediavault:armhf

    Are you running on a PPi?

  • run and paste results in code box


    Code
    dpkg --audit
    apt-get -f install

    Are you running on a PPi?

    Yes I do.

  • You can see the hints in the output: dpkg --configure openmediavault. Post the output in case of errors. if it works dpkg --configure -a for the other packages.

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • You can see the hints in the output: dpkg --configure openmediavault. Post the output in case of errors. if it works dpkg --configure -a for the other packages.

    Code
    Setting up openmediavault (5.6.23-1) ...
    Creating configuration database ...
    Migrating configuration database ...
    Running migration conf_5.6.0
    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
  • The postinstall process of openmediavault is the one which does not work. To debug this, can you change the first line of the file /var/lib/dpkg/info/openmediavault.postinst from #!/bin/sh to #!/bin/sh -x and rerun the dpkg --configure openmediavault


    Post output including the error message.


    Does anyone have a better way to debug the post-instll script?

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • The postinstall process of openmediavault is the one which does not work. To debug this, can you change the first line of the file /var/lib/dpkg/info/openmediavault.postinst from #!/bin/sh to #!/bin/sh -x and rerun the dpkg --configure openmediavault


    Post output including the error message.


    Does anyone have a better way to debug the post-instll script?

  • now this: omv-salt deploy run apt cronapt

  • omv-confdbadm migrate conf 5.2.0 and try again


    Code
    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.


    It's solved the issue:!: Thank you very much guys for your help!:thumbup::thumbup::thumbup:

  • macom

    Hat das Label gelöst hinzugefügt.
  • macom

    Hat das Label OMV 5.x hinzugefügt.

Jetzt mitmachen!

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