Issues With LibreNMS GUI

Tags: #<Tag:0x00007f849f51c4c8>

Hi Guys,

I’m new to the LibreNMS platform and enjoy its functionality, however, as of recent I’ve noticed it gives me an error connecting to the database. Usually, id have to restart the VM and I regain access to the GUI, however, I lose historical data. This issue occurs regardless of the browser I use ( Version 78.0.3904.87 (Official Build) (64-bit) - Chrome, IE or Edge. PLease assist

Hello

What error do you get in the /opt/librenms/logs/librenms.log regarding the database connection?

In /opt/librenms
Check both your config.php and .env file both have the correct database credentials.

Then confirm you can connect to the database manually using the same credentials while it still isn’t working.

1 Like

Hi Chas,

See the error found in the Log file below.

and I verified the login credentials still default, But I’m unable to login with the credentials

image

i was unable to make more than 1 post, see the login credentials verification above

Sure as hell hope you don’t use don’t use that password for anything other than that DB.

Did you also verify on CLI you can connect?, e.g
mysql -u librenms -p

How about the .env file?
https://docs.librenms.org/Support/FAQ/#faq-where-do-i-update-my-database-credentials