-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Cannot get working on new install #766
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The bug is related with 'DB_MYSQL_HOST: "mariadb"' If you use "db" as image name for my mysql image then work, nginx-manager image ignore DB_MYSQL_HOST: "mariadb", use "db" |
Not quite sure I'm with you? My DB host, running in another docker container, is called mariadb and is accessible by the name of mariadb. It manages to access the DB to create the tables, but then has the issue above, so DB access definitely works initially... |
If it helps, I'd prefer to use UNIX sockets, rather than TCP/IP for accessing the DB - how should this be configured to do that? |
I managed to trick it into doing the migrations - just by deleting the various tables from the DB and eventually it decided it was ok to continue. I'd suggest that there is an issue with using MariaDB with a fresh install without an existing DB. |
How did you manage to solve the Problem? @derekoharrow |
i don't know if there is a related issue which has been resolved or not.
some plugins failed to install, while |
it looks like the new version solved the problem: #3831 |
Checklist
jc21/nginx-proxy-manager:latest
docker image? YESDescribe the bug
Just installed and trying to get this working, but it fails to start - see log below.
I've set this up using the following docker-compose (temp port settings to not interfere with current nginx setup):
My MariaDB database is working fine for other containers. This is setup as follows:
MariaDB version: Server version: 10.4.17-MariaDB-1:10.4.17+maria~bionic-log - mariadb.org binary distribution
I created an empty database in MariaDB called npm with a collation of utf8_general_ci.
On start, it created a config.json as follows:
When the container starts it creates tables within this DB, but then starts to produce errors as below, before the container fails and exits.
The text was updated successfully, but these errors were encountered: