Hello,
I’ve been going crazy trying to set up a new installation of LNMS.
Here’s the details -
- Running on VMware
- Using Ubuntu 24.04, Nginx, MariaDB
- All set up steps are following the instructions found here - Installing LibreNMS - LibreNMS Docs
The issue is -
Once I get to the end where I go to http://librenms.local.net/install, I see four green happy looking boxes for the following items -
PHP 8.3.6
pdo_mysql
mysqlnd
gd
I enter the db password, check credentials comes back fine, then I click Build Database. This is where I get my trouble.
It starts fine with stuff wizzing by, but I end up with an error. Here’s the last bit of output:
6ms
DONE
2025_03_18_003446_drop_bouncer_tables
…
15ms
DONE
2025_03_22_134124_fix_ipv6_addresses_id_type
…
25ms
DONE
INFO Seeding database.
Database\Seeders\DefaultAlertTemplateSeeder … RUNNING
Database\Seeders\DefaultAlertTemplateSeeder … 3 ms DONE
Database\Seeders\ConfigSeeder … RUNNING
Database\Seeders\ConfigSeeder … 1 ms DONE
Database\Seeders\RolesSeeder … RUNNING
SQLSTATE[HY000] [1045] Access denied for user ‘librenms’@‘localhost’ (using password: NO) (Connection: mysql, SQL: delete from cache where key = laravel_cache_spatie.permission.cache)
Error!
I have tried everything I can think of. I’ve tried different browsers, Chrome and Firefox. I’ve deleted the whole installation and started over so many times now I’ve lost count. At first, I thought maybe it was because of the DB password I was using because it had a “#” in it. So I ditched the pound sign. Started over, used different password… Same result. The last few attempts, after starting from stratch, I made the password “librenms”, just to rule out that somehow that password was causing a problem. Same result. No matter how many times I try to install, I get that same error!
Please, can someone help me figure out how to get past this error?
I’m happy to provide whatever information would help.
Thank you,
-Alan