OMV 5.x Upgrade 5.x -> 6.x failing with "404 Not Found [IP: 199.232.34.132 443]"

  • Hi!


    Started my OMV 5 > 6 upgrade, following the guide here: in place upgrade OMV5 > OMV6

    but it is getting stuck with:

    Code
     Err:9 https://deb.debian.org/debian-security bullseye/updates Release
      404  Not Found [IP: 199.232.34.132 443]
    Reading package lists... Done
    E: The repository 'https://deb.debian.org/debian-security bullseye/updates Release' does not have 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.

    Any idea on this?


    Full log here: Pastebin

    • Official Post

    Try:

    sudo /usr/bin/salt-call --local saltutil.clear_cache

    sudo omv-salt stage run prepare

    sudo omv-salt deploy run apt


    If that does work, change the line in


    /etc/apt/sources.list.d/openmediavault-os-security.list


    to


    deb http://security.debian.org/debian-security bullseye-security main contrib non-free


    then


    sudo apt-get update

    omv 7.0-11 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.1 | compose 7.0.1 | cputemp 7.0 | mergerfs 7.0


    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!

  • Hi!


    Seems it is throwing errors on the "refresh_apt_database":

    Still want me to change the line in:

    Code
    /etc/apt/sources.list.d/openmediavault-os-security.list

    and try again?


    Full log on pastebin: Pastebin2

  • seems it is pointing to old repos?


    • Official Post

    Run the fix script


    sudo wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/fix5to6upgrade | sudo bash

    omv 7.0-11 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.1 | compose 7.0.1 | cputemp 7.0 | mergerfs 7.0


    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!

  • Thanks!


    Seems like it worked this time!


    Should I be worried about this:

    Or can I go ahead and reboot?


    I also seem to be getting the same error as before:

    about the repo-issue:

    Code
     salt.exceptions.CommandExecutionError: E: The repository 'https://deb.debian.org/debian-security bullseye/updates Release' does not have a Release file.
    • Official Post

    Should I be worried about this:

    Nope.


    Or can I go ahead and reboot?

    Not yet.


    I also seem to be getting the same error as before:

    What is the output of: grep -r 'deb.debian.org/debian-security' /etc/apt/*

    omv 7.0-11 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.1 | compose 7.0.1 | cputemp 7.0 | mergerfs 7.0


    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!

  • Getting this:

    Code
    root@NAS-OMV:/etc/apt# grep -r 'deb.debian.org/debian-security' /etc/apt/*
    /etc/apt/sources.list:deb https://deb.debian.org/debian-security bullseye/updates main contrib non-free
    /etc/apt/sources.list:deb-src https://deb.debian.org/debian-security bullseye/updates main contrib non-free
    root@NAS-OMV:/etc/apt#

    Which to me looks ok! It is pointing to bullseye now!


    Let me know next step.


    Thanks!

    • Official Post

    Getting this:

    Remove the security lines from /etc/apt/sources.list. Those are pointing to the wrong server and the correct entry is in openmediavault-os-security.list


    Then run

    sudo apt-get update

    sudo dpkg -l | grep openme

    omv 7.0-11 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.1 | compose 7.0.1 | cputemp 7.0 | mergerfs 7.0


    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!

  • Yep, seems you were right!


    Now getting this:


    • Official Post

    looks good for a reboot.

    omv 7.0-11 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.1 | compose 7.0.1 | cputemp 7.0 | mergerfs 7.0


    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!

  • Reboot went fine, system is back online. It however states:

    Code
    Pending configuration changes. You must apply these changes in order for them to take effect.

    and when I clicked apply, it threw a series of errors:

    Code
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color collectd 2>&1' with exit code '1': debian:

    any idea here?


    Full log on Pastebin


    Thanks!

    • Official Post

    Try:


    sudo /usr/bin/salt-call --local saltutil.clear_cache

    sudo omv-salt stage run prepare

    sudo omv-salt deploy run collectd monit

    omv 7.0-11 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.1 | compose 7.0.1 | cputemp 7.0 | mergerfs 7.0


    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!

  • Hmm, seems to be related to the UPS-setup:

    But it is already installed and running:

    Using journalctl I see the following repeating over and over:

    • Official Post

    Seems like it should be working but I don't enable monitoring on my systems. Not sure what the fix would be.

    omv 7.0-11 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.1 | compose 7.0.1 | cputemp 7.0 | mergerfs 7.0


    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!

  • odinb

    Added the Label OMV 5.x
  • odinb

    Added the Label resolved
  • odinb

    Added the Label Upgrade 5.x -> 6.x

Participate now!

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