Error in Headscale VE Script #545

Closed
opened 2026-02-04 19:44:40 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @diamand2k22 on GitHub (Feb 24, 2025).

Have you read and understood the above guidelines?

yes

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

Headscale

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

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

📝 Provide a clear and concise description of the issue.

Hi, i tried to install headscale with the ve helper script, but i got a error.
Can you fix it please.

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

No response

🔄 Steps to reproduce the issue.

/ / / /__ ____ _____/ /_____________ _/ /__ / /_/ / _ \/ __/ __ / / / __ `/ / _
/ __ / __/ /
/ / /
/ (
) /
/ // / / __/
/
/ //___/_,/_,//___/_,//___/

🧩 Using Advanced Settings on node proxmox
🖥️ Operating System: debian
🌟 Version: 12
📦 Container Type: Unprivileged
🔐 Root Password: ********
🆔 Container ID: 105
🏠 Hostname: headscale
💾 Disk Size: 4 GB
🧠 CPU Cores: 1
🛠️ RAM Size: 2048 MiB
🌉 Bridge: vmbr0
📡 IP Address: xxx.xxx.xxx.xx/24
🌐 Gateway IP Address: xxx.xxx.xxx.x
📡 APT-Cacher IP Address: Default
🚫 Disable IPv6: no
⚙️ Interface MTU Size: Default
🔍 DNS Search Domain: Host
📡 DNS Server IP Address: Host
🏷️ Vlan: Default
📡 Tags: ;
🔑 Root SSH Access: no
🔍 Verbose Mode: no
🚀 Creating a Headscale LXC using the above advanced settings
✔️ Using local for Template Storage.
✔️ Using local-lvm for Container Storage.
✔️ Updated LXC Template List
✔️ LXC Template is ready to use.
✔️ LXC Container 105 was successfully created.
✔️ Started LXC Container
✔️ Set up Container OS
✔️ Network Connected: xxx.xxx.xxx.xx
✔️ IPv4 Internet Connected
✖️ IPv6 Internet Not Connected
✔️ DNS Resolved github.com to 140.82.121.3
✔️ Updated Container OS
✔️ Installed Dependencies`

Paste the full error output (if available).

[ERROR] in line 22: exit code 0: while executing command RELEASE=$(curl -s https://api.github.com/repos/juanfont/headscale/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')

🖼️ Additional context (optional).

No response

Originally created by @diamand2k22 on GitHub (Feb 24, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Headscale ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/headscale.sh)" ### 📝 Provide a clear and concise description of the issue. Hi, i tried to install headscale with the ve helper script, but i got a error. Can you fix it please. ### ⚙️ What settings are you using? - [ ] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? _No response_ ### 🔄 Steps to reproduce the issue. ` / / / /__ ____ _____/ /_____________ _/ /__ / /_/ / _ \/ __ `/ __ / ___/ ___/ __ `/ / _ \ / __ / __/ /_/ / /_/ (__ ) /__/ /_/ / / __/ /_/ /_/\___/\__,_/\__,_/____/\___/\__,_/_/\___/ 🧩 Using Advanced Settings on node proxmox 🖥️ Operating System: debian 🌟 Version: 12 📦 Container Type: Unprivileged 🔐 Root Password: ******** 🆔 Container ID: 105 🏠 Hostname: headscale 💾 Disk Size: 4 GB 🧠 CPU Cores: 1 🛠️ RAM Size: 2048 MiB 🌉 Bridge: vmbr0 📡 IP Address: xxx.xxx.xxx.xx/24 🌐 Gateway IP Address: xxx.xxx.xxx.x 📡 APT-Cacher IP Address: Default 🚫 Disable IPv6: no ⚙️ Interface MTU Size: Default 🔍 DNS Search Domain: Host 📡 DNS Server IP Address: Host 🏷️ Vlan: Default 📡 Tags: ; 🔑 Root SSH Access: no 🔍 Verbose Mode: no 🚀 Creating a Headscale LXC using the above advanced settings ✔️ Using local for Template Storage. ✔️ Using local-lvm for Container Storage. ✔️ Updated LXC Template List ✔️ LXC Template is ready to use. ✔️ LXC Container 105 was successfully created. ✔️ Started LXC Container ✔️ Set up Container OS ✔️ Network Connected: xxx.xxx.xxx.xx ✔️ IPv4 Internet Connected ✖️ IPv6 Internet Not Connected ✔️ DNS Resolved github.com to 140.82.121.3 ✔️ Updated Container OS ✔️ Installed Dependencies` ### ❌ Paste the full error output (if available). [ERROR] in line 22: exit code 0: while executing command RELEASE=$(curl -s https://api.github.com/repos/juanfont/headscale/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-04 19:44:40 +03:00
Author
Owner

@MickLesk commented on GitHub (Feb 24, 2025):

works fine. Check your DNS or Adblock:

RELEASE=$(curl -s https://api.github.com/repos/juanfont/headscale/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
echo $RELEASE
0.25.0
@MickLesk commented on GitHub (Feb 24, 2025): works fine. Check your DNS or Adblock: ```bash RELEASE=$(curl -s https://api.github.com/repos/juanfont/headscale/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') echo $RELEASE 0.25.0 ```
Author
Owner

@diamand2k22 commented on GitHub (Feb 24, 2025):

works fine. Check your DNS or Adblock:

RELEASE=$(curl -s https://api.github.com/repos/juanfont/headscale/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
echo $RELEASE
0.25.0

Thanks for the tip, that's it, my AdBlocker blocked!

@diamand2k22 commented on GitHub (Feb 24, 2025): > works fine. Check your DNS or Adblock: > > RELEASE=$(curl -s https://api.github.com/repos/juanfont/headscale/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') > echo $RELEASE > 0.25.0 Thanks for the tip, that's it, my AdBlocker blocked!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#545