PVE 9.1.1 - npmplus LXC | ERROR during installation #2038

Closed
opened 2026-02-05 03:32:02 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @Ronin-Jay on GitHub (Nov 20, 2025).

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?

NPMplus 2025-05-07-r1 LXC

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

bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/npmplus.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 13

📈 Which Proxmox version are you on?

pve-manager/9.1.1/42db4a6cf33dac83 (running kernel: 6.17.2-1-pve)

📝 Provide a clear and concise description of the issue.

Tried to install npmplus as alpine LXC.

🔄 Steps to reproduce the issue.

  1. open pve-console
  2. bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/npmplus.sh)"

Paste the full error output (if available).

_   ______  __  ___      __          

/ | / / __ / |/ /___ / /_ _______
/ |/ / // / /|/ / __ / / / / / /
/ /| / / / / / // / / // ( )
/
/ |
/
/ // // .//_,/___/
/
/
⚙️ Using Default Settings on node pve-da (🔍 Verbose)
🆔 Container ID: 104
🖥️ Operating System: alpine (3.22)
📦 Container Type: Unprivileged
💾 Disk Size: 3 GB
🧠 CPU Cores: 1
🛠️ RAM Size: 512 MiB
🔍 Verbose Mode: Enabled
🚀 Creating a NPMplus LXC using the above default settings

✔️ Storage local (Free: 79.9GB Used: 7.2GB) [Template]
✔️ Storage data (Free: 815.3GB Used: 33.7GB) [Container]
✔️ Template alpine-3.22-default_20250617_amd64.tar.xz [local]
✔️ LXC Container 104 was successfully created.
✔️ Started LXC Container
✔️ Customized LXC Container
✔️ Set up Container OS
✔️ Network Connected: 192.168.178.123
✔️ Internet Connected
✔️ DNS Resolved github.com to 140.82.121.4
Updating Container OSfetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/community/x86_64/APKINDEX.tar.gz
Upgrading critical system libraries and apk-tools:
(1/1) Upgrading apk-tools (2.14.9-r2 -> 2.14.9-r3)
Executing busybox-1.37.0-r18.trigger
Continuing the upgrade transaction with new apk-tools:
fetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/community/x86_64/APKINDEX.tar.gz
(1/15) Upgrading busybox (1.37.0-r18 -> 1.37.0-r19)
Executing busybox-1.37.0-r19.post-upgrade
(2/15) Upgrading busybox-binsh (1.37.0-r18 -> 1.37.0-r19)
(3/15) Upgrading openrc-user (0.62.3-r0 -> 0.62.6-r0)
(4/15) Upgrading openrc (0.62.3-r0 -> 0.62.6-r0)
Executing openrc-0.62.6-r0.post-upgrade
(5/15) Upgrading busybox-mdev-openrc (1.37.0-r18 -> 1.37.0-r19)
(6/15) Upgrading alpine-conf (3.20.0-r0 -> 3.20.0-r1)
(7/15) Upgrading alpine-release (3.22.0-r0 -> 3.22.2-r0)
(8/15) Upgrading libcrypto3 (3.5.0-r0 -> 3.5.4-r0)
(9/15) Upgrading ca-certificates-bundle (20241121-r2 -> 20250911-r0)
(10/15) Upgrading libssl3 (3.5.0-r0 -> 3.5.4-r0)
(11/15) Upgrading ssl_client (1.37.0-r18 -> 1.37.0-r19)
(12/15) Upgrading libapk2 (2.14.9-r2 -> 2.14.9-r3)
(13/15) Upgrading busybox-openrc (1.37.0-r18 -> 1.37.0-r19)
(14/15) Upgrading busybox-suid (1.37.0-r18 -> 1.37.0-r19)
(15/15) Upgrading alpine-base (3.22.0-r0 -> 3.22.2-r0)
Executing busybox-1.37.0-r19.trigger
OK: 35 MiB in 72 packages
curl: (6) Could not resolve host: raw.githubusercontent.com
/dev/fd/63: line 2: $'\E[01': command not found

[ERROR] in line 2: exit code 127: while executing command

bash: line 14: pop_var_context: head of shell_variables not a function context
/dev/fd/63: line 288: local: can only be used in a function

[ERROR] in line 288: exit code 1: while executing command source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/tools.func)

[ERROR] in line 1346: 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).

No response

