Failed to upgrade OMV 4 to OMV 5

  • Hi
    I try to upgrade OMV 4 to OMV 5.

    I followed ryecoaaron guide but I got an error message when executing following commands


    Code
    omv-salt deploy run nginx
    Code
    omv-salt deploy run phpfpm

    ok



    When i type :

    Code
    apt list --installed |grep openmedia
    Zitat

    WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

    openmediavault-omvextrasorg/buster,now 5.2.6 all [installé]

    openmediavault/usul,usul,now 5.3.10-1 all [installé]


    Thank you

  • I don't see any error messages. What were you expecting?

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

  • Hello. I just upgraded from OMV4.x to OMV5.x without a hitch. All I did was unplug all data drives that had my folders on. Left only the drive plugged in to be used as OMV5.x OS. Booted from prepared installation thumb drive. Installed. Then plugged in my data drives. Re-created users and selected the folders with all my data intact.

    Never memorize something that you can look up.

    ~ Albert Einstein

  • I've tried both of those with no luck. I am also having issues after trying to upgrade from 4.x to 5.x


    I get the following:


    root@mail:~# sudo apt-get install --reinstall openmediavault Reading package lists... Done

    Building dependency tree

    Reading state information... Done

    The following packages will be REMOVED:

    openmediavault-mysql

    The following NEW packages will be installed:

    openmediavault

    0 upgraded, 1 newly installed, 1 to remove and 308 not upgraded.

    208 not fully installed or removed.

    Need to get 0 B/1,696 kB of archives.

    After this operation, 9,178 kB of additional disk space will be used.

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

    Preconfiguring packages ...

    (Reading database ... 86381 files and directories currently installed.)

    Removing openmediavault-mysql (4.1.2) ...

    /var/lib/dpkg/info/openmediavault-mysql.postrm: 6: .: Can't open /usr/share/open mediavault/scripts/helper-functions

    dpkg: error processing package openmediavault-mysql (--remove):

    installed openmediavault-mysql package post-removal script subprocess returned error exit status 127

    dpkg: too many errors, stopping

    Errors were encountered while processing:

    openmediavault-mysql

    Processing was halted because there were too many errors.

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



    Sorry if this is a repost, I'm new to this. Any help is appreciated.

    • Offizieller Beitrag

    sudo rm /var/lib/dpkg/info/openmediavault-mysql.postrm

    sudo dpkg -P openmediavault-mysql

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | 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!