You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
LibreNMS is a network monitoring system.
There is quite a few steps in the installation process, so an install script would be really helpful..
The librenms script is ready for testing: bash -c "$(curl -fsSL https://github.com/community-scripts/ProxmoxVED/raw/main/ct/librenms.sh)"
Note: This is not in the official repo yet—it's just a dev version! After merging into ProxmoxVE, it will need to be recreated.
⠧Composer plugins have been disabled for safety in this non-interactive session.
Set COMPOSER_ALLOW_SUPERUSER=1 if you want to allow plugins to run as root/super user.
Do not run Composer as root/super user! See https://getcomposer.org/root for details
⠏Could not scan for classes inside "vendor/dapphp/radius" which does not appear to be a file nor a folder
LibreNMS\ComposerHelper::preInstall
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
⠋Package operations: 133 installs, 0 updates, 0 removals
Installing tightenco/ziggy (v1.8.2): Extracting archive
⠹Package influxdb/influxdb-php is abandoned, you should avoid using it. No replacement was suggested.
Package web-token/jwt-key-mgmt is abandoned, you should avoid using it. Use web-token/jwt-library instead.
Package web-token/jwt-signature is abandoned, you should avoid using it. Use web-token/jwt-library instead.
Package web-token/jwt-signature-algorithm-ecdsa is abandoned, you should avoid using it. Use web-token/jwt-library instead.
Package web-token/jwt-util-ecc is abandoned, you should avoid using it. Use web-token/jwt-library instead.
Generating optimized autoload files
⠦> Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover --ansi
⠏
INFO Discovering packages.
75 packages you are using are looking for funding.
Use the composer fund command to find out more!
⠴> LibreNMS\ComposerHelper::postInstall
⠇> Illuminate\Foundation\ComposerScripts::postInstall
After using it lately, I think it's already okay, maybe just need small touch for make it works with web proxy like nginx proxy manager... Like changing the nginx & librenms configuration itself...
Maybe the leftover is only the requirement like screenshot above. It is installed, but for root, not for librenms user account... But after running the command as librenms user account, there is no complaint from the application, and it works smoothly, and I could say it's ready for production
Very much thanks for person that make it happen 🙂👍
Activity
MickLesk commentedon Mar 25, 2025
Python3 - seperate msg
Php - seperate msg
Remove old curl mc sudo
why database after app ?
for what mariadb-client?
why nginx-full?
unzip not needed
wget not needed
github-actions commentedon Apr 24, 2025
The librenms script is ready for testing:
bash -c "$(curl -fsSL https://github.com/community-scripts/ProxmoxVED/raw/main/ct/librenms.sh)"Note: This is not in the official repo yet—it's just a dev version! After merging into ProxmoxVE, it will need to be recreated.
tremor021 commentedon Apr 24, 2025
@michelroegl-brunner this guy asks too many questions
wii747 commentedon Apr 26, 2025
Failed to install
🧩 Using Advanced Settings on node
🖥️ Operating System: debian
🌟 Version: 12
📦 Container Type: Unprivileged
🔐 Root Password: Automatic Login
🆔 Container ID: 100
🏠 Hostname: librenms
💾 Disk Size: 10 GB
🧠 CPU Cores: 2
🛠️ RAM Size: 2048 MiB
🌉 Bridge: vmbr1
📡 IP Address: dhcp
🌐 Gateway IP Address: Default
📡 APT-Cacher IP Address: Default
🚫 Disable IPv6: no
⚙️ Interface MTU Size: Default
🔍 DNS Search Domain: Host
📡 DNS Server IP Address: 192.168.70.1
🏷️ Vlan: Default
📡 Tags: community-script-dev;monitoring
🔑 Root SSH Access: no
🔧 FUSE (Filesystem in Userspace) Support: no
🔍 Verbose Mode: no
🚀 Creating a Librenms LXC using the above advanced settings
✔️ Using local for Template Storage.
✔️ Using HDD for Container Storage.
✔️ Updated LXC Template List
✔️ LXC Template is ready to use.
✔️ LXC Container 100 was successfully created.
✔️ Started LXC Container
✔️ Set up Container OS
✔️ Network Connected: 192.168.70.33
✔️ IPv4 Internet Connected
✖️ IPv6 Internet Not Connected
✔️ DNS Resolved github.com to 20.26.156.215
✔️ Updated Container OS
✔️ Core dependencies installed
✔️ Installed Dependencies
✔️ Installed PHP
✔️ Installed Python
✔️ Add User
✔️ Configured Database
✔️ Setup Librenms
⠋--2025-04-26 17:37:37-- https://getcomposer.org/composer-stable.phar
Resolving getcomposer.org (getcomposer.org)... 57.128.19.244, 2001:41d0:304:300::18ef
Connecting to getcomposer.org (getcomposer.org)|57.128.19.244|:443... connected.
⠙HTTP request sent, awaiting response... 200 OK
Length: 3114082 (3.0M) [application/octet-stream]
Saving to: ‘composer-stable.phar’
⠹
composer-stable.phar 100%[=======================>] 2.97M --.-KB/s in 0.04s
2025-04-26 17:37:37 (73.1 MB/s) - ‘composer-stable.phar’ saved [3114082/3114082]
⠧Composer plugins have been disabled for safety in this non-interactive session.
Set COMPOSER_ALLOW_SUPERUSER=1 if you want to allow plugins to run as root/super user.
Do not run Composer as root/super user! See https://getcomposer.org/root for details
⠏Could not scan for classes inside "vendor/dapphp/radius" which does not appear to be a file nor a folder
⠹The "php-http/discovery" plugin was not loaded as plugins are disabled.
⠸ - Installing nesbot/carbon (2.73.0): Extracting archive
⠹Package influxdb/influxdb-php is abandoned, you should avoid using it. No replacement was suggested.
Package web-token/jwt-key-mgmt is abandoned, you should avoid using it. Use web-token/jwt-library instead.
Package web-token/jwt-signature is abandoned, you should avoid using it. Use web-token/jwt-library instead.
Package web-token/jwt-signature-algorithm-ecdsa is abandoned, you should avoid using it. Use web-token/jwt-library instead.
Package web-token/jwt-util-ecc is abandoned, you should avoid using it. Use web-token/jwt-library instead.
Generating optimized autoload files
⠦> Illuminate\Foundation\ComposerScripts::postAutoloadDump
laravel-notification-channels/webpush ................................. DONE
laravel/socialite ..................................................... DONE
laravel/tinker ........................................................ DONE
⠋............................................................ DONE
librenms/laravel-vue-i18n-generator ................................... DONE
mews/purifier ......................................................... DONE
nesbot/carbon ......................................................... DONE
nunomaduro/termwind ................................................... DONE
spatie/laravel-ignition ............................................... DONE
spatie/laravel-permission ............................................. DONE
tightenco/ziggy ....................................................... DONE
75 packages you are using are looking for funding.
Use the
composer fundcommand to find out more!⠴> LibreNMS\ComposerHelper::postInstall
⠇> Illuminate\Foundation\ComposerScripts::postInstall
⠹.......................................................... 406ms DONE
⠴.......................................................... 251ms DONE
⠦> scripts/dynamic_check_requirements.py || pip3 install --user -r requirements.txt || :
⠼Requirement already satisfied: PyMySQL!=1.0.0 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 1)) (1.0.2)
Requirement already satisfied: python-dotenv in /usr/lib/python3/dist-packages (from -r requirements.txt (line 2)) (0.21.0)
Requirement already satisfied: redis>=4.0 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 3)) (4.3.4)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from -r requirements.txt (line 4)) (66.1.1)
⠧Collecting psutil>=5.6.0
⠇ Downloading psutil-7.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (277 kB)
⠏ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 278.0/278.0 kB 5.6 MB/s eta 0:00:00
⠋Collecting command_runner>=1.3.0
Downloading command_runner-1.7.3-py3-none-any.whl (26 kB)
⠹Installing collected packages: psutil, command_runner
⠼Successfully installed command_runner-1.7.3 psutil-7.0.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
✔️ Setup Composer
✔️ Setup PHP
✔️ Setup MariaDB
✔️ Configured PHP-FPM
✔️ Configured Nginx
⠋ Configure Services
[ERROR] in line 144: exit code 0: while executing command RANDOM_STRING=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1)
rapdodge commentedon May 2, 2025
I'm testing LibreNMS this day... So there is something that still needs improvement, like set the php.ini date, mariadb librenms username and password
And I'm encountered this error... But maybe I just need to wait some times...

