Is there a guide to in place upgrade?

  • My sources.list file:

    Ok, you are trying to upgrade from 5 to 6, correct?


    [EDIT]

    And you are using a PiOS that is running on armhf?


    A word of advice: start fresh with a clean SDcard but use the latest Bookworm arm64 lite OS to install OMV7 with the script.

    Armhf is deprecated and most docker container's won't run on it.

    Was asleep and just skimmed through the outputs, :sleeping:

    [/EDIT]


    Just make screenshots of the OMV5 settings you have, keep them safe and then use them as guidelines to set OMV7 as you have/need.


    If you want to keep going as you are, before running the omv-release-upgrade, you need to sort the lists.

    Make sure you disable backports and clean the repos on the omv-extras GUI.


    After, check and post the outputs of:

    sudo cat /etc/apt/sources.list

    sudo ls -al /etc/apt/sources.list.d/

    sudo cat /etc/apt/sources.list.d/*.list

  • Noticed that OMV7 is now released formally - is the upgrade process to follow going from 6 to 7 the same as detailed at the start of this thread for going from 5 to 6?

    Yes, it is still the same procedure:
    Make a clone of the OS drive, to be on the safe side.

    Run omv-upgrade to see if there's no issues with the repos.

    Check that the plugins you are using have been ported to OMV7

    Run omv-release-upgrade to move from OMV6 to OMV7.


    Post any issues that might happen before moving to the next step.


    Run the fix6to7 script if something doesn't look quite right.


    Profit

  • Not seen this - presume this is something to run in CLI? Will have a search on the forum....

    It's the same as the previous upgrade fix5to6 script.

    installScript/fix5to6upgrade at master · OpenMediaVault-Plugin-Developers/installScript (github.com)


    It can solve most of the hiccups that come with the upgrade (missing plugin list, for eg)

    installScript/fix6to7upgrade at master · OpenMediaVault-Plugin-Developers/installScript (github.com)


  • Upgraded from 6 to 7 without hiccups.

    I've seen it's recommended to install openmediavault-md plugin after upgrade, I've found no real explanation of what that plugin does (why and what for is it required?).


    I do not seem to need it. I use mergerfs and snapraid, but all drives/shares are in place.


    Also after testing win32tousb and usbmount or something and failing with both (they seem dated, I followed the instructions of the wiki with usbmount but it did not show the option to read/write), so I kept searching I found an easier and up to date solution to backup your OMV install (mine is running from a 64GB USB).


    I wanted to clone the usb, so I found that Rufus (I use win10) can do that very easy by creating a .vhmx image of the usb, then re-deploying it on another USB. (just need to click on the icon with the little floppy disk next to the source)


    I have ptsd from migration from 4 to 5, so I needed to have a real backup this time (I f'up last time with clonezilla), thus now I removed the original usb and booted from the cloned one without issues.

    This gave me the confidence to continue and the upgrade proved to be a success.


    Thank you for your work!

  • Hi guys.

    After successfully upgrade to

    Version
    7.0.2-2 (Sandworm)

    Processor
    ARMv7 Processor rev 3 (v7l)

    Kernel
    Linux 6.1.79-current-odroidxu4


    I received warnings:

    Code
    W: http://apt.armbian.com/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

    My apt-key list not showing any armbian-related file/code/?



    Code
    root@omv:~# apt update
    ........
    W: http://apt.armbian.com/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
    N: Repository 'Debian bookworm' changed its 'non-free component' value from 'non-free' to 'non-free non-free-firmware'
    N: More information about this can be found online in the Release notes at: https://www.debian.org/releases/bookworm/armhf/release-notes/ch-information.html#non-free-split

    According to this info:

    Chapter 5. Issues to be aware of for bookworm

    and:

    Code
    root@omv:~# cat /etc/apt/apt.conf.d/no-bookworm-firmware.conf
    cat: /etc/apt/apt.conf.d/no-bookworm-firmware.conf: No such file or directory


    should I only:

    Quote

    If you were pointed to this chapter by apt you can prevent it from continuously notifying you about this change by creating an apt.conf(5) file named /etc/apt/apt.conf.d/no-bookworm-firmware.conf with the following content:

    Code
    APT::Get::Update::SourceListWarnings::NonFreeFirmware "false";

    ?

    • Official Post
  • Hello

    Trying to upgrade from OMV 5 to 6 and getting the error:

    Code
    Err:14 http://httpredir.debian.org/debian buster-backports Release
      404  Not Found [IP: 146.75.2.132 80]
    Hit:15 https://download.docker.com/linux/debian buster InRelease
    Get:16 https://pkgs.tailscale.com/stable/debian buster InRelease
    Reading package lists... Done
    E: The repository 'http://httpredir.debian.org/debian buster-backports Release' no longer has a Release file.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    root@NAS:~#

    Tried to change lines in sources.list file according to this post from Metal Geek,

    Since which links to change was not specified, I changed links on line 7 and 8, then 12 and 13, but getting same error (just lines are changed)

    Code
    E: Malformed entry 7 in list file /etc/apt/sources.list (Component)
    E: The list of sources could not be read.

    This is my original sources.list file

    can you tell exactly which links to change to which?

    OMV 7.2.1-1 (Sandworm) | x86-64 |

  • After running the first line:

    sudo omv-salt stage run deploy

    I get an output of below, any concern or go for it? (I already did a full backup). Thanks.

  • EDIT: moved the complete output log file from OMV to my local PC, see attached

    Disable backports, click aptclean (don't remember if it exists) and post the output of:

    omv-upgrade


    [EDIT]

    I don't remember well but on OMV5 I think it was omv-update

    Try it if omv-upgrade doesn't

  • Can you take a look output of same command on my installation as well?

    Don't use pastebin, please.


    Put it on a txt file and attach it to the post.

  • Clicked the toggle in the GUI to disable backports and this popped up :(


    Code
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color omvextras 2>&1' with exit code '1': debian: ---------- ID: omvextrasbaserepo Function: pkgrepo.managed Name: deb https://openmediavault-plugin-developers.github.io/packages/debian usul main Result: True Comment: Package repo 'deb https://openmediavault-plugin-developers.github.io/packages/debian usul main' already configured Started: 17:16:47.152641 Duration: 81.755 ms Changes: ---------- ID: deb https://openmediavault-plugin-developers.github.io/packages/debian usul-testing main Function: pkgrepo.absent Result: True Comment: Package repo deb https://openmediavault-plugin-developers.github.io/packages/debian usul-testing main is absent Started: 17:16:47.234541 Duration: 37.082 ms Changes: ---------- ID: deb https://openmediavault-plugin-developers.github.io/packages/debian usul-extras main Function: pkgrepo.absent Result: True Comment: Package repo deb https://openmediavault-plugin-developers.github.io/packages/debian usul-extras main is absent Started: 17:16:47.271777 Duration: 38.098 ms Changes: ---------- ID: deb [arch=amd64] https://download.docker.com/linux/debian buster stable Function: pkgrepo.managed Result: True Comment: Package repo 'deb [arch=amd64] https://download.docker.com/linux/debian buster stable' already configured Started: 17:16:47.310048 Duration: 114.542 ms Changes: ---------- ID: deb http://linux.teamviewer.com/deb stable main Function: pkgrepo.managed Result: True Comment: Package repo 'deb http://linux.teamviewer.com/deb stable main' already configured Started: 17:16:47.424742 Duration: 73.015 ms Changes: ---------- ID: configure_apt_pref_omvextras Function: file.managed Name: /etc/apt/preferences.d/omvextras.pref Result: True Comment: File /etc/apt/preferences.d/omvextras.pref is in the correct state Started: 17:16:47.501152 Duration: 33.364 ms Changes: ---------- ID: refresh_database_apt Function: module.run Result: False Comment: An exception occurred in this state: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/salt/state.py", line 2172, in call *cdata["args"], **cdata["kwargs"] File "/usr/lib/python3/dist-packages/salt/loader.py", line 1235, in __call__ return self.loader.run(run_func, *args, **kwargs) File "/usr/lib/python3/dist-packages/salt/loader.py", line 2268, in run return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs) File "/usr/lib/python3/dist-packages/salt/loader.py", line 2283, in _run_as return _func_or_method(*args, **kwargs) File "/usr/lib/python3/dist-packages/salt/loader.py", line 2316, in wrapper return f(*args, **kwargs) File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 746, in _decorate return self._call_function(kwargs) File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 377, in _call_function six.reraise(*sys.exc_info()) File "/usr/lib/python3/dist-packages/salt/ext/six.py", line 693, in reraise raise value File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 360, in _call_function return self._function(*args, **kwargs) File "/usr/lib/python3/dist-packages/salt/states/module.py", line 428, in run _func, returner=kwargs.get("returner"), func_args=kwargs.get(func) File "/usr/lib/python3/dist-packages/salt/states/module.py", line 473, in _call_function mret = salt.utils.functools.call_function(__salt__[name], *func_args, **func_kwargs) File "/usr/lib/python3/dist-packages/salt/utils/functools.py", line 159, in call_function return salt_function(*function_args, **function_kwargs) File "/usr/lib/python3/dist-packages/salt/loader.py", line 1235, in __call__ return self.loader.run(run_func, *args, **kwargs) File "/usr/lib/python3/dist-packages/salt/loader.py", line 2268, in run return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs) File "/usr/lib/python3/dist-packages/salt/loader.py", line 2283, in _run_as return _func_or_method(*args, **kwargs) File "/usr/lib/python3/dist-packages/salt/modules/aptpkg.py", line 406, in refresh_db raise CommandExecutionError(comment) salt.exceptions.CommandExecutionError: E: The repository 'http://httpredir.debian.org/debian buster-backports Release' no longer has a Release file. Started: 17:16:47.535418 Duration: 4831.512 ms Changes: Summary for debian ------------ Succeeded: 6 Failed: 1 ------------ Total states run: 7 Total run time: 5.209 s

    How do I disable backports in CLI in SSH? :)

    OMV 7.0.5-1 (Sandworm)

    Edited once, last by njizm ().

  • Clicked the toggle in the GUI to disable backports and this popped up :(


    Code
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color omvextras 2>&1' with exit code '1': debian: ---------- ID: omvextrasbaserepo Function: pkgrepo.managed Name: deb https://openmediavault-plugin-developers.github.io/packages/debian usul main Result: True Comment: Package repo 'deb https://openmediavault-plugin-developers.github.io/packages/debian usul main' already configured Started: 17:16:47.152641 Duration: 81.755 ms Changes: ---------- ID: deb https://openmediavault-plugin-developers.github.io/packages/debian usul-testing main Function: pkgrepo.absent Result: True Comment: Package repo deb https://openmediavault-plugin-developers.github.io/packages/debian usul-testing main is absent Started: 17:16:47.234541 Duration: 37.082 ms Changes: ---------- ID: deb https://openmediavault-plugin-developers.github.io/packages/debian usul-extras main Function: pkgrepo.absent Result: True Comment: Package repo deb https://openmediavault-plugin-developers.github.io/packages/debian usul-extras main is absent Started: 17:16:47.271777 Duration: 38.098 ms Changes: ---------- ID: deb [arch=amd64] https://download.docker.com/linux/debian buster stable Function: pkgrepo.managed Result: True Comment: Package repo 'deb [arch=amd64] https://download.docker.com/linux/debian buster stable' already configured Started: 17:16:47.310048 Duration: 114.542 ms Changes: ---------- ID: deb http://linux.teamviewer.com/deb stable main Function: pkgrepo.managed Result: True Comment: Package repo 'deb http://linux.teamviewer.com/deb stable main' already configured Started: 17:16:47.424742 Duration: 73.015 ms Changes: ---------- ID: configure_apt_pref_omvextras Function: file.managed Name: /etc/apt/preferences.d/omvextras.pref Result: True Comment: File /etc/apt/preferences.d/omvextras.pref is in the correct state Started: 17:16:47.501152 Duration: 33.364 ms Changes: ---------- ID: refresh_database_apt Function: module.run Result: False Comment: An exception occurred in this state: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/salt/state.py", line 2172, in call *cdata["args"], **cdata["kwargs"] File "/usr/lib/python3/dist-packages/salt/loader.py", line 1235, in __call__ return self.loader.run(run_func, *args, **kwargs) File "/usr/lib/python3/dist-packages/salt/loader.py", line 2268, in run return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs) File "/usr/lib/python3/dist-packages/salt/loader.py", line 2283, in _run_as return _func_or_method(*args, **kwargs) File "/usr/lib/python3/dist-packages/salt/loader.py", line 2316, in wrapper return f(*args, **kwargs) File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 746, in _decorate return self._call_function(kwargs) File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 377, in _call_function six.reraise(*sys.exc_info()) File "/usr/lib/python3/dist-packages/salt/ext/six.py", line 693, in reraise raise value File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 360, in _call_function return self._function(*args, **kwargs) File "/usr/lib/python3/dist-packages/salt/states/module.py", line 428, in run _func, returner=kwargs.get("returner"), func_args=kwargs.get(func) File "/usr/lib/python3/dist-packages/salt/states/module.py", line 473, in _call_function mret = salt.utils.functools.call_function(__salt__[name], *func_args, **func_kwargs) File "/usr/lib/python3/dist-packages/salt/utils/functools.py", line 159, in call_function return salt_function(*function_args, **function_kwargs) File "/usr/lib/python3/dist-packages/salt/loader.py", line 1235, in __call__ return self.loader.run(run_func, *args, **kwargs) File "/usr/lib/python3/dist-packages/salt/loader.py", line 2268, in run return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs) File "/usr/lib/python3/dist-packages/salt/loader.py", line 2283, in _run_as return _func_or_method(*args, **kwargs) File "/usr/lib/python3/dist-packages/salt/modules/aptpkg.py", line 406, in refresh_db raise CommandExecutionError(comment) salt.exceptions.CommandExecutionError: E: The repository 'http://httpredir.debian.org/debian buster-backports Release' no longer has a Release file. Started: 17:16:47.535418 Duration: 4831.512 ms Changes: Summary for debian ------------ Succeeded: 6 Failed: 1 ------------ Total states run: 7 Total run time: 5.209 s

    How do I disable backports in CLI in SSH? :)

    Hi. Apologies for my limited ability, still looking for help here. Thank you!

    • Official Post

    Post the output of: sudo omv-changebackports no

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.1 | k8s 7.2.0-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    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!