NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
22.59k stars 2.62k forks source link

DB Connection Issues - Upgrade - 2.9.0/2.9.1 #1077

Closed jiriteach closed 3 years ago

jiriteach commented 3 years ago

I've updated to 2.9.0 and since the update, the app is reporting is unhealthy with connection issues to the db. Existing rules are working but I cannot login to NPM.

App logs are showing - error connect ECONNREFUSED

Looks like way connection approach to the db has changed. I am using yobasystems/alpine-mariadb:latest. I will try and revert the db but I am trying to do this without loosing my existing rules.

Anyone else seeing similar issues? Have removed existing containers and re-pulled without success.

My Docker compose - _version: '3' services: app: image: 'jc21/nginx-proxy-manager:latest' restart: always ports:

jc21 commented 3 years ago

This shouldn't be related to the 2.9.0 release, as the node packages are the same as previous releases. Though I have been wrong before.

The CI test suite also brings up a MySQL database and tests connectivity. This might be an issue with arm (I'm guessing, since you're using yobasytems?)

v.2.9.1 is out. Test with that as well?

jiriteach commented 3 years ago

Found the issue - Its an issue with 2.9.0 and 2.9.1 and alpine-mariadb 10.5.9 - https://hub.docker.com/r/yobasystems/alpine-mariadb/tags?page=1&ordering=last_updated. I reverted to 10.4.17 and no problem. Everything is working as expected again with 2.9.1 and alpine-mariadb 10.4.17. All my existing rules etc. in place.

henkisdabro commented 3 years ago

Thanks for this solution, however when I downgraded I ended up with errors on my side, such as:

InnoDB: Unsupported redo log format. The redo log was created with MariaDB 10.5.8.

That said, I only had one host in my setup, so I rebuilt the entire stack using the new "quick setup" format anyways to get rid of the issues and start fresh.

jiriteach commented 3 years ago

@henkisdabro - I didnt see this but I cleared my logs before which its probably why so it created new logs.

jiriteach commented 3 years ago

Closing as not required anymore.