This morning after an extended power outage, I brought up LibreNMS only to discover it is returning a 500 error (so who knows what else on my network is down ).
Here is the output from validate.php:
PHP Fatal error: Uncaught TypeError: Argument 1 passed to Illuminate\Config\Repository::__construct() must be of the type array, int given, called in /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php on line 36 and defined in /opt/librenms/vendor/laravel/framework/src/Illuminate/Config/Repository.php:24
Stack trace:
#0 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php(36): Illuminate\Config\Repository->__construct(1)
#1 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(230): Illuminate\Foundation\Bootstrap\LoadConfiguration->bootstrap(Object(App\Application))
#2 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(310): Illuminate\Foundation\Application->bootstrapWith(Array)
#3 /opt/librenms/LibreNMS/Util/Laravel.php(46): Illuminate\Foundation\Console\Kernel->bootstrap()
#4 /opt/librenms/includes/init.php(91): LibreNMS\Util\Laravel::bootCli()
#5 /opt/librenms/validate.php( in /opt/librenms/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 24
Component Version LibreNMS 1.70.0 DB Schema Not Connected (0) PHP 7.3.20 Python 3.6.8 MySQL ? RRDTool 1.7.0 SNMP NET-SNMP 5.8 OpenSSL ==================================== [OK] Composer Version: 2.0.7
[OK] Dependencies up-to-date.
The Fatal error repeats itself again here. Where can I start troubleshooting this error?