Guide - Upgrade OMV 6 ---> OMV 7

  • For RPi users (adding "Raspberry Pi" for the CTRL+F and forum search folks), you are also going to need to run the fix6to7upgrade script. You can do this by running

    Code
    wget -O - https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/fix6to7upgrade | bash

    Because running omv-release-upgrade will likely break your SSH config, you are probably going to need to do this with your Pi connected to a monitor and keyboard.


    In my case (see here), I also needed to run omv-salt deploy run ssh to fix the SSH config, but the aforementioned script should now take care of this as well.

    With OMV 6 now EOL, I sadly have to report that following the official in-place upgrade procedure linked above still fails:

    RE: Is there a guide to in place upgrade?
    I ran into Error 502 upon WebUI login (seems due to PHP not being properly upgraded) and remote access via ssh was denied as well.
    The Odroid-HC4 then rebooted upon calling omv-salt stage run deploy with a screen and keyboard attached, so I shall retry the upgrade again from the OMV 6 backup ;(:

    • Official Post

    The Odroid-HC4 then rebooted upon calling

    There seems to be an issue with HC4 rebooting in certain situation. One solutions reported in the forum is to disable watchdog. Another one is reported here

  • There seems to be an issue with HC4 rebooting in certain situation. One solutions reported in the forum is to disable watchdog. Another one is reported here

    Thanks, removing /etc/udev/rules.d/99-odroid-circuitpython.rules seems to have helped.
    As well as running https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/fix6to7upgrade before rebooting...
    And I had to fix the group for polkit and install the openmediavault-md extension for managing my RAID setup (as mentioned elswhere).

    • Official Post

    I had the same DNS error. But regardless of this solution, I set IPv6 to Auto in the network interface for the enp1s0 device. And that helped even without a fixed DNS.

    If you have an IPv6 network, that should be the case, yes. I assume with "Auto" you mean "dhcp"

  • Hey Guys,


    I am trying to do an update to the current version of OMV from 6.9.16-1 and I ran the first step:

    sudo omv-salt stage run deploy


    Looks like things are ready as I see:

    Summary for debian

    ------------

    Succeeded: 2 (changed=2)

    Failed: 0


    However, I just wanted to understand the following errors that I received at the very end after the total run time is displayed:

    [ERROR ] Command 'mount' failed with return code: 11

    [ERROR ] stderr: Remounting is not supported at present. You have to umount volume and then mount it once again.

    [ERROR ] retcode: 11

    [ERROR ] {'umount': 'Forced remount because options (big_writes) changed'}

    [ERROR ] Command 'mount' failed with return code: 11

    [ERROR ] stderr: Remounting is not supported at present. You have to umount volume and then mount it once again.

    [ERROR ] retcode: 11

    [ERROR ] {'umount': 'Forced remount because options (big_writes) changed'}


    Any ideas on what these errors could be related to?

  • If I run the omv-release-upgrade command to upgrade to OMV 7, what happens to Docker, containers, plugins like MergerFS and its pool, users and shares? Will everything remain as it is or will I have to do some reinstallation or reconfiguration?

    • Official Post

    If I run the omv-release-upgrade command to upgrade to OMV 7, what happens to Docker, containers, plugins like MergerFS and its pool, users and shares? Will everything remain as it is or will I have to do some reinstallation or reconfiguration?

    Everything will be in place just as you had it in OMV6. The only exception is if you have a mdadm Raid, in this case you just have to install the openmediavault-md plugin after you are on OMV7, nothing more.

  • Everything will be in place just as you had it in OMV6. The only exception is if you have a mdadm Raid, in this case you just have to install the openmediavault-md plugin after you are on OMV7, nothing more.

    All right. Okay. In addition to Docker and plugins I also installed Tailscale, 7Zip and some apps in Python. Will these apps have to be reinstalled?

    • Official Post

    Will these apps have to be reinstalled?

    7-zip? no. No idea about tailscale. python apps are dangerous to install on OMV since it can break the python libs OMV depends on. If everything comes from the debian repos, they will be upgraded since omv-release-upgrade is doing a debian upgrade.

    omv 7.7.9-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.5 | compose 7.6.5 | cterm 7.8.1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.2


    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!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!