Error when deploying UniFi Network Server LXC #2293

Closed
opened 2025-11-20 05:27:00 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @titan-homelab on GitHub (Nov 10, 2025).

Have you read and understood the above guidelines?

yes

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

Unifi Network Server

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

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

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📈 Which Proxmox version are you on?

9.0.11

📝 Provide a clear and concise description of the issue.

Attempting to deploy UniFi Network Server LXC results in error:

[ERROR] in line 159: exit code 0: while executing command "$@" > /dev/null 2>&1

[ERROR] in line 1345: 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)"

🔄 Steps to reproduce the issue.

  1. Run bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/unifi.sh)"
  2. Select Default (or Advanced) settings
  3. Encounter error while installing MongoDB

Paste the full error output (if available).

   __  __      _ _____ 
  / / / /___  (_) __(_)
 / / / / __ \/ / /_/ / 
/ /_/ / / / / / __/ /  
\____/_/ /_/_/_/ /_/   
                       
  ⚙️  Using Default Settings on node hecate
  🆔  Container ID: 100
  🖥️  Operating System: debian (12)
  📦  Container Type: Unprivileged
  💾  Disk Size: 8 GB
  🧠  CPU Cores: 2
  🛠️  RAM Size: 2048 MiB
  🚀  Creating a Unifi LXC using the above default settings
  
  ✔️   Storage local (Free: 53.7GB  Used: 4.2GB) [Template]
  ✔️   Storage local-lvm (Free: 805.9GB  Used: 0.0B) [Container]
  ✔️   Template debian-12-standard_12.12-1_amd64.tar.zst [local]
  ✔️   LXC Container 100 was successfully created.
  ✔️   Started LXC Container
  ✔️   Network in LXC is reachable (ping)
  ✔️   Customized LXC Container
  ✔️   Set up Container OS
  ✔️   Network Connected: 192.168.1.122 
  ✔️   IPv4 Internet Connected
   ✖️   IPv6 Internet Not Connected
  ✔️   Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ )
  ✔️   Updated Container OS
  ✔️   Installed Dependencies
  ✔️   Installed Eclipse Temurin JRE
⠏ Installing MongoDB 7.0
[ERROR] in line 159: exit code 0: while executing command "$@" > /dev/null 2>&1

[ERROR] in line 1345: 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 @titan-homelab on GitHub (Nov 10, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Unifi Network Server ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/unifi.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📈 Which Proxmox version are you on? 9.0.11 ### 📝 Provide a clear and concise description of the issue. Attempting to deploy UniFi Network Server LXC results in error: ``` [ERROR] in line 159: exit code 0: while executing command "$@" > /dev/null 2>&1 [ERROR] in line 1345: 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)" ``` ### 🔄 Steps to reproduce the issue. 1. Run bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/unifi.sh)" 2. Select Default (or Advanced) settings 3. Encounter error while installing MongoDB ### ❌ Paste the full error output (if available). ``` __ __ _ _____ / / / /___ (_) __(_) / / / / __ \/ / /_/ / / /_/ / / / / / __/ / \____/_/ /_/_/_/ /_/ ⚙️ Using Default Settings on node hecate 🆔 Container ID: 100 🖥️ Operating System: debian (12) 📦 Container Type: Unprivileged 💾 Disk Size: 8 GB 🧠 CPU Cores: 2 🛠️ RAM Size: 2048 MiB 🚀 Creating a Unifi LXC using the above default settings ✔️ Storage local (Free: 53.7GB Used: 4.2GB) [Template] ✔️ Storage local-lvm (Free: 805.9GB Used: 0.0B) [Container] ✔️ Template debian-12-standard_12.12-1_amd64.tar.zst [local] ✔️ LXC Container 100 was successfully created. ✔️ Started LXC Container ✔️ Network in LXC is reachable (ping) ✔️ Customized LXC Container ✔️ Set up Container OS ✔️ Network Connected: 192.168.1.122 ✔️ IPv4 Internet Connected ✖️ IPv6 Internet Not Connected ✔️ Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ ) ✔️ Updated Container OS ✔️ Installed Dependencies ✔️ Installed Eclipse Temurin JRE ⠏ Installing MongoDB 7.0 [ERROR] in line 159: exit code 0: while executing command "$@" > /dev/null 2>&1 [ERROR] in line 1345: 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_
saavagebueno added the bug label 2025-11-20 05:27:00 -05:00
Author
Owner

@titan-homelab commented on GitHub (Nov 11, 2025):

Tracked this down on my end, I believe this was a DNS issue with mongodb.com. Resolving this has fixed the problem. Please ignore.

@titan-homelab commented on GitHub (Nov 11, 2025): Tracked this down on my end, I believe this was a DNS issue with mongodb.com. Resolving this has fixed the problem. Please ignore.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#2293