[GH-ISSUE #12335] Tailscale script fails w/ Alpine LXC #2567

Open
opened 2026-02-26 12:52:51 +03:00 by kerem · 3 comments
Owner

Originally created by @chiefy on GitHub (Feb 25, 2026).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/12335

Originally assigned to: @MickLesk on GitHub.

Have you read and understood the above guidelines?

yes

🔎 Did you run the script with verbose mode enabled?

Yes, verbose mode was enabled and the output is included below

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

Tailscale

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

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/addon/add-tailscale-lxc.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Alpine

📈 Which Proxmox version are you on?

pve-manager/8.4.17/c8c39014680186a7 (running kernel: 6.8.12-17-pve)

📝 Provide a clear and concise description of the issue.

Tried installing Tailscale script on host for LXC container which is Alpine-based and it fails.

🔄 Steps to reproduce the issue.

  • install Alpine-based LXC (I am using the Komodo LXC)
  • run the Tailscale script

Paste the full error output (if available).

'
+ export DEBIAN_FRONTEND=noninteractive
+ DEBIAN_FRONTEND=noninteractive
+ source /etc/os-release
++ NAME='Alpine Linux'
++ ID=alpine
++ VERSION_ID=3.23.3
++ PRETTY_NAME='Alpine Linux v3.23'
++ HOME_URL=https://alpinelinux.org/
++ BUG_REPORT_URL=https://gitlab.alpinelinux.org/alpine/aports/-/issues
+ ORIG_RESOLV=/etc/resolv.conf
+ BACKUP_RESOLV=/tmp/resolv.conf.backup
+ dns_check_failed=true
+ command -v dig
+ command -v host
+ command -v nslookup
+ nslookup pkgs.tailscale.com
+ grep -q Address:
+ dns_check_failed=false
+ false
+ command -v curl
+ mkdir -p /usr/share/keyrings
+ curl -fsSL https://pkgs.tailscale.com/stable/alpine/.noarmor.gpg
+ tee /usr/share/keyrings/tailscale-archive-keyring.gpg
curl: (22) The requested URL returned error: 404
+ echo 'deb [signed-by=/usr/share/keyrings/tailscale-archive-keyring.gpg] https://pkgs.tailscale.com/stable/alpine  main'
bash: line 56: /etc/apt/sources.list.d/tailscale.list: No such file or directory
++ echo -e '\n[ERROR] in line 80: exit code 1'

[ERROR] in line 80: exit code 1
+ _telemetry_report_exit 1
+ local ec=1
+ local status=success
+ [[ 1 -ne 0 ]]
+ status=failed
+ local name=add-tailscale-lxc
+ [[ addon == \a\d\d\o\n ]]
+ post_addon_to_api add-tailscale-lxc failed 1
+ command -v curl
+ [[ no == \n\o ]]
+ return 0

🖼️ Additional context (optional).

No response

Originally created by @chiefy on GitHub (Feb 25, 2026). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/12335 Originally assigned to: @MickLesk on GitHub. ### ✅ Have you read and understood the above guidelines? yes ### 🔎 Did you run the script with verbose mode enabled? Yes, verbose mode was enabled and the output is included below ### 📜 What is the name of the script you are using? Tailscale ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/addon/add-tailscale-lxc.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Alpine ### 📈 Which Proxmox version are you on? pve-manager/8.4.17/c8c39014680186a7 (running kernel: 6.8.12-17-pve) ### 📝 Provide a clear and concise description of the issue. Tried installing Tailscale script on host for LXC container which is Alpine-based and it fails. ### 🔄 Steps to reproduce the issue. - install Alpine-based LXC (I am using the Komodo LXC) - run the Tailscale script ### ❌ Paste the full error output (if available). ``` ' + export DEBIAN_FRONTEND=noninteractive + DEBIAN_FRONTEND=noninteractive + source /etc/os-release ++ NAME='Alpine Linux' ++ ID=alpine ++ VERSION_ID=3.23.3 ++ PRETTY_NAME='Alpine Linux v3.23' ++ HOME_URL=https://alpinelinux.org/ ++ BUG_REPORT_URL=https://gitlab.alpinelinux.org/alpine/aports/-/issues + ORIG_RESOLV=/etc/resolv.conf + BACKUP_RESOLV=/tmp/resolv.conf.backup + dns_check_failed=true + command -v dig + command -v host + command -v nslookup + nslookup pkgs.tailscale.com + grep -q Address: + dns_check_failed=false + false + command -v curl + mkdir -p /usr/share/keyrings + curl -fsSL https://pkgs.tailscale.com/stable/alpine/.noarmor.gpg + tee /usr/share/keyrings/tailscale-archive-keyring.gpg curl: (22) The requested URL returned error: 404 + echo 'deb [signed-by=/usr/share/keyrings/tailscale-archive-keyring.gpg] https://pkgs.tailscale.com/stable/alpine main' bash: line 56: /etc/apt/sources.list.d/tailscale.list: No such file or directory ++ echo -e '\n[ERROR] in line 80: exit code 1' [ERROR] in line 80: exit code 1 + _telemetry_report_exit 1 + local ec=1 + local status=success + [[ 1 -ne 0 ]] + status=failed + local name=add-tailscale-lxc + [[ addon == \a\d\d\o\n ]] + post_addon_to_api add-tailscale-lxc failed 1 + command -v curl + [[ no == \n\o ]] + return 0 ``` ### 🖼️ Additional context (optional). _No response_
Author
Owner

@MickLesk commented on GitHub (Feb 25, 2026):

Should this be the correct Output? Or is this an Set -e Output?

<!-- gh-comment-id:3961279785 --> @MickLesk commented on GitHub (Feb 25, 2026): Should this be the correct Output? Or is this an Set -e Output?
Author
Owner

@chiefy commented on GitHub (Feb 25, 2026):

sorry, i did a set -x on the script locally, but it should not exit 1 (error)

<!-- gh-comment-id:3962869638 --> @chiefy commented on GitHub (Feb 25, 2026): sorry, i did a set -x on the script locally, but it should not exit 1 (error)
Author
Owner

@MickLesk commented on GitHub (Feb 26, 2026):

wasnt never implemented for alpine.

Try it from dev branch and give feedback please;
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/tools/addon/add-tailscale-lxc.sh)"

Image
<!-- gh-comment-id:3964982477 --> @MickLesk commented on GitHub (Feb 26, 2026): wasnt never implemented for alpine. Try it from dev branch and give feedback please; bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/tools/addon/add-tailscale-lxc.sh)" <img width="713" height="457" alt="Image" src="https://github.com/user-attachments/assets/43439208-c6e4-4f1e-98a9-15f62f0d6dc4" />
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#2567
No description provided.