Is there a guide to in place upgrade?

  • levoman: Check THIS post for OMV 4 to OMV 5 upgrade, then come back here. Backup before each operation.

    Riddle me this, riddle me that
    Who is afraid of the big, black bat?
    I write on a blog (Romanian mostly)
    Using latest OMV 7.x (HURRAY) on an Intel i5820K NAS (currently with proxmox kernel 6.11 with Nvidia GPU acceleration enabled)

  • I have been trying to upgrade from OMV V5 to V6 by following the instructions from here, but got stuck here:

    Quote

    pi@pi:~ $ sudo omv-release-upgrade

    Upgrading system to 6.0 (Shaitan) ...

    This system is running a desktop environment! This setup is not supported.

    pi@pi:~ $

    Any suggestions on how to overcome this?

    This is on a RPI4 4GB, running raspian.

    TIA!

    • Official Post

    I have been trying to upgrade from OMV V5 to V6 by following the instructions from here, but got stuck here:

    Any suggestions on how to overcome this?

    This is on a RPI4 4GB, running raspian.

    TIA!

    Desktop installs have never been supported.


    Install the lite os then install OMV on top of it

  • Desktop installs have never been supported.


    Install the lite os then install OMV on top of it

    Thanks for the prompt reply. I think that's what I actually did a few years ago when I initially set it up. I believe I followed the instructions from here with Raspbian Buster Lite. Is this what you were referring to?

    • Official Post

    Thanks for the prompt reply. I think that's what I actually did a few years ago when I initially set it up. I believe I followed the instructions from here with Raspbian Buster Lite. Is this what you were referring to?

    At some point you've installed something that is using desktop packages

  • At some point you've installed something that is using desktop packages

    Makes sense. So in order for me to upgrade to OMV from V5 to V6 is there a way to salvage the current install* or it is 'nuke and pave' for me?


    * I have OMV, Portainer with PiHole installed on the SD card.

    • Official Post

    sudo apt-get purge gdm3 sddm xdm xdm lightdm slim wdm

    Some of these packages might not be installed but all of them cannot be installed to install OMV 6.x+

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

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.2 | compose 7.4.4 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.1


    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!

  • sudo apt-get purge gdm3 sddm xdm xdm lightdm slim wdm

    Some of these packages might not be installed but all of them cannot be installed to install OMV 6.x+

    Thanks much for your reply. I just tried this, followed by the steps laid out before. Unfortunately I am still getting the


    "pi@pi:~ $ sudo omv-release-upgrade

    Upgrading system to 6.0 (Shaitan) ...

    This system is running a desktop environment! This setup is not supported."


    ...message.


    Any other ideas or suggestions I could try?

    • Official Post

    Any other ideas or suggestions I could try?

    Post the output of the command I gave you. The script is looking for those exact packages.

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

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.2 | compose 7.4.4 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.1


    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!

  • Post the output of the command I gave you. The script is looking for those exact packages.

    Here it is:

    • Official Post

    What about:

    dpkg -l | grep -Eqw "gdm3|sddm|lxdm|xdm|lightdm|slim|wdm"

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

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.2 | compose 7.4.4 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.1


    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!

  • What about:

    dpkg -l | grep -Eqw "gdm3|sddm|lxdm|xdm|lightdm|slim|wdm"



    Still no joy.....
    After your command I resumed from Step 2:, but ended up with the same error message.


    Is there anything else I could try?


    Here an excerpt of the log (I had to remove parts to still fit the 10,000 character limit of this forum. but I hope it still helps.)


    • Official Post

    Still no joy.....
    After your command I resumed from Step 2:, but ended up with the same error message.

    My command was not meant to do anything other than give me information since I can't see anything on the system.


    Is there anything else I could try?

    Here an excerpt of the log (I had to remove parts to still fit the 10,000 character limit of this forum. but I hope it still helps.)

    I would reinstall. Your system is a mess with a desktop environment and php7.3. It will take too much back and forth to fix.

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

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.2 | compose 7.4.4 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.1


    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!

  • My command was not meant to do anything other than give me information since I can't see anything on the system.


    I would reinstall. Your system is a mess with a desktop environment and php7.3. It will take too much back and forth to fix.

    Got it. Will do. Thanks much for all your help! I greatly appreciate it.

  • Got it. Will do. Thanks much for all your help! I greatly appreciate it.

    And use arm64 lite version instead of armhf.

  • Trying to perform my upgrade but it looks like I have an issue with my sources.list. When running sudo omv-release-upgrade I receive error


    Code
    Err:16 https://deb.debian.org/debian-security bullseye/updates Release
    404  Not Found [IP: 151.101.202.132 443]


    Later I will receive the error that Repository 'https://deb.debian.org/debian-security bullseye/updates Release' does not have Release file.


    My sources.list file:


    Code
    deb https://deb.debian.org/debian bullseye main contrib non-free
    deb-src https://deb.debian.org/debian bullseye main contrib non-free
    
    
    deb https://deb.debian.org/debian-security bullseye/updates main contrib non-free
    deb-src https://deb.debian.org/debian-security bullseye/updates main contrib non-free
    
    
    deb https://deb.debian.org/debian bullseye-updates main contrib non-free
    deb-src https://deb.debian.org/debian bullseye-updates main contrib non-free

    I'm logged into root and I can resolve deb.debain.org so it's not DNS related. Something with that particular source has changed, I'm just not sure how to resolve.

  • Later I will receive the error that Repository 'https://deb.debian.org/debian-security bullseye/updates Release' does not have Release file.

    Change the lines to

    https://deb.debian.org/debian-security bullseye-updates


    Post the output of

    sudo omv-upgrade

  • Change the lines to

    https://deb.debian.org/debian-security bullseye-updates


    Post the output of

    sudo omv-upgrade

    Thank you for the reply!


    This looks like an issue with the sudo omv-release-upgrade process. I went back to and restored my disc image and repeated the process and no issues until omv-release-upgrade runs and it fails one bullseye repository and now my sourceslist has the failing library. If I fix it with your code from above and run omv-upgrade, OMV will be removed and not reinstalled, and my system will be broken. I'll try and edit the file and run omv-release-upgrade again or try and find where the scrip is getting its source list from (assuming its local) and edit that.


  • Looking at the upgrade script, looks like it's at this point the issue occurs.


    Code
    echo "Starting release upgrade ..."
    apt-get update
    apt-get --yes --force-yes --fix-missing --auto-remove --allow-unauthenticated \
    --show-upgraded --option Dpkg::Options::="--force-confdef" \
    --option DPkg::Options::="--force-confold" --no-install-recommends \
    dist-upgrade

Participate now!

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