Another Upgrade Error

  • I ran the most recent set of upgrades, including upgrading to the current Docker version. To get around the known problems I ran the suggested (apparmor) commands, and Docker and Portainer start normally. However, when trying to update a container I get the following error:


    Failure

    Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io on 10.28.1.1:53: read udp 10.28.1.150:36489->10.28.1.1:53: i/o timeout


    Reverting to the previous version (5:20.10.23~3-0) fixes the problem, but I would be grateful if anybody can help with a more enduring fix? DNS is set to 8.8.8.8.


    Thanks

    • Official Post

    I guess not!

    You could just bump your thread instead of thinking everyone is ignoring your post. I didn't see it myself.


    Can you pull a new image? How are you trying to update a container? From portainer?

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.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!

  • Thanks ryecoaaron, I appreciate the reply.


    I'm trying to update a container from within portainer. When I try to pull a new image I get the error, if I recreate without downloading a new image it works fine. It seems the issue relates to pulling a new image.


    Reverting back to 23.3.0 fixes the problem, i.e. I can update a container and pull a new image within portainer.


    Thanks

    • Official Post

    What apparmor commands did you run? I would also be curious if docker pull from the command line works.

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.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!

  • Thanks again


    I ran the commands listed on your post on February 2:

    sudo mkdir -p /etc/default/grub.d

    echo 'GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT apparmor=0"' | sudo tee /etc/default/grub.d/apparmor.cfg

    sudo update-grub

    sudo reboot


    Haven't tried command line, couldn't quite figure out what the equivalent command is.

  • FYI, when I first upgraded I had the same issues experienced by most, running your suggested apparmor commands fixed everything apart from this (minor) issue.

    • Official Post

    Did you reinstall docker and portainer after?

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.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!

    • Official Post

    You must have the test repo enabled. Run:


    sudo apt-get install python3-docker

    sudo omv-salt deploy run omvextras


    You can upload the text file to the post instead of external site as well.

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.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!

  • Thanks again ryecoaaron for the rapid reply. I'm not sure I have the test repo enabled, but when I run sudo apt-get install python3-docker I get the following response:


    Reading package lists... Done

    Building dependency tree... Done

    Reading state information... Done

    Some packages could not be installed. This may mean that you have

    requested an impossible situation or if you are using the unstable

    distribution that some required packages have not yet been created

    or been moved out of Incoming.

    The following information may help to resolve the situation:

    The following packages have unmet dependencies:

    python3-docker : Depends: python3-websocket (>= 0.32.0~) but it is not installable

    E: Unable to correct problems, you have held broken packages.


    Thanks for the hint regarding the text file, I will do that next time I have a large error log.

    • Official Post

    What is the output of: sudo omv-aptclean

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.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!

  • Thanks ryecoaaron output is:


    1. Cleaning apt cache files...


    2. Clearing available dpkg packages...


    3. Removing apt lists...

    removed '/var/lib/apt/lists/_var_cache_openmediavault_archives_Packages'

    removed directory '/var/lib/apt/lists/auxfiles'

    removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bullseye-updates_InRelease'

    removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bullseye-updates_main_binary-amd64_Packages'

    removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bullseye-updates_main_binary-amd64_Packages.diff_Index'

    removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bullseye-updates_main_i18n_Translation-en'

    removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bullseye-updates_main_i18n_Translation-en.diff_Index'

    removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bullseye-updates_main_source_Sources'

    removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bullseye-updates_main_source_Sources.diff_Index'

    removed '/var/lib/apt/lists/download.docker.com_linux_debian_dists_bullseye_InRelease'

    removed '/var/lib/apt/lists/download.docker.com_linux_debian_dists_bullseye_stable_binary-amd64_Packages'

    removed '/var/lib/apt/lists/httpredir.debian.org_debian_dists_bullseye-backports_InRelease'

    removed '/var/lib/apt/lists/httpredir.debian.org_debian_dists_bullseye-backports_contrib_binary-amd64_Packages'

    removed '/var/lib/apt/lists/httpredir.debian.org_debian_dists_bullseye-backports_contrib_binary-amd64_Packages.diff_Index'

    removed '/var/lib/apt/lists/httpredir.debian.org_debian_dists_bullseye-backports_contrib_i18n_Translation-en'

    removed '/var/lib/apt/lists/httpredir.debian.org_debian_dists_bullseye-backports_contrib_i18n_Translation-en.diff_Index'

    removed '/var/lib/apt/lists/httpredir.debian.org_debian_dists_bullseye-backports_main_binary-amd64_Packages'

    removed '/var/lib/apt/lists/httpredir.debian.org_debian_dists_bullseye-backports_main_binary-amd64_Packages.diff_Index'

    removed '/var/lib/apt/lists/httpredir.debian.org_debian_dists_bullseye-backports_main_i18n_Translation-en'

    removed '/var/lib/apt/lists/httpredir.debian.org_debian_dists_bullseye-backports_main_i18n_Translation-en.diff_Index'

    removed '/var/lib/apt/lists/httpredir.debian.org_debian_dists_bullseye-backports_non-free_binary-amd64_Packages'

    removed '/var/lib/apt/lists/httpredir.debian.org_debian_dists_bullseye-backports_non-free_binary-amd64_Packages.diff_Index'

    removed '/var/lib/apt/lists/httpredir.debian.org_debian_dists_bullseye-backports_non-free_i18n_Translation-en'

    removed '/var/lib/apt/lists/httpredir.debian.org_debian_dists_bullseye-backports_non-free_i18n_Translation-en.diff_Index'

    removed '/var/lib/apt/lists/lock'

    removed '/var/lib/apt/lists/openmediavault-plugin-developers.github.io_packages_debian_dists_shaitan-testing_InRelease'

    removed '/var/lib/apt/lists/openmediavault-plugin-developers.github.io_packages_debian_dists_shaitan-testing_main_binary-amd64_Packages'

    removed '/var/lib/apt/lists/openmediavault-plugin-developers.github.io_packages_debian_dists_shaitan_InRelease'

    removed '/var/lib/apt/lists/openmediavault-plugin-developers.github.io_packages_debian_dists_shaitan_main_binary-amd64_Packages'

    removed '/var/lib/apt/lists/openmediavault.github.io_packages_dists_shaitan_InRelease'

    removed '/var/lib/apt/lists/openmediavault.github.io_packages_dists_shaitan_main_binary-amd64_Packages'

    removed '/var/lib/apt/lists/packages.openmediavault.org_public_dists_shaitan_InRelease'

    removed '/var/lib/apt/lists/packages.openmediavault.org_public_dists_shaitan_main_binary-amd64_Packages'

    removed directory '/var/lib/apt/lists/partial'

    removed '/var/lib/apt/lists/repositories.intel.com_graphics_ubuntu_dists_focal_InRelease'

    removed '/var/lib/apt/lists/repositories.intel.com_graphics_ubuntu_dists_focal_main_binary-amd64_Packages'

    removed '/var/lib/apt/lists/security.debian.org_debian-security_dists_bullseye-security_InRelease'

    removed '/var/lib/apt/lists/security.debian.org_debian-security_dists_bullseye-security_main_binary-amd64_Packages'

    removed '/var/lib/apt/lists/security.debian.org_debian-security_dists_bullseye-security_main_i18n_Translation-en'

    removed '/var/lib/apt/lists/security.debian.org_debian-security_dists_bullseye-security_main_source_Sources'

    removed '/var/lib/apt/lists/security.debian.org_debian-security_dists_bullseye-security_non-free_binary-amd64_Packages'

    removed '/var/lib/apt/lists/security.debian.org_debian-security_dists_bullseye-security_non-free_i18n_Translation-en'

    removed '/var/lib/apt/lists/security.debian.org_debian-security_dists_bullseye-security_non-free_source_Sources'


    4. Removing OpenMediaVault cache packages...

    removed '/var/cache/openmediavault/archives/Packages'


    5. Creating new OpenMediaVault packages file...


    6. Updating apt...

    Get:1 file:/var/cache/openmediavault/archives InRelease

    Ign:1 file:/var/cache/openmediavault/archives InRelease

    Get:2 file:/var/cache/openmediavault/archives Release

    Ign:2 file:/var/cache/openmediavault/archives Release

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en

    Ign:4 file:/var/cache/openmediavault/archives Translation-en

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en

    Ign:4 file:/var/cache/openmediavault/archives Translation-en

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en

    Ign:4 file:/var/cache/openmediavault/archives Translation-en

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en

    Ign:4 file:/var/cache/openmediavault/archives Translation-en

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en

    Ign:4 file:/var/cache/openmediavault/archives Translation-en

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en

    Ign:4 file:/var/cache/openmediavault/archives Translation-en

    Get:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en

    Ign:4 file:/var/cache/openmediavault/archives Translation-en

    Get:5 https://download.docker.com/linux/debian bullseye InRelease [43.3 kB]

    Get:6 https://openmediavault.github.io/packages shaitan InRelease [12.8 kB]

    Get:7 https://openmediavault-plugin-…github.io/packages/debian shaitan InRelease [3934 B]

    Get:8 https://download.docker.com/linux/debian bullseye/stable amd64 Packages [21.0 kB]

    Get:9 https://openmediavault-plugin-…github.io/packages/debian shaitan-testing InRelease [3950 B]

    Get:10 http://httpredir.debian.org/debian bullseye-backports InRelease [49.0 kB]

    Get:11 https://openmediavault.github.io/packages shaitan/main amd64 Packages [12.9 kB]

    Get:12 http://packages.openmediavault.org/public shaitan InRelease [12.8 kB]

    Get:13 https://openmediavault-plugin-…github.io/packages/debian shaitan/main amd64 Packages [9340 B]

    Get:14 https://openmediavault-plugin-…github.io/packages/debian shaitan-testing/main amd64 Packages [2859 B]

    Get:15 http://httpredir.debian.org/debian bullseye-backports/main amd64 Packages [416 kB]

    Get:16 https://repositories.intel.com/graphics/ubuntu focal InRelease [3195 B]

    Get:17 http://packages.openmediavault.org/public shaitan/main amd64 Packages [12.9 kB]

    Get:18 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]

    Get:19 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]

    Get:20 http://deb.debian.org/debian bullseye-updates/main Sources [4812 B]

    Get:21 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [14.6 kB]

    Get:22 http://deb.debian.org/debian bullseye-updates/main Translation-en [7929 B]

    Get:23 http://security.debian.org/debian-security bullseye-security/non-free Sources [632 B]

    Get:24 http://security.debian.org/debian-security bullseye-security/main Sources [189 kB]

    Get:25 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [237 kB]

    Get:26 http://security.debian.org/debian-security bullseye-security/main Translation-en [156 kB]

    Get:27 http://security.debian.org/debian-security bullseye-security/non-free amd64 Packages [528 B]

    Get:28 http://security.debian.org/debian-security bullseye-security/non-free Translation-en [344 B]

    Get:29 http://httpredir.debian.org/debian bullseye-backports/main Translation-en [348 kB]

    Get:30 https://repositories.intel.com/graphics/ubuntu focal/main amd64 Packages [198 kB]

    Get:31 http://httpredir.debian.org/debian bullseye-backports/contrib amd64 Packages [5688 B]

    Get:32 http://httpredir.debian.org/debian bullseye-backports/contrib Translation-en [5832 B]

    Get:33 http://httpredir.debian.org/debian bullseye-backports/non-free amd64 Packages [14.3 kB]

    Get:34 http://httpredir.debian.org/debian bullseye-backports/non-free Translation-en [26.6 kB]

    Fetched 1906 kB in 4s (519 kB/s)

    Reading package lists... Done


    7. Saving current package list...


    8. Updating plugin index...

    Creating index of upgradeable packages ...

    Creating index of plugins ...

  • I should have also mentioned that it has installed Docker, and it's running. It just doesn't update the config in the GUI to enable Docker and then install Portainer.

    • Official Post

    what is the output of: apt-cache policy python3-docker python3-websocket

    Get:9 https://openmediavault-plugin-…github.io/packages/debian shaitan-testing InRelease [3950 B]

    You do have the testing repo enabled in omv-extras.


    et:16 https://repositories.intel.com/graphics/ubuntu focal InRelease [3195 B]

    Bad....

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.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!

  • Just checked and yes, the testing repo was enabled. I've just disabled it.


    The output from apt-cache policy python3-docker python3-websocket is:

    python3-docker:

    Installed: (none)

    Candidate: 5.0.3-1~bpo11+1

    Version table:

    5.0.3-1~bpo11+1 100

    100 http://httpredir.debian.org/debian bullseye-backports/main amd64 Packages

    python3-websocket:

    Installed: (none)

    Candidate: (none)

    Version table:


    Thanks

    • Official Post

    I just realized you are missing the main repo. Your /etc/apt/sources.list should look like this:


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

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

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.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!

  • Here's how it looks, seems ok?


    # deb cdrom:[Debian GNU/Linux 11 _Bullseye_ - Official Snapshot amd64 LIVE/INSTALL Binary 20211107-1>


    # deb cdrom:[Debian GNU/Linux 11 _Bullseye_ - Official Snapshot amd64 LIVE/INSTALL Binary 20211107-1>


    # deb http://deb.debian.org/debian/ bullseye main

    # deb-src http://deb.debian.org/debian/ bullseye main



    # bullseye-updates, to get updates before a point release is made;

    # see https://www.debian.org/doc/man…ml#_updates_and_backports

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

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


    # This system was installed using small removable media

    # (e.g. netinst, live or single CD). The matching "deb cdrom"

    # entries were disabled at the end of the installation process.

    # For information about how to configure apt package sources,

    # see the sources.list(5) manual.

    deb [arch=amd64] https://repositories.intel.com/graphics/ubuntu focal main

    # deb-src [arch=amd64] https://repositories.intel.com/graphics/ubuntu focal main


    Thanks!

    • Official Post

    # deb http://deb.debian.org/debian/ bullseye main

    This line should not be commented out.

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.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!

Participate now!

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