[ERROR] in line 39: exit code 0: while executing command DOCKER_LATEST_VERSION=$(get_latest_release "moby/moby") UBUNTU #317

Closed
opened 2026-02-04 17:56:12 +03:00 by OVERLORD · 8 comments
Owner

Originally created by @userosos on GitHub (Jan 11, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Home Assistant Container LXC

📂 What was the exact command used to execute the script?

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/homeassistant.sh)"

📝 Provide a clear and concise description of the issue.


/ / / /___ ____ ___ ___ / | ()/ / _____ / /_
/ // / __ / __ __ \/ _ \ / /| | / ___/ ___/ / ___/ __/ __ / __ / __/
/ __ / /
/ / / / / / / / / ___ |( |__ ) (__ ) // // / / / / /_
// //_// // //___/ // |/////_/_,// //__/

🧩 Using Advanced Settings on node pve
🖥️ Operating System: ubuntu
🌟 Version: 24.10
📦 Container Type: Privileged
🔐 Root Password: ********
🆔 Container ID: 101
🏠 Hostname: homeassistant
💾 Disk Size: 32GB
🧠 CPU Cores: 4
🛠️ RAM Size: 4048MiB
🌉 Bridge: vmbr0
📡 IP Address: dhcp
🌐 Gateway IP Address: Default
📡 APT-Cacher IP Address: Default
🚫 Disable IPv6: no
⚙️ Interface MTU Size: Default
🔍 DNS Search Domain: Host
📡 DNS Server IP Address: Host
🏷️ Vlan: Default
📡 Tags: community-script;community-script;automation;smarthome
🔑 Root SSH Access: yes
🔍 Verbose Mode: yes
🚀 Creating a Home Assistant LXC using the above advanced settings
✔️ Using local for Template Storage.
✔️ Using local-lvm for Container Storage.
✔️ Updated LXC Template List
✔️ Downloaded LXC Template
✔️ LXC Container 101 was successfully created.
✔️ Started LXC Container
✔️ Set up Container OS
✔️ Network Connected: 192.168.31.135
✔️ IPv4 Internet Connected
✖️ IPv6 Internet Not Connected
✔️ DNS Resolved github.com to 140.82.121.3

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Ubuntu 24.10

🔄 Steps to reproduce the issue.

Go to Proxmox VE Shell

  1. bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/homeassistant.sh)"
  2. Set
    🧩 Using Advanced Settings on node pve
    🖥️ Operating System: ubuntu
    🌟 Version: 24.10
    📦 Container Type: Privileged
    🔐 Root Password: ********
    🆔 Container ID: 101
    🏠 Hostname: homeassistant
    💾 Disk Size: 32GB
    🧠 CPU Cores: 4
    🛠️ RAM Size: 4048MiB
    🌉 Bridge: vmbr0
    📡 IP Address: dhcp
    🌐 Gateway IP Address: Default
    📡 APT-Cacher IP Address: Default
    🚫 Disable IPv6: no
    ⚙️ Interface MTU Size: Default
    🔍 DNS Search Domain: Host
    📡 DNS Server IP Address: Host
    🏷️ Vlan: Default
    📡 Tags: community-script;community-script;automation;smarthome
    🔑 Root SSH Access: yes
    🔍 Verbose Mode: yes
    🚀 Creating a Home Assistant LXC using the above advanced settings
    ✔️ Using local for Template Storage.
    ✔️ Using local-lvm for Container Storage.
    ✔️ Updated LXC Template List
    ✔️ Downloaded LXC Template
    ✔️ LXC Container 101 was successfully created.
    ✔️ Started LXC Container
    ✔️ Set up Container OS
    ✔️ Network Connected: 192.168.31.135
    ✔️ IPv4 Internet Connected
    ✖️ IPv6 Internet Not Connected
    ✔️ DNS Resolved github.com to 140.82.121.3

Paste the full error output (if available).

See logs in attached.
HA_logs_ubuntu.txt

🖼️ Additional context (optional).

The fix not work.
@https://github.com/community-scripts/ProxmoxVE/issues/1427

