Cannot connect to database Debian 10

Hi, I’m new to Linux and Librenms and I’m having some trouble getting reconnected to Mariadb after an attempted, but ultimately failed, migration from a test machine to a server. Everything was working up until yesterday, but it had been a couple of week since I had touched anything and still needed to fix some things listed in validate.php. I deleted a lot of git.ignore files and after that was unable to access the web UI.

Here’s what validate.php says:


Component Version
LibreNMS 21.8.0-22-ge81ee98b3
DB Schema Not Connected (0)
PHP 7.3.29-1~deb10u1
Python 3.7.3
RRDTool 1.7.1


Can confirm Mariadb is running.

I think I need help with the config.php and the .env files.

Thanks for any help!

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