Fixed poller-wrapper.py now I can't use the GUI

Hello
2nd attempt now =)
So I was able to get the poller-wrapper.py working by editing my .env file from local host to 127.0.0.1. Now I’m getting a DB error from the web page; Here’s my current ./validate.php

Component Version
LibreNMS 1.70.1-37-g709d1b6f5
DB Schema 2020_11_02_164331_add_powerstate_enum_to_vminfo (191)
PHP 7.3.20
Python 3.6.8
MySQL 10.3.27-MariaDB
RRDTool 1.7.0
SNMP NET-SNMP 5.8

====================================

[OK] Composer Version: 2.0.8
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct

When I try to get to the gui I get the following:
SQLSTATE[HY000] [2002] Permission denied

thanks

solved this!

adding the socket to the .env file
For Centos8 it’s
DB_SOCKET=/var/lib/mysql/mysql.sock

vs the Ubuntu
DB_SOCKET=/var/run/mysqld/mysqld.sock

found in this article here

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