Originally created by @Ronin-Jay on GitHub (Nov 20, 2025). ### ✅ 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? NPMplus 2025-05-07-r1 LXC ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/npmplus.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 13 ### 📈 Which Proxmox version are you on? pve-manager/9.1.1/42db4a6cf33dac83 (running kernel: 6.17.2-1-pve) ### 📝 Provide a clear and concise description of the issue. Tried to install npmplus as alpine LXC. ### 🔄 Steps to reproduce the issue. 1. open pve-console 2. bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/npmplus.sh)" ### ❌ Paste the full error output (if available). _ ______ __ ___ __ / | / / __ \/ |/ /___ / /_ _______ / |/ / /_/ / /|_/ / __ \/ / / / / ___/ / /| / ____/ / / / /_/ / / /_/ (__ ) /_/ |_/_/ /_/ /_/ .___/_/\__,_/____/ /_/ ⚙️ Using Default Settings on node pve-da (🔍 Verbose) 🆔 Container ID: 104 🖥️ Operating System: alpine (3.22) 📦 Container Type: Unprivileged 💾 Disk Size: 3 GB 🧠 CPU Cores: 1 🛠️ RAM Size: 512 MiB 🔍 Verbose Mode: Enabled 🚀 Creating a NPMplus LXC using the above default settings ✔️ Storage local (Free: 79.9GB Used: 7.2GB) [Template] ✔️ Storage data (Free: 815.3GB Used: 33.7GB) [Container] ✔️ Template alpine-3.22-default_20250617_amd64.tar.xz [local] ✔️ LXC Container 104 was successfully created. ✔️ Started LXC Container ✔️ Customized LXC Container ✔️ Set up Container OS ✔️ Network Connected: 192.168.178.123 ✔️ Internet Connected ✔️ DNS Resolved github.com to 140.82.121.4 ⏳ Updating Container OSfetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/community/x86_64/APKINDEX.tar.gz Upgrading critical system libraries and apk-tools: (1/1) Upgrading apk-tools (2.14.9-r2 -> 2.14.9-r3) Executing busybox-1.37.0-r18.trigger Continuing the upgrade transaction with new apk-tools: fetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/community/x86_64/APKINDEX.tar.gz (1/15) Upgrading busybox (1.37.0-r18 -> 1.37.0-r19) Executing busybox-1.37.0-r19.post-upgrade (2/15) Upgrading busybox-binsh (1.37.0-r18 -> 1.37.0-r19) (3/15) Upgrading openrc-user (0.62.3-r0 -> 0.62.6-r0) (4/15) Upgrading openrc (0.62.3-r0 -> 0.62.6-r0) Executing openrc-0.62.6-r0.post-upgrade (5/15) Upgrading busybox-mdev-openrc (1.37.0-r18 -> 1.37.0-r19) (6/15) Upgrading alpine-conf (3.20.0-r0 -> 3.20.0-r1) (7/15) Upgrading alpine-release (3.22.0-r0 -> 3.22.2-r0) (8/15) Upgrading libcrypto3 (3.5.0-r0 -> 3.5.4-r0) (9/15) Upgrading ca-certificates-bundle (20241121-r2 -> 20250911-r0) (10/15) Upgrading libssl3 (3.5.0-r0 -> 3.5.4-r0) (11/15) Upgrading ssl_client (1.37.0-r18 -> 1.37.0-r19) (12/15) Upgrading libapk2 (2.14.9-r2 -> 2.14.9-r3) (13/15) Upgrading busybox-openrc (1.37.0-r18 -> 1.37.0-r19) (14/15) Upgrading busybox-suid (1.37.0-r18 -> 1.37.0-r19) (15/15) Upgrading alpine-base (3.22.0-r0 -> 3.22.2-r0) Executing busybox-1.37.0-r19.trigger OK: 35 MiB in 72 packages curl: (6) Could not resolve host: raw.githubusercontent.com /dev/fd/63: line 2: $'\E[01': command not found [ERROR] in line 2: exit code 127: while executing command bash: line 14: pop_var_context: head of shell_variables not a function context /dev/fd/63: line 288: local: can only be used in a function [ERROR] in line 288: exit code 1: while executing command source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/tools.func) [ERROR] in line 1346: 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). _No response_
OVERLORD added the not a script issue🛑 Failure to comply with the guidelines labels 2026-02-05 03:32:02 +03:00
Author
Owner

@MickLesk commented on GitHub (Nov 20, 2025):

curl: (6) Could not resolve host: raw.githubusercontent.com

=> No Github Connection (inside the new created LXC) = No Files for this tool. Script work as expected.

Image
@MickLesk commented on GitHub (Nov 20, 2025): curl: (6) Could not resolve host: raw.githubusercontent.com => No Github Connection (inside the new created LXC) = No Files for this tool. Script work as expected. <img width="740" height="277" alt="Image" src="https://github.com/user-attachments/assets/649ed85a-eea0-4766-a3c8-7033fed36203" />
Author
Owner

@Ronin-Jay commented on GitHub (Nov 20, 2025):

@MickLesk As you can see in my logs above DNS is working and connected to the internet:

Image

On my pve8 this script works well, but not on pve9!

@Ronin-Jay commented on GitHub (Nov 20, 2025): @MickLesk As you can see in my logs above DNS is working and connected to the internet: <img width="332" height="98" alt="Image" src="https://github.com/user-attachments/assets/6bb4f0de-4e02-45dd-828a-98c67c37f245" /> On my pve8 this script works well, but not on pve9!
Author
Owner

@MickLesk commented on GitHub (Nov 20, 2025):

Fine for you.

@MickLesk commented on GitHub (Nov 20, 2025): Fine for you.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#2038