Originally created by @userosos on GitHub (Jan 11, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Home Assistant Container LXC ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/homeassistant.sh)" ### 📝 Provide a clear and concise description of the issue. __ __ ___ _ __ __ / / / /___ ____ ___ ___ / | __________(_)____/ /_____ _____ / /_ / /_/ / __ \/ __ `__ \/ _ \ / /| | / ___/ ___/ / ___/ __/ __ `/ __ \/ __/ / __ / /_/ / / / / / / __/ / ___ |(__ |__ ) (__ ) /_/ /_/ / / / / /_ /_/ /_/\____/_/ /_/ /_/\___/ /_/ |_/____/____/_/____/\__/\__,_/_/ /_/\__/ 🧩 Using Advanced Settings on node pve 🖥️ Operating System: ubuntu 🌟 Version: 24.10 📦 Container Type: Privileged 🔐 Root Password: ******** 🆔 Container ID: 101 🏠 Hostname: homeassistant 💾 Disk Size: 32GB 🧠 CPU Cores: 4 🛠️ RAM Size: 4048MiB 🌉 Bridge: vmbr0 📡 IP Address: dhcp 🌐 Gateway IP Address: Default 📡 APT-Cacher IP Address: Default 🚫 Disable IPv6: no ⚙️ Interface MTU Size: Default 🔍 DNS Search Domain: Host 📡 DNS Server IP Address: Host 🏷️ Vlan: Default 📡 Tags: community-script;community-script;automation;smarthome 🔑 Root SSH Access: yes 🔍 Verbose Mode: yes 🚀 Creating a Home Assistant LXC using the above advanced settings ✔️ Using local for Template Storage. ✔️ Using local-lvm for Container Storage. ✔️ Updated LXC Template List ✔️ Downloaded LXC Template ✔️ LXC Container 101 was successfully created. ✔️ Started LXC Container ✔️ Set up Container OS ✔️ Network Connected: 192.168.31.135 ✔️ IPv4 Internet Connected ✖️ IPv6 Internet Not Connected ✔️ DNS Resolved github.com to 140.82.121.3 ### ⚙️ What settings are you using? - [ ] Default Settings - [X] Advanced Settings ### 🖥️ Which Linux distribution are you using? Ubuntu 24.10 ### 🔄 Steps to reproduce the issue. Go to Proxmox VE Shell 1. bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/homeassistant.sh)" 2. Set 🧩 Using Advanced Settings on node pve 🖥️ Operating System: ubuntu 🌟 Version: 24.10 📦 Container Type: Privileged 🔐 Root Password: ******** 🆔 Container ID: 101 🏠 Hostname: homeassistant 💾 Disk Size: 32GB 🧠 CPU Cores: 4 🛠️ RAM Size: 4048MiB 🌉 Bridge: vmbr0 📡 IP Address: dhcp 🌐 Gateway IP Address: Default 📡 APT-Cacher IP Address: Default 🚫 Disable IPv6: no ⚙️ Interface MTU Size: Default 🔍 DNS Search Domain: Host 📡 DNS Server IP Address: Host 🏷️ Vlan: Default 📡 Tags: community-script;community-script;automation;smarthome 🔑 Root SSH Access: yes 🔍 Verbose Mode: yes 🚀 Creating a Home Assistant LXC using the above advanced settings ✔️ Using local for Template Storage. ✔️ Using local-lvm for Container Storage. ✔️ Updated LXC Template List ✔️ Downloaded LXC Template ✔️ LXC Container 101 was successfully created. ✔️ Started LXC Container ✔️ Set up Container OS ✔️ Network Connected: 192.168.31.135 ✔️ IPv4 Internet Connected ✖️ IPv6 Internet Not Connected ✔️ DNS Resolved github.com to 140.82.121.3 ### ❌ Paste the full error output (if available). See logs in attached. [HA_logs_ubuntu.txt](https://github.com/user-attachments/files/18387170/HA_logs_ubuntu.txt) ### 🖼️ Additional context (optional). The fix not work. @https://github.com/community-scripts/ProxmoxVE/issues/1427
Author
Owner

@michelroegl-brunner commented on GitHub (Jan 11, 2025):

Can you ping api.github.com inside the lxc? Could be dns issue

@michelroegl-brunner commented on GitHub (Jan 11, 2025): Can you ping api.github.com inside the lxc? Could be dns issue
Author
Owner

@userosos commented on GitHub (Jan 11, 2025):

Can you ping api.github.com inside the lxc? Could be dns issue
In proxmox:

root@pve:~# ping api.github.com
PING api.github.com (4.225.11.201) 56(84) bytes of data.
64 bytes from 4.225.11.201 (4.225.11.201): icmp_seq=1 ttl=110 time=34.3 ms
64 bytes from 4.225.11.201 (4.225.11.201): icmp_seq=2 ttl=110 time=34.2 ms
64 bytes from 4.225.11.201 (4.225.11.201): icmp_seq=3 ttl=110 time=34.5 ms
64 bytes from 4.225.11.201 (4.225.11.201): icmp_seq=4 ttl=110 time=34.8 ms
^C
--- api.github.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 34.191/34.437/34.786/0.232 ms

In LXC:

