At one point I had 3 servers (web, poller, db) configured and working correctly. I started using the API to add devices 25 at a time. I blew up a previous build this way by trying to add 300 devices at once through the API and something blew up the disk space. The web GUI is non functional and at one point asked me to look at the librenms.log. Now it just comes up as a blank page.
[2025-02-18T16:28:01][ERROR] file_put_contents(): Write of 435937 bytes failed with errno=28 No space left on device {“exception”:“[object] (ErrorException(code: 0): file_put_contents(): Write of 435937 bytes failed with errno=28 No space left on device at /opt/librenms/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:204)”}
Here’s the output of validate.php
In Filesystem.php line 222:
tempnam(): file created in the system’s temporary directory
PHP Fatal error: Uncaught ReflectionException: Class “librenms-config” does not exist in /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php:912
Stack trace:
#0 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(912): ReflectionClass->__construct()
#1 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(795): Illuminate\Container\Container->build()
#2 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(963): Illuminate\Container\Container->resolve()
#3 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(731): Illuminate\Foundation\Application->resolve()
#4 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(948): Illuminate\Container\Container->make()
#5 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(120): Illuminate\Foundation\Application->make()
#6 /opt/librenms/LibreNMS/Util/Version.php(51): app()
#7 /opt/librenms/validate.php(162): LibreNMS\Util\Version::get()
#8 /opt/librenms/validate.php(83): print_header()
#9 [internal function]: {closure}()
#10 {main}
Next Illuminate\Contracts\Container\BindingResolutionException: Target class [librenms-config] does not exist. in /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php:914
Stack trace:
#0 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(795): Illuminate\Container\Container->build()
#1 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(963): Illuminate\Container\Container->resolve()
#2 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(731): Illuminate\Foundation\Application->resolve()
#3 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(948): Illuminate\Container\Container->make()
#4 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(120): Illuminate\Foundation\Application->make()
#5 /opt/librenms/LibreNMS/Util/Version.php(51): app()
#6 /opt/librenms/validate.php(162): LibreNMS\Util\Version::get()
#7 /opt/librenms/validate.php(83): print_header()
#8 [internal function]: {closure}()
#9 {main}
thrown in /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 914