Zigbee2MQTT install error #1320

Closed
opened 2026-02-05 00:21:30 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @yhunko on GitHub (Jul 22, 2025).

Have you read and understood the above guidelines?

yes

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

Zigbee2MQTT

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

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/zigbee2mqtt.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📝 Provide a clear and concise description of the issue.

Error when fetching release metadata / curl issue:

Failed to fetch release metadata from https://api.github.com/repos/Koenkk/zigbee2mqtt/releases/latest after 3 attempts

🔄 Steps to reproduce the issue.

Step 1: Run the command in the node shell
Step 2: Select Default setting with Verbose
Step 3: Wait for Node / PNPM install
Step 4: See curl error

Paste the full error output (if available).

curl: option --connect-timeout 10 --max-time 60: is unknown
curl: try 'curl --help' or 'curl --manual' for more information
curl: option --connect-timeout 10 --max-time 60: is unknown
curl: try 'curl --help' or 'curl --manual' for more information
curl: option --connect-timeout 10 --max-time 60: is unknown
curl: try 'curl --help' or 'curl --manual' for more information
   ✖️   Failed to fetch release metadata from https://api.github.com/repos/Koenkk/zigbee2mqtt/releases/latest after 3 attempts

[ERROR] in line 28: exit code 0: while executing command return 1

[ERROR] in line 1236: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"$var_install".sh)" $?

🖼️ Additional context (optional).

  ✔️   Installed Dependencies
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'nodejs' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

changed 15 packages in 2s

25 packages are looking for funding
  run `npm fund` for details
  ✔️   Setup Node.js 24

added 1 package in 830ms

1 package is looking for funding
  run `npm fund` for details
  ✔️   Installed Node.js modules: pnpm@10.12.1
curl: option --connect-timeout 10 --max-time 60: is unknown
curl: try 'curl --help' or 'curl --manual' for more information
curl: option --connect-timeout 10 --max-time 60: is unknown
curl: try 'curl --help' or 'curl --manual' for more information
curl: option --connect-timeout 10 --max-time 60: is unknown
curl: try 'curl --help' or 'curl --manual' for more information
   ✖️   Failed to fetch release metadata from https://api.github.com/repos/Koenkk/zigbee2mqtt/releases/latest after 3 attempts

[ERROR] in line 28: exit code 0: while executing command return 1

[ERROR] in line 1236: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"$var_install".sh)" $?
Originally created by @yhunko on GitHub (Jul 22, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Zigbee2MQTT ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/zigbee2mqtt.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. Error when fetching release metadata / curl issue: ``` Failed to fetch release metadata from https://api.github.com/repos/Koenkk/zigbee2mqtt/releases/latest after 3 attempts ``` ### 🔄 Steps to reproduce the issue. Step 1: Run the command in the node shell Step 2: Select Default setting with Verbose Step 3: Wait for Node / PNPM install Step 4: See curl error ### ❌ Paste the full error output (if available). ``` curl: option --connect-timeout 10 --max-time 60: is unknown curl: try 'curl --help' or 'curl --manual' for more information curl: option --connect-timeout 10 --max-time 60: is unknown curl: try 'curl --help' or 'curl --manual' for more information curl: option --connect-timeout 10 --max-time 60: is unknown curl: try 'curl --help' or 'curl --manual' for more information ✖️ Failed to fetch release metadata from https://api.github.com/repos/Koenkk/zigbee2mqtt/releases/latest after 3 attempts [ERROR] in line 28: exit code 0: while executing command return 1 [ERROR] in line 1236: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"$var_install".sh)" $? ``` ### 🖼️ Additional context (optional). ``` ✔️ Installed Dependencies Reading package lists... Done Building dependency tree... Done Reading state information... Done Package 'nodejs' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. changed 15 packages in 2s 25 packages are looking for funding run `npm fund` for details ✔️ Setup Node.js 24 added 1 package in 830ms 1 package is looking for funding run `npm fund` for details ✔️ Installed Node.js modules: pnpm@10.12.1 curl: option --connect-timeout 10 --max-time 60: is unknown curl: try 'curl --help' or 'curl --manual' for more information curl: option --connect-timeout 10 --max-time 60: is unknown curl: try 'curl --help' or 'curl --manual' for more information curl: option --connect-timeout 10 --max-time 60: is unknown curl: try 'curl --help' or 'curl --manual' for more information ✖️ Failed to fetch release metadata from https://api.github.com/repos/Koenkk/zigbee2mqtt/releases/latest after 3 attempts [ERROR] in line 28: exit code 0: while executing command return 1 [ERROR] in line 1236: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"$var_install".sh)" $? ```
OVERLORD added the bug label 2026-02-05 00:21:30 +03:00
Author
Owner

@yhunko commented on GitHub (Jul 22, 2025):

Seems related: https://github.com/community-scripts/ProxmoxVE/issues/6147

@yhunko commented on GitHub (Jul 22, 2025): Seems related: https://github.com/community-scripts/ProxmoxVE/issues/6147
Author
Owner

@MickLesk commented on GitHub (Jul 22, 2025):

Failed to fetch release metadata from github

-> Network, DNS or whatever. Maybe bad github status atm

Edit: Github API is slow as fck, but it work - try again in some mins

@MickLesk commented on GitHub (Jul 22, 2025): Failed to fetch release metadata from github -> Network, DNS or whatever. Maybe bad github status atm Edit: Github API is slow as fck, but it work - try again in some mins
Author
Owner

@yhunko commented on GitHub (Jul 22, 2025):

As of right now - worked fine. @MickLesk thanks!

PS. Weird logs from curl: unknown params confused me 🌚

@yhunko commented on GitHub (Jul 22, 2025): As of right now - worked fine. @MickLesk thanks! PS. Weird logs from curl: unknown params confused me 🌚
Author
Owner

@MickLesk commented on GitHub (Jul 22, 2025):

stupid bash calls 😄

@MickLesk commented on GitHub (Jul 22, 2025): stupid bash calls :smile:
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1320