alpine vaultwarden script fails #2230

Closed
opened 2025-11-20 05:25:47 -05:00 by saavagebueno · 2 comments
Owner

Originally created by @MichaelTorfs on GitHub (Nov 2, 2025).

Have you read and understood the above guidelines?

yes

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

Vaultwarden: alpine-vaultwarden

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

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

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Alpine

📈 Which Proxmox version are you on?

9.0.11

📝 Provide a clear and concise description of the issue.

The script fails in the step Customizing LXC Container
See output below:

🔄 Steps to reproduce the issue.

Just execute the script with default settings (verbose) and you get the result.

Paste the full error output (if available).

⚙️ Using Default Settings on node mozes (🔍 Verbose)
🆔 Container ID: 106
🖥️ Operating System: alpine (3.22)
📦 Container Type: Unprivileged
💾 Disk Size: 1 GB
🧠 CPU Cores: 1
🛠️ RAM Size: 256 MiB
🔍 Verbose Mode: Enabled
🚀 Creating a Alpine-Vaultwarden LXC using the above default settings

✔️ Storage local (Free: 153.5GB Used: 825.5MB) [Template]
✔️ Storage local-zfs (Free: 153.5GB Used: 26.0GB) [Container]
✔️ Template alpine-3.22-default_20250617_amd64.tar.xz [local]
✔️ LXC Container 106 was successfully created.
✔️ Started LXC Container
Customizing LXC ContainerWARNING: updating and opening http://dl-cdn.alpinelinux.org/alpine/latest-stable/main: temporary error (try again later)
WARNING: updating and opening http://dl-cdn.alpinelinux.org/alpine/latest-stable/community: temporary error (try again later)
ERROR: unable to select packages:
bash (no such package):
required by: world[bash]
curl (no such package):
required by: world[curl]
jq (no such package):
required by: world[jq]
mc (no such package):
required by: world[mc]
nano (no such package):
required by: world[nano]
ncurses (no such package):
required by: world[ncurses]
newt (no such package):
required by: world[newt]
openssh (no such package):
required by: world[openssh]

[ERROR] in line 1323: exit code 0: while executing command pct exec "$CTID" -- ash -c "apk add bash newt curl openssh nano mc ncurses jq >/dev/null"

🖼️ Additional context (optional).

No response

Originally created by @MichaelTorfs on GitHub (Nov 2, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Vaultwarden: alpine-vaultwarden ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/alpine-vaultwarden.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Alpine ### 📈 Which Proxmox version are you on? 9.0.11 ### 📝 Provide a clear and concise description of the issue. The script fails in the step Customizing LXC Container See output below: ### 🔄 Steps to reproduce the issue. Just execute the script with default settings (verbose) and you get the result. ### ❌ Paste the full error output (if available). ⚙️ Using Default Settings on node mozes (🔍 Verbose) 🆔 Container ID: 106 🖥️ Operating System: alpine (3.22) 📦 Container Type: Unprivileged 💾 Disk Size: 1 GB 🧠 CPU Cores: 1 🛠️ RAM Size: 256 MiB 🔍 Verbose Mode: Enabled 🚀 Creating a Alpine-Vaultwarden LXC using the above default settings ✔️ Storage local (Free: 153.5GB Used: 825.5MB) [Template] ✔️ Storage local-zfs (Free: 153.5GB Used: 26.0GB) [Container] ✔️ Template alpine-3.22-default_20250617_amd64.tar.xz [local] ✔️ LXC Container 106 was successfully created. ✔️ Started LXC Container ⏳ Customizing LXC ContainerWARNING: updating and opening http://dl-cdn.alpinelinux.org/alpine/latest-stable/main: temporary error (try again later) WARNING: updating and opening http://dl-cdn.alpinelinux.org/alpine/latest-stable/community: temporary error (try again later) ERROR: unable to select packages: bash (no such package): required by: world[bash] curl (no such package): required by: world[curl] jq (no such package): required by: world[jq] mc (no such package): required by: world[mc] nano (no such package): required by: world[nano] ncurses (no such package): required by: world[ncurses] newt (no such package): required by: world[newt] openssh (no such package): required by: world[openssh] [ERROR] in line 1323: exit code 0: while executing command pct exec "$CTID" -- ash -c "apk add bash newt curl openssh nano mc ncurses jq >/dev/null" ### 🖼️ Additional context (optional). _No response_
saavagebueno added the bug label 2025-11-20 05:25:47 -05:00
Author
Owner

@michelroegl-brunner commented on GitHub (Nov 2, 2025):

This seems to be a upstream issue with the alpine packet manager or your lxc can not reach it, can you ping dl-cdn.alpinelinux.org from your lxc or host?

@michelroegl-brunner commented on GitHub (Nov 2, 2025): This seems to be a upstream issue with the alpine packet manager or your lxc can not reach it, can you ping dl-cdn.alpinelinux.org from your lxc or host?
Author
Owner

@MichaelTorfs commented on GitHub (Nov 2, 2025):

I'm very sorry... I could ping from the host, but not from the container, I had to take advanced options to set the correct network interface and others...
Thanks for the hint.

@MichaelTorfs commented on GitHub (Nov 2, 2025): I'm very sorry... I could ping from the host, but not from the container, I had to take advanced options to set the correct network interface and others... Thanks for the hint.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#2230