Hi,
When trying to add interface parser config to /opt/librenms/config.php
$config[‘customers_descr’] = ‘cust’;
$config[‘transit_descr’] = “transit”;
$config[‘peering_descr’] = “peering”;
$config[‘core_descr’] = “core”;
WebGUI shows error page and the following is dumped to /opt/librenms/logs/librenms.log
~$ tail -f /opt/librenms/logs/librenms.log
[2020-11-09 15:08:05] production.ERROR: operator not supported for strings {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): operator not supported for strings at /opt/librenms/config.php:158)
[stacktrace]
#0 /opt/librenms/LibreNMS/Config.php(112): include()
#1 /opt/librenms/LibreNMS/Config.php(55): LibreNMS\Config::loadUserConfigFile(Array)
#2 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(895): LibreNMS\Config::load(Object(App\Application))
#3 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(844): Illuminate\Foundation\Application->fireAppCallbacks(Array)
#4 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\Foundation\Application->boot()
#5 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(219): Illuminate\Foundation\Bootstrap\BootProviders->bootstrap(Object(App\Application))
#6 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(156): Illuminate\Foundation\Application->bootstrapWith(Array)
#7 /opt/librenms/app/Http/Kernel.php(103): Illuminate\Foundation\Http\Kernel->bootstrap()
#8 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(140): App\Http\Kernel->bootstrap()
#9 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#10 /opt/librenms/html/index.php(53): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#11 {main}
"}
We’ve had to disable auto-updates due to internal change control.
Currently on Version 1.64.1-241-ged70b2636