I’m trying to set up my first install of LibreNMS and I keep getting the error “HTTP request timed out, your database structure may be inconsistent” during the “Build Database” step. I have gotten the same results when I tried to set it up stand-alone and when I try connecting a separate database server. I’ve seen two mentions of this problem on this site, but neither had a solution (one person was able to get it to work after trying 4 or 5 times and the other didn’t have a solution that I saw). I have tried several times and I keep getting this error. Is there anyway to lengthen the timeout (my machine isn’t very fast) or is there a script that I can run manually hat doesn’t require going through a website to build the database?
Web page error:
validate.php result:
Component | Version |
---|---|
LibreNMS | 24.2.0-33-gf6d67c1cd (2024-03-25T12:17:53-04:00) |
DB Schema | Not Connected (0) |
PHP | 8.2.7 |
Python | 3.11.2 |
Database | Not Connected |
RRDTool | 1.7.2 |
SNMP | 5.9.3 |
=================================== |
[OK] Composer Version: 2.7.2
[OK] Dependencies up-to-date.
Could not connect to database, check logs/librenms.log.