Hi, after updating today I am now facing this really weird issue.
[2019-03-15 11:36:57] production.ERROR: ini_set(): A session is active. You cannot change the session module’s ini settings at this time {“exception”:"[object] (ErrorException(code: 0): ini_set(): A session is active. You cannot change the session module’s ini settings at this time at /opt/librenms/LibreNMS/Config.php:446)
[stacktrace]
#0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, ‘ini_set(): A se…’, ‘/opt/librenms/L…’, 446, Array)
#1 /opt/librenms/LibreNMS/Config.php(446): ini_set(‘session.cookie_…’, ‘1’)
#2 /opt/librenms/LibreNMS/Config.php(55): LibreNMS\Config::processConfig(true)
#3 [internal function]: LibreNMS\Config::load(Object(App\Application))
#4 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(858): call_user_func(‘\\LibreNMS\\Confi…’, Object(App\Application))
#5 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(807): Illuminate\Foundation\Application->fireAppCallbacks(Array)
#6 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\Foundation\Application->boot()
#7 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(211): Illuminate\Foundation\Bootstrap\BootProviders->bootstrap(Object(App\Application))
#8 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(297): Illuminate\Foundation\Application->bootstrapWith(Array)
#9 /opt/librenms/LibreNMS/Util/Laravel.php(46): Illuminate\Foundation\Console\Kernel->bootstrap()
#10 /opt/librenms/includes/init.php(96): LibreNMS\Util\Laravel::bootCli()
#11 /opt/librenms/html/ajax_output.php(23): require(‘/opt/librenms/i…’)
#12 {main}
"}
As soon as I attemp to poll SNMP or run discovery or anything in debug it is triggered and polling automaticaly also does not work.
Reverting this commit resolves it: