I have an issue that keeps popping up that is annoying. I feel like it is something small but I can't figure out where the issue lies. I have Nginx-Proxy-Manager-Official running and it has been running fine. I updated it and MariaDB (I have Nginx configured to use MySQL) and now Nginx shows only errors in the log.
The error is:
[2/21/2022] [4:30:52 PM] [Global ] › ✖ error ER_ACCESS_DENIED_ERROR: Access denied for user 'npm'@'172.18.0.5' (using password: YES)
That just fills the log. Now the weird thing is that 172.18.0.5 is the IP automatically assigned to the Nginx server itself. At one point, I think this was the MariaDB IP but I have since updated the MariaDB to have a hardcoded IP of 172.18.0.3. The Maria DB host is MariaDB-Official and this was all working recently. I can't figure out why Nginx thinks MariaDB-Official is at 172.18.0.5. For the record, I don't have issues connecting to either MariaDB-Official or 172.18.0.3 from adminer.
I even updated the Ngix config to use 172.18.0.3 explicitly (rather than MariaDB-Official) but that didn't work either (the docker command is below):
root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker create --name='Nginx-Proxy-Manager-Official' --net='primary' -e TZ="America/New_York" -e HOST_OS="Unraid" -e 'DB_SQLITE_FILE'='/data/database.sqlite' -e 'DB_MYSQL_HOST'='172.18.0.3' -e 'DB_MYSQL_PORT'='3306' -e 'DB_MYSQL_USER'='npm' -e 'DB_MYSQL_PASSWORD'='ddedddddd' -e 'DB_MYSQL_NAME'='npm' -p '8181:81/tcp' -p '8080:80/tcp' -p '4443:443/tcp' -p '3000:3000/tcp' -v '/mnt/user/appdata/Nginx-Proxy-Manager-Official/data':'/data':'rw' -v '/mnt/user/appdata/Nginx-Proxy-Manager-Official/letsencrypt':'/etc/letsencrypt':'rw' -v '/tmp/Nginx-Proxy-Manager-Official/var/log':'/var/log':'rw' --memory=1G --no-healthcheck 'jc21/nginx-proxy-manager'
dddddddddddddddd
This is sort of causing me some issues (breaking other services). Any help would be appreciated.