419 - Page Expired

Hey, I followed (or thought I did) the install guide 100%, but I am getting a 419 - Page Expired error when I try to login. Running the verify, I get

PHP Fatal error: Uncaught Error: Class ‘App’ not found in /opt/librenms/LibreNMS/Validator.php:84

Stack trace:

#0 /opt/librenms/validate.php(111): LibreNMS\Validator->validate()

#1 {main}

thrown in /opt/librenms/LibreNMS/Validator.php on line 84

PHP Fatal error: Uncaught Error: Call to undefined function dbIsConnected() in /opt/librenms/includes/common.php:658

Stack trace:

#0 /opt/librenms/validate.php(83): version_info()

#1 [internal function]: {closure}()

#2 {main}

thrown in /opt/librenms/includes/common.php on line 658

Fatal error: Uncaught Error: Class ‘App’ not found in /opt/librenms/LibreNMS/Validator.php:84

Stack trace:

#0 /opt/librenms/validate.php(111): LibreNMS\Validator->validate()

#1 {main}

thrown in /opt/librenms/LibreNMS/Validator.php on line 84

Fatal error: Uncaught Error: Call to undefined function dbIsConnected() in /opt/librenms/includes/common.php:658

Stack trace:

#0 /opt/librenms/validate.php(83): version_info()

#1 [internal function]: {closure}()

#2 {main}

thrown in /opt/librenms/includes/common.php on line 658

So clearly i’v goofed up something in .php

I’m a bit of a noob so I don’t know what to do and my googlefu is failing for this.

try ./daily.sh
should be fixed -

regards

1 Like

That helped, running validate again and I get

[OK] Composer Version: 2.0.13

[OK] Dependencies up-to-date.

[WARN] You have no devices.

[FIX]:

Consider adding a device such as localhost: /addhost

[OK] Database connection successful

[OK] Database schema correct

[FAIL] You have no timezone set for php.

[FIX]:

https://php.net/manual/en/datetime.configuration.php#ini.date.timezone

That should be easy enough to find!

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