MongoDB fails to install with default settings #1935

Closed
opened 2026-02-05 02:54:09 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @Aareon on GitHub (Nov 6, 2025).

Have you read and understood the above guidelines?

yes

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

MongoDB

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

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

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 13

📈 Which Proxmox version are you on?

8.4.14

📝 Provide a clear and concise description of the issue.

MongoDB fails to install properly

🔄 Steps to reproduce the issue.

  • Run script
  • Select default settings
  • Choose either Mongo 7 or 8, both versions fail with same error

Paste the full error output (if available).

    __  ___                        ____  ____ 
   /  |/  /___  ____  ____ _____  / __ \/ __ )
  / /|_/ / __ \/ __ \/ __ `/ __ \/ / / / __  |
 / /  / / /_/ / / / / /_/ / /_/ / /_/ / /_/ / 
/_/  /_/\____/_/ /_/\__, /\____/_____/_____/  
                   /____/                     
  ⚙️  Using Default Settings on node t640-1
  🆔  Container ID: 140
  🖥️  Operating System: debian (13)
  📦  Container Type: Unprivileged
  💾  Disk Size: 4 GB
  🧠  CPU Cores: 1
  🛠️  RAM Size: 512 MiB
  🚀  Creating a MongoDB LXC using the above default settings
  
  ✔️   Storage local (Free: 37.6GB  Used: 25.3GB) [Template]
  ✔️   Storage local-lvm (Free: 59.9GB  Used: 78.1GB) [Container]
  ✔️   Cluster is quorate
  ✔️   Template debian-13-standard_13.1-2_amd64.tar.zst [local]
  ✔️   LXC Container 140 was successfully created.
  ✔️   Started LXC Container
   💡   No network in LXC yet (try 1/10) – waiting...
  ✔️   Network in LXC is reachable (ping)
  ✔️   Customized LXC Container
  ✔️   Set up Container OS
  ✔️   Network Connected: 10.0.0.169 
  ✔️   IPv4 Internet Connected
   ✖️   IPv6 Internet Not Connected
  ✔️   Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ )
  ✔️   Updated Container OS
      Do you want to install MongoDB 8.0 instead of 7.0? [y/N]: 
⠦ 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 @Aareon on GitHub (Nov 6, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? MongoDB ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/mongodb.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? 8.4.14 ### 📝 Provide a clear and concise description of the issue. MongoDB fails to install properly ### 🔄 Steps to reproduce the issue. - Run script - Select default settings - Choose either Mongo 7 or 8, both versions fail with same error ### ❌ Paste the full error output (if available). ``` __ ___ ____ ____ / |/ /___ ____ ____ _____ / __ \/ __ ) / /|_/ / __ \/ __ \/ __ `/ __ \/ / / / __ | / / / / /_/ / / / / /_/ / /_/ / /_/ / /_/ / /_/ /_/\____/_/ /_/\__, /\____/_____/_____/ /____/ ⚙️ Using Default Settings on node t640-1 🆔 Container ID: 140 🖥️ Operating System: debian (13) 📦 Container Type: Unprivileged 💾 Disk Size: 4 GB 🧠 CPU Cores: 1 🛠️ RAM Size: 512 MiB 🚀 Creating a MongoDB LXC using the above default settings ✔️ Storage local (Free: 37.6GB Used: 25.3GB) [Template] ✔️ Storage local-lvm (Free: 59.9GB Used: 78.1GB) [Container] ✔️ Cluster is quorate ✔️ Template debian-13-standard_13.1-2_amd64.tar.zst [local] ✔️ LXC Container 140 was successfully created. ✔️ Started LXC Container 💡 No network in LXC yet (try 1/10) – waiting... ✔️ Network in LXC is reachable (ping) ✔️ Customized LXC Container ✔️ Set up Container OS ✔️ Network Connected: 10.0.0.169 ✔️ IPv4 Internet Connected ✖️ IPv6 Internet Not Connected ✔️ Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ ) ✔️ Updated Container OS Do you want to install MongoDB 8.0 instead of 7.0? [y/N]: ⠦ 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_
OVERLORD added the bug🛑 Failure to comply with the guidelines labels 2026-02-05 02:54:09 +03:00
Author
Owner

@tremor021 commented on GitHub (Nov 6, 2025):

@Aareon fixed with #8897

@tremor021 commented on GitHub (Nov 6, 2025): @Aareon fixed with #8897
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1935