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

    Hat den Titel des Themas von „Connecting to github during upgrade timed out“ zu „Connecting to github timed out during omv-release-upgrade“ geändert.
    • Offizieller Beitrag

    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.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.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!

  • 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.

    • Offizieller Beitrag

    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.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.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 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...
    • Offizieller Beitrag

    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.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.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!

  • This is the last part of the upgrade process:

    • Offizieller Beitrag

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

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.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!

  • 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?

    • Offizieller Beitrag

    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.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.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!

    • Offizieller Beitrag

    Yes.

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

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.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!

  • 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

    Hat das Label gelöst hinzugefügt.
    • Offizieller Beitrag

    Is the mtu set to 6 in the web interface? I can't find anything in the code that could change the value to anything other than 0.

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.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!

  • Is the mtu set to 6 in the web interface? I can't find anything in the code that could change the value to anything other than 0.

    I've taken a look and yes, MTU is defined to 6 there..



    I should set here this value to 1500 instead setting it in the netplan file? I don't know why this field has a value.. I think I never typed any to be honest.


    Edit: I set it to 0 and applied changes, mtu disappeared from netplan file and now seems it's working good too. Maybe best option is to let it be the default value.

    • Offizieller Beitrag

    I should set here this value to 1500 instead setting it in the netplan file?

    Yes. OMV will just overwrite any change you put in the netplan file.


    Edit: I set it to 0 and applied changes, mtu disappeared from netplan file and now seems it's working good too. Maybe best option is to let it be the default value.

    good to hear.

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.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!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!