MickLesk commentedon May 5, 2025
@michelroegl-brunner
rapdodge commentedon May 13, 2025
After using it lately, I think it's already okay, maybe just need small touch for make it works with web proxy like nginx proxy manager... Like changing the nginx & librenms configuration itself...
Maybe the leftover is only the requirement like screenshot above. It is installed, but for root, not for librenms user account... But after running the command as librenms user account, there is no complaint from the application, and it works smoothly, and I could say it's ready for production
Very much thanks for person that make it happen 🙂👍
michelroegl-brunner commentedon May 14, 2025
@rapdodge You mean run the pip install as librenms user?
rapdodge commentedon May 14, 2025
That's affirmative.
I just need to run as librenms user (su - librenms)
michelroegl-brunner commentedon May 14, 2025
Thank you!
connornz commentedon Nov 10, 2025
🧩 Using Advanced Install on node pve04
💡 PVE Version 9.0.11 (Kernel: 6.14.11-4-pve)
💡 PVE Version 9.0.11 (Kernel: 6.14.11-4-pve)
🖥️ Operating System: debian | 🌟 Version: 12
📦 Container Type: Unprivileged
🔐 Root Password: ********
🆔 Container ID: 143
🏠 Hostname: librenms
💾 Disk Size: 4 GB
🧠 CPU Cores: 4
🛠️ RAM Size: 2048 MiB
🌉 Bridge: vmbr0
📡 IPv4: DHCP
📡 IPv6: SLAAC/AUTO
📡 APT-Cacher IP Address: Default
⚙️ Interface MTU Size: Default
🔍 DNS Search Domain: Host
📡 DNS Server IP Address: Host
🏷️ Vlan: Default
📡 Tags: community-script;monitoring
🔑 Root SSH Access: yes
🗂️ Enable FUSE Support: no
🔍 Verbose Mode: no
🚀 Creating a Librenms LXC using the above advanced settings
✔️ Storage local (Free: 110.8GB Used: 16.0GB) [Template]
✔️ Storage nvme (Free: 752.0GB Used: 160.9GB) [Container]
✔️ Cluster is quorate
✔️ Template search completed
✔️ Template debian-12-standard_12.12-1_amd64.tar.zst [online]
✔️ LXC Container 143 was successfully created.
✔️ Customized LXC Container
💡 No SSH keys to install (skipping).
✔️ Set up Container OS
✔️ Network Connected: 172.16.3.45 fd9a:d196:466d:cf3f:be24:11ff:feae:20c7
✔️ 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
✔️ Setup PHP 8.4
✔️ Setup MariaDB 12.1.1
✔️ Setup Composer
⠸ Setup uv 0.9.8/dev/fd/63: line 4516: /etc/bash_completion.d/uv: No such file or directory
/dev/fd/63: line 4517: /usr/share/zsh/site-functions/_uv: No such file or directory
✔️ Python 3.13 installed
✔️ Setup uv 0.9.8
✔️ Installed Python Dependencies
✔️ Configured Database
✔️ Deployed: librenms (25.10.0)
✔️ Configured LibreNMS
✔️ Configured MariaDB
✔️ Configured PHP-FPM
✔️ Configured Nginx
✖️ in line 125: exit code 1 (General error / Operation not permitted)
→ composer install --no-dev
--- Last 10 lines of silent log ---
127/127 [============================] 100%
Package influxdb/influxdb-php is abandoned, you should avoid using it. No replacement was suggested.
Generating optimized autoload files
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
📋 View full log (2052 lines): /tmp/install-*_e11456b0.log
root@pve04:~#
Seems almost there. Is there any plan to complete the NMS script? @michelroegl-brunner
Happy to help in any way 😊
github-actions commentedon Nov 14, 2025
A PR has been created for librenms: community-scripts/ProxmoxVE#9148
michelroegl-brunner commentedon Nov 14, 2025
Merged with #9148 in ProxmoxVE