Whoops, looks like something went wrong. - again :)

So, finally got around to upgrade mariaDB, ran into all kinds of fun, did the drop table, create table, upgraded php, set timezone and finally got this return from ./validate.php

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

Component Version
LibreNMS 21.5.0
DB Schema 2021_04_08_151101_add_foreign_keys_to_port_group_port_table (208)
PHP 8.0.5
Python 3.6.9
MySQL 10.5.10-MariaDB-1:10.5.10+maria~bionic
RRDTool 1.7.0
SNMP NET-SNMP 5.7.3

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

[OK] Composer Version: 2.0.13
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct

Al SEEMS fine, but alas, I still get the Whoops!
Thought it could be authentication, so checked with ./scripts/auth_test.php -u MYUSER
AUTH SUCCESS

I guess I’m missing something obvious, but it would be great to know what:
Permissions on folders are good too.

Oh, if i point my browser to data.php i get
{
“message”: “Server Error: Set APP_DEBUG=true to see details.”
}
in return.
But not sure if that is supposed to be like that or not.

I would appreciate some clue at this point.
Thank you
O

devices are polling
/opt/librenms/poller.php 28 2021-05-18 09:45:12 - 1 devices polled in 3.426 secs
/opt/librenms/poller.php 25 2021-05-18 09:45:13 - 1 devices polled in 2.529 secs
/opt/librenms/poller.php 34 2021-05-18 09:45:13 - 1 devices polled in 1.192 secs
/opt/librenms/poller.php 30 2021-05-18 09:45:13 - 1 devices polled in 1.673 secs
/opt/librenms/poller.php 16 2021-05-18 09:45:15 - 1 devices polled in 12.26 secs
/opt/librenms/poller.php 15 2021-05-18 09:45:16 - 1 devices polled in 13.20 secs
/opt/librenms/poller.php 6 2021-05-18 09:45:16 - 1 devices polled in 13.86 secs
/opt/librenms/poller.php 5 2021-05-18 09:45:17 - 1 devices polled in 14.20 secs

but i noticed this in /var/log/nginx/error.log

2021/05/18 09:50:00 [error] 6773#6773: *327 FastCGI sent in stderr: “PHP message: PHP Notice: date_default_timezone_set(): Timezone ID ‘Etc/CEST’ is invalid in /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php on line 49” while reading response header from upstream

Not sure on the general issues, but if the timezone issue is causing it - I remember seeing similar with some other product because CEST is not a recognised PHP timezone, and further note the warning at the top of this: PHP: Others - Manual

Guessing the only match in the supported list if you want GMT+2 is: Europe/Berlin

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