mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #766] Cannot get working on new install #651
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#651
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @derekoharrow on GitHub (Dec 9, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/766
Checklist
jc21/nginx-proxy-manager:latestdocker 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.
@cayetano commented on GitHub (Dec 14, 2020):
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"
@derekoharrow commented on GitHub (Dec 14, 2020):
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...
@derekoharrow commented on GitHub (Dec 14, 2020):
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?
@derekoharrow commented on GitHub (Dec 14, 2020):
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.
@julesrulez96 commented on GitHub (Apr 20, 2021):
How did you manage to solve the Problem? @derekoharrow
@HackerWilson commented on GitHub (Jul 9, 2024):
i don't know if there is a related issue which has been resolved or not.
but i found maybe the below text is the reason:
some plugins failed to install, while
Backend PID 163 listening on port 3000must be ready, then we can visit the npm login site as normal....@jc21
@HackerWilson commented on GitHub (Jul 10, 2024):
it looks like the new version solved the problem: #3831