upgrade from 5.6.xxx to 6

  • Are there any guides for upgrade?

    I believe you can SSH and issue command :


    omv-release-upgrade


    to upgrade.


    I have a the OS on USB stick.


    Any help or guide to upgrade -- I want to keep my mounts working after upgrade.

    • Official Post
  • Hey there, I am in the process of upgrade from OMV 5.6.XXX to 6 and I have the following plugins


    openmediavault-flashmemory

    openmediavault-omvextrasorg

    openmediavault-resetperms


    From my observations openmediavault-flashmemory & openmediavault-omvextrasorg are available in OMV6. However, openmediavault-resetperms is not available in OMV6.


    Should I disable openmediavault-resetperms before upgrade. Please advice.

    • Official Post

    Should I disable openmediavault-resetperms before upgrad

    It is ported - omv-extras plugins - porting progress to OMV 6.x (done)

    omv 6.4.2-1 Shaitan | 64 bit | 6.2 proxmox kernel

    plugins :: omvextrasorg 6.3.1 | kvm 6.2.14 | compose 6.7.12 | cputemp 6.1.3 | mergerfs 6.3.7


    omv-extras.org plugins source code and issue tracker - github


    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!

  • Thank you.....


    Here are the steps I gathered from this forum. Are these steps correct?


    I am assuming my mounts will not change. Can somebody confirm.


    STEPS:


    1. I boot from USB - made a clone of USB


    2. Took a detail screenshot of all the menu's including Rsync


    3. Check if installed plugin is available in OMV6

    openmediavault-flashmemory

    openmediavault-omvextrasorg

    openmediavault-resetperms


    4. Make sure your current install is correct all configs can be deployed by running:

    sudo omv-salt stage run deploy

    Get the current install up to date:

    sudo omv-upgrade

    Do the release upgrade by running:

     sudo omv-release-upgrade

    If you see an error message from patch which says a patch has alredy been

    applied, ignore it. (this is the only error to be ignored)


    5. Wait for the last script to finish and reboot.


    6. Refresh/clear browser cache (Crtl-Shift R on most browsers)


    7. Check if all services and docker containers are running as you expect. (I have none)


    8. If you see Linux image Updates you can not install on the UI, go to the cli and run

    omv-upgrade

    once more.

    • Official Post

    Looks fine to me. I have never run the omv-salt stage run deploy as part of major upgrade though.

    omv 6.4.2-1 Shaitan | 64 bit | 6.2 proxmox kernel

    plugins :: omvextrasorg 6.3.1 | kvm 6.2.14 | compose 6.7.12 | cputemp 6.1.3 | mergerfs 6.3.7


    omv-extras.org plugins source code and issue tracker - github


    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!

  • Based on feedback here is my steps


    STEPS:

    1. I boot from USB - made a clone of USB


    2. Took a detail screenshot of all the menu's including Rsync - Take shares BACKUP


    3. Check if installed plugin is available in OMV6

    openmediavault-flashmemory

    openmediavault-omvextrasorg

    openmediavault-resetperms


    4. Get the current install up to date:

    sudo omv-upgrade

    Do the release upgrade by running:

     sudo omv-release-upgrade

    If you see an error message from patch which says a patch has alredy been

    applied, ignore it. (this is the only error to be ignored)


    5. Wait for the last script to finish and reboot.


    6. Refresh/clear browser cache (Crtl-Shift R on most browsers)


    7. Check if all services and docker containers are running as you expect. (I have none)


    8. If you see Linux image Updates you can not install on the UI, go to the cli and run

    omv-upgrade

    once more.

  • Seems to have gone well.... all mounts and shares etc seem to be holding....


    However, I am not seeing the plugins....How do I install the following plugins


    openmediavault-flashmemory

    openmediavault-omvextrasorg

    openmediavault-resetperms

  • Thanks macom.

    Now I see the plugins.....However, I see the following errors - Should I be concerned?


    Setting up linux-image-amd64 (5.18.16-1~bpo11+1) ...

    Processing triggers for rsyslog (8.2102.0-2+deb11u1) ...

    Processing triggers for libc-bin (2.31-13+deb11u4) ...

    Processing triggers for initramfs-tools (0.140) ...

    update-initramfs: Generating /boot/initrd.img-5.18.0-0.deb11.4-amd64

    Processing triggers for openmediavault (6.0.42-2) ...

    Restarting engine daemon ...

    Updating workbench configuration files ...

    Errors were encountered while processing:

    grub-pc

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

    Enable cron-apt ...

    Enable apt index ...

    Removing 'local diversion of /usr/sbin/omv-mkaptidx to /usr/sbin/omv-mkaptidx.real'

    Rebuild apt index ...

    Creating index of upgradeable packages ...

    Creating index of openmediavault plugins ...

    Rebuild OMV pam config ...

    Removing 'local diversion of /etc/pam.d/openmediavault to /etc/pam.d/openmediavault.real'

    dpkg-divert: error: rename involves overwriting '/etc/pam.d/openmediavault' with

    different file '/etc/pam.d/openmediavault.real', not allowed

    Removing 'local diversion of /etc/pam.d/openmediavault-common-auth to /etc/pam.d/openmediavault-common-auth.real'

    dpkg-divert: error: rename involves overwriting '/etc/pam.d/openmediavault-common-auth' with

    different file '/etc/pam.d/openmediavault-common-auth.real', not allowed

    Removing 'local diversion of /etc/pam.d/openmediavault-webgui to /etc/pam.d/openmediavault-webgui.real'

    dpkg-divert: error: rename involves overwriting '/etc/pam.d/openmediavault-webgui' with

    different file '/etc/pam.d/openmediavault-webgui.real', not allowed

    Done.


    For grup-pc I executed

    dpkg --configure -a

    And selected my USB boot drive

  • yes it worked!

    Thanks to ryecoaaron and macom I am finalizing this "cheat sheet" to upgrade from OMV 5.6.XXX to 6:


    STEPS:


    1. If you boot from USB - make a clone of USB
    2. Take a detailed screenshot of all the menu's including Rsync - In my case all the "previous" info was retained for Rsync and others
    3. Though this upgrade will maintain your mounts and shares it is best practice to take physical backup of your shares
    4. Check if installed plugin is available in OMV6 - If OMV6 does not have your plugin you should remove/disable them before proceeding further
    5. Get the current install up to date: sudo omv-upgrade
    6. Do the release upgrade by running:  sudo omv-release-upgrade ... If you see an error message from patch which says a patch has already been applied, ignore it. (this is the only error to be ignored)
    7. Wait for the last script to finish and reboot.
    8. Refresh/clear browser cache (Crtl-Shift R on most browsers);
    9. If you do not see your plugins follow and execute the bash script https://github.com/OpenMediaVa…lob/master/fix5to6upgrade - If you use USB as boot drive execute dpkg --configure -a and select your USB boot drive BEFORE you run the bash script
    10. Check if all services and docker containers are running as you expect. (I have none)
    11. If you see Linux image Updates you can not install on the UI, go to the cli and run omv-upgrade once more.

    Feel free to correct any changes above

    Thanks everyone

Participate now!

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