Upgrading from OMV 5 to OMV 6 - command not recognized omv-update

  • Hi,


    I've been trying to upgrade from OMV 5 to OMV 6 but when I run the command omv-release-upgrade or omv-update I get command not found. I'm am SSH'ing into OMV and running the commands as root user. I don't understand what I am missing here.




  • Code
    root@jupiter:~# dpkg -l | grep usrmerge
    root@jupiter:~# 


    Code
    root@jupiter:~# echo "$PATH"
    /usr/local/bin:/usr/bin:/bin:/usr/games
    root@jupiter:~# 
  • Run apt install usrmerge and after check for any updates via OMV GUI.


    Reboot


    Run omv-release-upgrade

  • I checked and there are no updates,


    aQznFRe.png


    I ran the command omv-release-upgrade and got command not found


    zsh: command not found: omv-release-upgrade


    (i also tried it in bash too - same error)


    I've tried (as sudo and switch to su account) the following with no luck.


    sudo apt-get update
    sudo apt-get upgrade
    sudo apt-get omv-update
    sudo apt-get omv-upgrade


    sudo apt-get update && apt-get –yes –force-yes –fix-missing –auto-remove –allow-unauthenticated –show-upgraded –option DPkg::Options::=“–force-confold” dist-upgrade


    I tried apt-get install openmediavault

    Code
    openmediavault is already the newest version (5.6.26-1).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    it looks like it doesn't have the right repositories

  • That partially worked... it was the first time I ran omv-update without getting an error. Here is a screen shot of the commands you gave me


    .bashrc

    8roFxrg.png


    echo $PATH

    dpkg -l | grep usrmerge

    sudo omv-update


    t1hxHeI.png



    ......edit.....

    I just tried the following and it seems to be upgrading to OMV 6.0....


    omv-release-upgrade


    :thumbup::thumbup::thumbup:

  • macom

    Hat das Label gelöst hinzugefügt.
  • And run dpkg -l | grep openm 

    Your list of plugins seems to contain old stuff.

    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.

  • Can I reopen an old thread or do I need to make a new one for the same problems.


    zed / :( # ls -al /usr/sbin/omv-*

    -rwxr-xr-x 1 root root 1706 Jun 15 2021 /usr/sbin/omv-aptclean

    -rwxr-xr-x 1 root root 343 Jun 15 2021 /usr/sbin/omv-changebackports

    -rwxr-xr-x 1 root root 9680 Jun 15 2021 /usr/sbin/omv-grubiso

    -rwxr-xr-x 1 root root 11987 Jun 15 2021 /usr/sbin/omv-installdocker

    -rwxr-xr-x 1 root root 1815 Jun 15 2021 /usr/sbin/omv-installproxmox

    -rwxr-xr-x 1 root root 232 Jun 15 2021 /usr/sbin/omv-removekernels

    -rwxr-xr-x 1 root root 73 Jun 15 2021 /usr/sbin/omv-showkey



    zed / # dpkg -l | grep usrmerge

    ii usrmerge 25 all Convert the system to the merged /usr directories scheme



    zed / # echo "$PATH"

    /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


    I can not run the omv-update or omv-upgrade


    zed / :( # sudo omv-upgrade

    sudo: omv-upgrade: command not found


    I then tried adding the /usr/local/sbin::/usr/sbin:/sbin


    zed / :( # export PATH="/usr/local/sbin::/usr/sbin:/sbin:$PATH"

    zed / # echo "$PATH"

    /usr/local/sbin::/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


    and I still can't get the commands to work. Any help is appreciated and let me know if I need to open a new case.




    zed / :( # sudo omv-release-upgrade

    sudo: omv-release-upgrade: command not found


    zed / :( # sudo omv-update

    sudo: omv-update: command not found

  • Unfortunately I have the same problem here with omv-update and getting an error (OMV 6 installed).

    On OMV6, the command is omv-upgrade


    Post the output inside a codebox

Jetzt mitmachen!

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