403 this should only be called during install

Hi all,

during install process after finishing I have got an error 403
THIS SHOULD ONLY BE CALLED DURING INSTALL on page http://librenms/install. On page http://librenms there is error SQLSTATE[HY000] [1045] Access denied for user ‘librenms’@‘localhost’ (using password: NO).

I cannot setup LibreNMS using GUI setup for DB password etc.

In .validate.php:

Component Version
LibreNMS 24.1.0-87-gf0934b53c (2024-02-18T18:30:42+01: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.1
[OK] Dependencies up-to-date.
Could not connect to database, check logs/librenms.log.

Please, could you help me with it?
Thanks, J. K.


I have resolved it.
I have renamed /opt/librenms folder and re-run all commands from install setup.

Next I had to:
su - librenms
librenms@librenms:~$ pip3 install command_runner --break-system-packages

And GUI has started up.

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