Netbox installation error #1837

Closed
opened 2025-11-20 05:18:16 -05:00 by saavagebueno · 3 comments
Owner

Originally created by @mikedekker on GitHub (Sep 3, 2025).

Have you read and understood the above guidelines?

yes

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

Netbox

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

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

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📈 Which Proxmox version are you on?

8.3.2

📝 Provide a clear and concise description of the issue.

I receive an error when installing the Netbox container. After the error the cotainer is running and the webserver is installed but the error looks somewhere in the Netbox install.

🔄 Steps to reproduce the issue.

I run the following command:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/netbox.sh)"

I tried with advanced settings and also with default settings but both of them give the error. Triefd on multiple proxmox hosts

Paste the full error output (if available).

Adding system user netbox' (UID 105) ... Adding new group netbox' (GID 114) ...
Adding new user netbox' (UID 105) with group netbox' ...
Not creating `/nonexistent'.
chown: cannot access '/opt/netbox/netbox/media/': No such file or directory

[ERROR] in line 61: exit code 0: while executing command chown --recursive netbox /opt/netbox/netbox/media/

[ERROR] in line 1353: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/install/${var_install}.sh)"

🖼️ Additional context (optional).

_   __     __  ____            

/ | / /__ / // __ )___ _ __
/ |/ / _ / / __ / __ | |//
/ /| / __/ /
/ // / // /> <
// |/_
/_/__/_//|_|

⚙️ Using Default Settings on node
🆔 Container ID:
🖥️ Operating System: debian (12)
📦 Container Type: Unprivileged
💾 Disk Size: 4 GB
🧠 CPU Cores: 2
🛠️ RAM Size: 2048 MiB
🚀 Creating a NetBox LXC using the above default settings

✔️ Cluster is quorate
✔️ Template debian-12-standard_12.7-1_amd64.tar.zst [online]
💡 Template debian-12-standard_12.7-1_amd64.tar.zst is missing or corrupted. Re-downloading.
✔️ Template download successful.
✔️ LXC Container 111 was successfully created.
✔️ Started LXC Container
✔️ Network in LXC is reachable (ping)
✔️ Customized LXC Container
✔️ Set up Container OS
✔️ Network Connected: 192.168.2.48
✔️ 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 Python
✔️ Set up PostgreSQL
⠇ Installing NetBox (Patience)chown: cannot access '/opt/netbox/netbox/media/': No such file or directory

[ERROR] in line 61: exit code 0: while executing command chown --recursive netbox /opt/netbox/netbox/media/

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

Originally created by @mikedekker on GitHub (Sep 3, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Netbox ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/netbox.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? 8.3.2 ### 📝 Provide a clear and concise description of the issue. I receive an error when installing the Netbox container. After the error the cotainer is running and the webserver is installed but the error looks somewhere in the Netbox install. ### 🔄 Steps to reproduce the issue. I run the following command: bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/netbox.sh)" I tried with advanced settings and also with default settings but both of them give the error. Triefd on multiple proxmox hosts ### ❌ Paste the full error output (if available). Adding system user `netbox' (UID 105) ... Adding new group `netbox' (GID 114) ... Adding new user `netbox' (UID 105) with group `netbox' ... Not creating `/nonexistent'. chown: cannot access '/opt/netbox/netbox/media/': No such file or directory [ERROR] in line 61: exit code 0: while executing command chown --recursive netbox /opt/netbox/netbox/media/ [ERROR] in line 1353: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/install/${var_install}.sh)" ### 🖼️ Additional context (optional). _ __ __ ____ / | / /__ / /_/ __ )____ _ __ / |/ / _ \/ __/ __ / __ \| |/_/ / /| / __/ /_/ /_/ / /_/ /> < /_/ |_/\___/\__/_____/\____/_/|_| ⚙️ Using Default Settings on node 🆔 Container ID: 🖥️ Operating System: debian (12) 📦 Container Type: Unprivileged 💾 Disk Size: 4 GB 🧠 CPU Cores: 2 🛠️ RAM Size: 2048 MiB 🚀 Creating a NetBox LXC using the above default settings ✔️ Cluster is quorate ✔️ Template debian-12-standard_12.7-1_amd64.tar.zst [online] 💡 Template debian-12-standard_12.7-1_amd64.tar.zst is missing or corrupted. Re-downloading. ✔️ Template download successful. ✔️ LXC Container 111 was successfully created. ✔️ Started LXC Container ✔️ Network in LXC is reachable (ping) ✔️ Customized LXC Container ✔️ Set up Container OS ✔️ Network Connected: 192.168.2.48 ✔️ 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 Python ✔️ Set up PostgreSQL ⠇ Installing NetBox (Patience)chown: cannot access '/opt/netbox/netbox/media/': No such file or directory [ERROR] in line 61: exit code 0: while executing command chown --recursive netbox /opt/netbox/netbox/media/ [ERROR] in line 1353: 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)"
saavagebueno added the bug label 2025-11-20 05:18:16 -05:00
Author
Owner

@PaPa1ya commented on GitHub (Sep 3, 2025):

+1
the exact same error

@PaPa1ya commented on GitHub (Sep 3, 2025): +1 the exact same error
Author
Owner

@mrafik92 commented on GitHub (Sep 3, 2025):

+1

@mrafik92 commented on GitHub (Sep 3, 2025): +1
Author
Owner

@tremor021 commented on GitHub (Sep 3, 2025):

hmm

For some reason they removed the media directory from release archive

@tremor021 commented on GitHub (Sep 3, 2025): hmm For some reason they removed the media directory from release archive
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#1837