Connecting to github timed out during omv-release-upgrade

  • Hello,


    I've been running OMV on a proxmox VM without major issues since a few years ago. Now I tried to upgrade from 6 to 7 and the upgrade process gets stuck at this point. On OMV6 (tested before the upgrade) there are no problems with github at all. It's during the upgrade that something broke, and can't figure out what's causing it. I've already tried to reset iptables removing all docker stuff etc. without any luck. Also uninstalled wireguard to make sure that it's not messing with some network configuration and same result. I've restored a backup and tried to run the upgrade multiple times, and always gets stuck at the same point. The only plugins/extras that I have are, docker, wireguard, snapraid, minidlna and mergerfs


    Thank you.


  • foreach

    Changed the title of the thread from “Connecting to github during upgrade timed out” to “Connecting to github timed out during omv-release-upgrade”.
    • New
    • Official Post

    Your system is failing to connect to github. There is something on your network likely causing this. Wireguard is incoming connection and shouldn't block outgoing. Did you change any firewall settings in the OMV web interface?

    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!

  • Your system is failing to connect to github. There is something on your network likely causing this. Wireguard is incoming connection and shouldn't block outgoing. Did you change any firewall settings in the OMV web interface?

    Hello, I don't see any rules on OMV firewall web interface, and I've never had one that I know of. It's weird because on the other LXC containers or VM's, github connection is working without any problems, and in OMV6 prior to do omv-release-upgrade it's working too… any more ideas... hints? Thank you.

    • New
    • Official Post

    any more ideas... hints?

    Sorry. Anything I would look at is outside of OMV. The plugin is doing a simple wget. Not much can go wrong with it other than network settings.


    What is the output of:

    wget "https://github.com/regclient/regclient/releases/download/v0.6.0/regctl-linux-amd64"

    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!

  • Here you can see both results from OMV6 and OMV7


    Executing wget from OMV6:


    Executing wget from the same VM after doing omv-release-upgrade:

    Code
    root@openmediavault:~# wget "https://github.com/regclient/regclient/releases/download/v0.6.0/regctl-linux-amd64"
    --2024-06-20 14:51:00--  https://github.com/regclient/regclient/releases/download/v0.6.0/regctl-linux-amd64
    Resolving github.com (github.com)... 140.82.121.3
    Connecting to github.com (github.com)[140.82.121.3]:443... failed: Connection timed out.
    Retrying.
    
    --2024-06-20 14:53:11--  (try: 2)  https://github.com/regclient/regclient/releases/download/v0.6.0/regctl-linux-amd64
    Connecting to github.com (github.com)[140.82.121.3]:443...
    • New
    • Official Post

    Executing wget from the same VM after doing omv-release-upgrade:

    I understand your OMV6 system works and your OMV7 system does not but I can't see your system. So, I don't know why the network settings on your omv 7 system aren't allowing a simple wget to work. OMV doesn't configure wget ever and it works on all of my OMV7 systems. You will need to post more info on your network settings.


    cat /etc/netplan/*

    cat /etc/resolv.conf

    sudo omv-salt deploy run systemd-networkd

    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!

  • This is the last part of the upgrade process:

    • New
    • Official Post

    I don't see anything that points to the VM's network causing the problem. Can you wget from other site?

    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!

  • Yes. I can.

    Code
    root@openmediavault:~# wget google.com
    --2024-06-20 17:04:11--  http://google.com/
    Resolving google.com (google.com)... 142.250.200.78, 2a00:1450:4003:80e::200e
    Connecting to google.com (google.com)[142.250.200.78]:80... connected.
    HTTP request sent, awaiting response... 301 Moved Permanently
    Location: http://www.google.com/ [following]
    --2024-06-20 17:04:11--  http://www.google.com/
    Resolving  www.google.com (www.google.com)... 216.58.215.164, 2a00:1450:4003:80f::2004
    Connecting to google.com (www.google.com)[216.58.215.164]:80... connected.
    HTTP request sent, awaiting response... 200 OK

    Maybe is something related with known_hosts?

    • New
    • Official Post

    Maybe is something related with known_hosts?

    What do you mean? The known_hosts file used by ssh? Or something else? Does wget https://www.github.com work?

    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!

    • New
    • Official Post

    Yes.

    That is only used for ssh. wget doesn't use ssh. If you were setting .netrc settings, it might affect wget.

    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!

  • Hello, finally managed to upgrade successfully. The problem was MTU value on 'ens18' interface netplan. I don't know why, it had a value of 6, and it should be 1500 in my case... Changing it to 1500 now wget github.com works... just intrigued why worked till today with this value on OMV6 but on OMV7 don't. Anyway… Thank you!

  • foreach

    Added the Label resolved

Participate now!

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