Issue after update

Hello,

After last monthly update I got “Whoops, looks like something went wrong. Check your librenms.log.” .

[librenms@plwl-librenms ~]$ ./daily.sh
Updating to latest codebase OK
Updating Composer packages OK
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK
Caching Mac OUI data OK

[librenms@plwl-librenms ~]$ ./validate.php

Component Version
LibreNMS 21.6.0
DB Schema 2020_04_06_001048_the_great_index_rename (175)
PHP 7.3.2
Python 3.6.8
MySQL 10.3.14-MariaDB
RRDTool 1.4.8
SNMP NET-SNMP 5.7.2

====================================

[OK] Composer Version: 2.1.3
[OK] Dependencies up-to-date.
[OK] Database connection successful
[FAIL] Your database is out of date!
[FIX]:
./lnms migrate

lnms migrate I did manually few month ago and it worked till now.

below log info:

[librenms@plwl-librenms logs]$ tail librenms.log
/opt/librenms/poller.php 29 2021-06-18 10:07:10 - 1 devices polled in 5.946 secs
/opt/librenms/poller.php 45 2021-06-18 10:07:11 - 1 devices polled in 3.805 secs
/opt/librenms/poller.php 7 2021-06-18 10:07:12 - 1 devices polled in 5.644 secs
/opt/librenms/poller.php 28 2021-06-18 10:07:14 - 1 devices polled in 5.635 secs
/opt/librenms/poller.php 70 2021-06-18 10:07:15 - 1 devices polled in 4.110 secs
/opt/librenms/poller.php 66 2021-06-18 10:07:16 - 1 devices polled in 5.386 secs
/opt/librenms/poller.php 62 2021-06-18 10:07:18 - 1 devices polled in 6.369 secs
/opt/librenms/poller.php 30 2021-06-18 10:07:18 - 1 devices polled in 3.947 secs
/opt/librenms/poller.php 46 2021-06-18 10:07:19 - 1 devices polled in 4.419 secs
/opt/librenms/poller.php 59 2021-06-18 10:07:19 - 1 devices polled in 2.908 secs

First i would start to migrate MariDB to 10.5 and PHP to 7.4.
Run ./validate again.

I think last migrate is hanging somewhere now

Updating to latest codebase OK
Updating Composer packages OK
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK
Caching Mac OUI data OK
[root@plwl-librenms librenms]# su librenms
[librenms@plwl-librenms ~]$ ./validate.php

Component Version
LibreNMS 21.6.0
DB Schema 2020_04_06_001048_the_great_index_rename (175)
PHP 7.4.20
Python 3.6.8
MySQL 10.5.10-MariaDB
RRDTool 1.4.8
SNMP NET-SNMP 5.7.2

====================================

[OK] Composer Version: 2.1.3
[OK] Dependencies up-to-date.
[OK] Database connection successful
[FAIL] Your database is out of date!
[FIX]:
./lnms migrate
Without changes, still don’t get the web page running properly.

No body can help?

It tells you what’s wrong

I added manual command to maria db librenms database - without changes.
I will go with fresh ubuntu image and disable auto updates.

Have you tried running this command?

./lnms migrate

Sure, but I needed to add changes manually to database.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.