====================================
Component |
Version |
LibreNMS |
1.62-17-g83d9805 |
DB Schema |
2020_03_25_165300_add_column_to_ports (161) |
PHP |
7.2.27 |
MySQL |
5.5.64-MariaDB |
RRDTool |
1.4.8 |
SNMP |
NET-SNMP 5.7.2 |
==================================== |
|
[OK] Composer Version: 1.10.1
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
My librenms was working normally until it automatically updated to this version, the poller stopped working.
i tried to do a polling with this command line and this is the output
./poller.php -h localhost -r -f -d | ./pbin.sh
Paste endpoint: https://p.libren.ms/api/create
SQL[select migration
from migrations
order by id
desc limit 1 [] 0.48ms]
SQL[select count(*) as aggregate from migrations
limit 1 [] 0.37ms]
SQL[SELECT version() [] 0.24ms]
Updating os_def.cache…
Done
Class Datastore does not exist {“exception”:“[object] (ReflectionException(code: -1): Class Datastore does not exist at /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php:788)”}
title:
name: root
private: 1
expire: 0
https://p.libren.ms/view/4da5157d
not only that, i have an error in my graphs.

it would be great if someone knows how to fix this, meanwhile i rolled back to version 1.61 so i can still have alerts.
Did you update with ./daily.sh?
It seems your install is not properly updated.
Hey
My poller service also stopped working after the automatic update, or well it started looping after the last update.
I am using the librenms-serivce, and not the cron jobs
./validate.php
Component |
Version |
LibreNMS |
1.62.2 |
DB Schema |
2020_03_25_165300_add_column_to_ports (161) |
PHP |
7.3.15 |
MySQL |
10.3.17-MariaDB |
RRDTool |
1.7.0 |
SNMP |
NET-SNMP 5.8 |
====================================
[OK] Composer Version: 1.10.1
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
The librenms.log file is filled with repeats of:
[2020-04-06 11:57:34] production.ERROR: Class Datastore does not exist {“exception”:"[object] (ReflectionException(code: -1): Class Datastore does not exist at /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php:788)
[stacktrace]
#0 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(788): ReflectionClass->__construct(‘Datastore’)
#1 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(667): Illuminate\Container\Container->build(‘Datastore’)
#2 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(615): Illuminate\Container\Container->resolve(‘Datastore’, Array)
#3 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(767): Illuminate\Container\Container->make(‘Datastore’, Array)
#4 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(121): Illuminate\Foundation\Application->make(‘Datastore’, Array)
#5 /opt/librenms/LibreNMS/Data/Store/Datastore.php(55): app(‘Datastore’)
#6 /opt/librenms/poller.php(125): LibreNMS\Data\Store\Datastore::init(Array)
#7 {main}
"}
This is the output of the /var/log/messages of the server. As you can see, it tries to poll the device multiple times in a short time.
Apr 6 11:59:54 sth-nm-01 librenms-service.py[30677]: Poller_0-9(INFO):Polling device 1
Apr 6 11:59:55 sth-nm-01 librenms-service.py[30677]: Poller_0-12(INFO):Completed poller run for 4 in 0.34s
Apr 6 11:59:55 sth-nm-01 librenms-service.py[30677]: Poller_0-11(INFO):Completed poller run for 2 in 0.35s
Apr 6 11:59:55 sth-nm-01 librenms-service.py[30677]: Poller_0-10(INFO):Completed poller run for 3 in 0.39s
Apr 6 11:59:55 sth-nm-01 librenms-service.py[30677]: Poller_0-9(INFO):Completed poller run for 1 in 0.38s
Apr 6 11:59:55 sth-nm-01 librenms-service.py[30677]: Poller_0-15(INFO):Polling device 4
Apr 6 11:59:55 sth-nm-01 librenms-service.py[30677]: Poller_0-13(INFO):Polling device 3
Apr 6 11:59:55 sth-nm-01 librenms-service.py[30677]: Poller_0-16(INFO):Polling device 2
Apr 6 11:59:55 sth-nm-01 librenms-service.py[30677]: Poller_0-14(INFO):Polling device 1
Apr 6 11:59:56 sth-nm-01 librenms-service.py[30677]: Poller_0-15(INFO):Completed poller run for 4 in 0.32s
Apr 6 11:59:56 sth-nm-01 librenms-service.py[30677]: Poller_0-16(INFO):Completed poller run for 2 in 0.32s
Apr 6 11:59:56 sth-nm-01 librenms-service.py[30677]: Poller_0-14(INFO):Completed poller run for 1 in 0.32s
Apr 6 11:59:56 sth-nm-01 librenms-service.py[30677]: Poller_0-13(INFO):Completed poller run for 3 in 0.33s
Apr 6 11:59:56 sth-nm-01 librenms-service.py[30677]: Discovery_0-3(INFO):Completed discovery run for 1 in 1.45s
Apr 6 11:59:56 sth-nm-01 librenms-service.py[30677]: Poller_0-18(INFO):Polling device 4
Apr 6 11:59:56 sth-nm-01 librenms-service.py[30677]: Discovery_0-9(INFO):Discovering device 1
Apr 6 11:59:56 sth-nm-01 librenms-service.py[30677]: Poller_0-20(INFO):Polling device 3
Apr 6 11:59:56 sth-nm-01 librenms-service.py[30677]: Poller_0-17(INFO):Polling device 2
Apr 6 11:59:56 sth-nm-01 librenms-service.py[30677]: Poller_0-19(INFO):Polling device 1
Apr 6 11:59:57 sth-nm-01 librenms-service.py[30677]: Poller_0-17(INFO):Completed poller run for 2 in 0.35s
Apr 6 11:59:57 sth-nm-01 librenms-service.py[30677]: Poller_0-20(INFO):Completed poller run for 3 in 0.36s
Apr 6 11:59:57 sth-nm-01 librenms-service.py[30677]: Poller_0-18(INFO):Completed poller run for 4 in 0.37s
Apr 6 11:59:57 sth-nm-01 librenms-service.py[30677]: Poller_0-19(INFO):Completed poller run for 1 in 0.40s
Sorry i didnt respond before, yes, i used .daily.sh and the manual update, but every time i upgrade to the last release version i get errors in my graphs and the poller doesnt work , i had to roll back the the 1.61 version