Hello,
Today I’ve updated LibreNMS as i do it manually, not with the cron and when i go to the device’s edit page i get an error. In the librenms.log there’s an error ( i’t can be seen here: Log ). Can anyone give me any clues what that might be? Everything seems ok in the validate page. Here’s the output:
root@monitoring:/opt/librenms# php validate.php
Component |
Version |
LibreNMS |
1.41-47-g60a1a02 |
DB Schema |
255 |
PHP |
7.0.30-0ubuntu0.16.04.1 |
MySQL |
10.0.34-MariaDB-0ubuntu0.16.04.1 |
RRDTool |
1.5.5 |
SNMP |
NET-SNMP 5.7.3 |
====================================
[OK] Composer Version: 1.6.5
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
Try running ./scripts/composer_wrapper.php install --no-dev
Hello,
I’ve tried, but no changes. Here’s the output from the command:
php ./composer_wrapper.php install --no-dev
LibreNMS\ComposerHelper::preInstall
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating autoload files
> LibreNMS\ComposerHelper::postInstall
> Illuminate\Foundation\ComposerScripts::postInstall
> php artisan optimize
Generating optimized class loader
The compiled services file has been removed.
The log from the error seems the same: log
Code looks broke (can’t add an array and a integer).
Before this would silently fail.
What do you think, should i make an issue for this on Github or ?
This is a totally harmless error, but fixed here: https://github.com/librenms/librenms/pull/8930
Thanks, for the fix. It’s all okay now!