Hello!
I need help
I have problem with installing LibreNMS on Ubuntu 18.04 with Apache. I followed installation guide in librenms site. But when I start web installation it stuck on importing mysql db stage. You can see attached screenshot
The output of librenms log file is shown bellow
production.ERROR: PDOException: SQLSTATE[HY000] [1045] Access denied for user ‘’@‘localhost’ (using password: NO) in /opt/librenms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driv$
Stack trace:
#0 /opt/librenms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(43): PDO->__construct(‘mysql:host=;por…’, ‘’, ‘’, Array)
#1 /opt/librenms/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(65): Doctrine\DBAL\Driver\PDOConnection->__construct(‘mysql:host=;por…’, ‘’, ‘’, Array)
#2 /opt/librenms/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(44): Illuminate\Database\Connectors\Connector->createPdoConnection(‘mysql:host=;por…’, ‘’, ‘’, Array)
#3 /opt/librenms/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection(‘mysql:host=;por…’, Array, Array)
#4 /opt/librenms/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(183): Illuminate\Database\Connectors\MySqlConnector->connect(Array)
#5 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors{closure}()
#6 /opt/librenms/vendor/laravel/framework/src/Illuminate/Database/Connection.php(883): call_user_func(Object(Closure))
#7 /opt/librenms/LibreNMS/DB/Eloquent.php(110): Illuminate\Database\Connection->getPdo()
#8 /opt/librenms/includes/init.php(102): LibreNMS\DB\Eloquent::isConnected()
#9 /opt/librenms/alerts.php(31): require(‘/opt/librenms/i…’)
#10 {main}
The output of /validate.php is shown below
PHP Fatal error: Uncaught Error: Class ‘LibreNMS\Util\Version’ not found in /opt/librenms/includes/common.php:1153
Stack trace:
#0 /opt/librenms/validate.php(68): version_info()
#1 [internal function]: {closure}()
#2 {main}
thrown in /opt/librenms/includes/common.php on line 1153
[FAIL] config.php does not exist, please copy config.php.default to config.php
Fatal error: Uncaught Error: Class ‘LibreNMS\Util\Version’ not found in /opt/librenms/includes/common.php:1153
Stack trace:
#0 /opt/librenms/validate.php(68): version_info()
#1 [internal function]: {closure}()
#2 {main}
thrown in /opt/librenms/includes/common.php on line 1153
Thanks in advance!