root@homeassistant:~# ping api.github.com
PING api.github.com (4.225.11.201) 56(84) bytes of data.
64 bytes from 4.225.11.201: icmp_seq=1 ttl=110 time=34.3 ms
64 bytes from 4.225.11.201: icmp_seq=2 ttl=110 time=34.1 ms
64 bytes from 4.225.11.201: icmp_seq=3 ttl=110 time=34.2 ms
64 bytes from 4.225.11.201: icmp_seq=4 ttl=110 time=34.1 ms
^C
--- api.github.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 34.111/34.188/34.287/0.066 ms
root@homeassistant:~# 

Some other scripts works OK.

I used HA in debian and it work great (i hope the script will work in Debian LXC).

@userosos commented on GitHub (Jan 11, 2025): > Can you ping api.github.com inside the lxc? Could be dns issue In proxmox: ``` root@pve:~# ping api.github.com PING api.github.com (4.225.11.201) 56(84) bytes of data. 64 bytes from 4.225.11.201 (4.225.11.201): icmp_seq=1 ttl=110 time=34.3 ms 64 bytes from 4.225.11.201 (4.225.11.201): icmp_seq=2 ttl=110 time=34.2 ms 64 bytes from 4.225.11.201 (4.225.11.201): icmp_seq=3 ttl=110 time=34.5 ms 64 bytes from 4.225.11.201 (4.225.11.201): icmp_seq=4 ttl=110 time=34.8 ms ^C --- api.github.com ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3004ms rtt min/avg/max/mdev = 34.191/34.437/34.786/0.232 ms ``` In LXC: ``` root@homeassistant:~# ping api.github.com PING api.github.com (4.225.11.201) 56(84) bytes of data. 64 bytes from 4.225.11.201: icmp_seq=1 ttl=110 time=34.3 ms 64 bytes from 4.225.11.201: icmp_seq=2 ttl=110 time=34.1 ms 64 bytes from 4.225.11.201: icmp_seq=3 ttl=110 time=34.2 ms 64 bytes from 4.225.11.201: icmp_seq=4 ttl=110 time=34.1 ms ^C --- api.github.com ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3003ms rtt min/avg/max/mdev = 34.111/34.188/34.287/0.066 ms root@homeassistant:~# ``` Some other scripts works OK. I used HA in debian and it work great (i hope the script will work in Debian LXC).
Author
Owner

@userosos commented on GitHub (Jan 11, 2025):

I goto to the api.github.com use my browser (IP's like proxmox) and see it:
изображение
I was banned in the github? May be add Field for use github API?
@michelroegl-brunner

@userosos commented on GitHub (Jan 11, 2025): I goto to the api.github.com use my browser (IP's like proxmox) and see it: ![изображение](https://github.com/user-attachments/assets/15d3d5aa-885a-4985-b76c-af4aa35866ae) I was banned in the github? May be add Field for use github API? @michelroegl-brunner
Author
Owner

@MickLesk commented on GitHub (Jan 11, 2025):

Homeassistant has only actually full Support in Ubuntu 22.04. docker idk, but your Script failed exactly by pulling docker.

Try docker Script and install manually

@MickLesk commented on GitHub (Jan 11, 2025): Homeassistant has only actually full Support in Ubuntu 22.04. docker idk, but your Script failed exactly by pulling docker. Try docker Script and install manually
Author
Owner

@MickLesk commented on GitHub (Jan 12, 2025):

To many requests, try again later

@MickLesk commented on GitHub (Jan 12, 2025): To many requests, try again later
Author
Owner

@userosos commented on GitHub (Jan 12, 2025):

Try docker Script and install manually

Manually i use HA in VM and it work OK. But i need it in Container. I mean that i not understend you, sorry.

@userosos commented on GitHub (Jan 12, 2025): > Try docker Script and install manually Manually i use HA in VM and it work OK. But i need it in Container. I mean that i not understend you, sorry.
Author
Owner

@userosos commented on GitHub (Jan 12, 2025):

To many requests, try again later

It can be Related with?

[ERROR] in line 39: exit code 0: while executing command DOCKER_LATEST_VERSION=$(get_latest_release "moby/moby")

@userosos commented on GitHub (Jan 12, 2025): > To many requests, try again later It can be Related with? `[ERROR] in line 39: exit code 0: while executing command DOCKER_LATEST_VERSION=$(get_latest_release "moby/moby")`
Author
Owner

@michelroegl-brunner commented on GitHub (Jan 12, 2025):

It is the problem. You have only 30 or so calls to the GH Api per ?hour? or something like that. If there are to many requests from one ip, you get temp. blocked. I have this sometimes during script development. Try again in 1 or two hours.

@michelroegl-brunner commented on GitHub (Jan 12, 2025): It is the problem. You have only 30 or so calls to the GH Api per ?hour? or something like that. If there are to many requests from one ip, you get temp. blocked. I have this sometimes during script development. Try again in 1 or two hours.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#317