mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 09:25:55 +03:00
[GH-ISSUE #483] Unable to connect to db #409
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#409
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 @whisperdancer on GitHub (Jun 30, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/483
Checklist
jc21/nginx-proxy-manager:latestdocker image? YesDescribe the bug
I'm running on RaspPi 3B+. Just installed via your quick install. The install had no errors. The error log shows unable to connect to the db. I can get to the login page, but get bad gateway when entering credentials. No surprise since the image is running unhealthy due to the inability of a db connection.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect it to work without errors. I expect it to connect to the db
Operating System
RaspPi 3B+ running latest version of RaspPi OS
Additional context
The log file just keeps showing this error.
[6/30/2020] [5:15:19 PM] [Global ] › ✖ error getaddrinfo ENOTFOUND db
[6/30/2020] [5:15:20 PM] [Global ] › ✖ error getaddrinfo ENOTFOUND db
[6/30/2020] [5:15:21 PM] [Global ] › ✖ error getaddrinfo ENOTFOUND db
[6/30/2020] [5:15:22 PM] [Global ] › ✖ error getaddrinfo ENOTFOUND db
@GEkuL commented on GitHub (Jul 1, 2020):
Hi
Sorry for quite stupid question, nevertheless, did you a have a firewall enabled on your RaspPi?
I think I had the same problem with the login to the Proxy Manager on the first page. The problem was solved by reinstalling the container.
@whisperdancer commented on GitHub (Jul 2, 2020):
No firewall. I"m just testing so installed Rasperry OS, docker and docker compose, then installed nginx proxy manager. Very clean system and get the errors.
@CoLdAs1cE commented on GitHub (Jul 13, 2020):
did the same as @whisperdancer
same here with me with enabled(with allowed port)/disabled firewall ;(
using pi 4
on maria-db
same error
getting this from db
(seems like db is build from x64 does not work with pi 4 ;( )
inspect says
@codeagencybe commented on GitHub (Sep 19, 2020):
I got it working!
db_1 | 2020-09-19 12:31:16 0 [ERROR] InnoDB: The Auto-extending innodb_system data file './ibdata1' is of a different size 0 pages than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero) pages!All I did was delete the .ibdata1 file that shows 0kb
And then re-deploy the whole setup. Now it generates a new clean .ibdata file that is around 12Mb size
@jc21 commented on GitHub (Feb 8, 2021):
Duplicate of #509 and should be fixed with latest mariadb-aria image.
@kautsaridris commented on GitHub (Jan 1, 2022):
hi @jc21 i am sorry if i create the question here,
i want to know if may to make connection to sql server (microsoft) using NPM ?
@chaptergy commented on GitHub (Jan 1, 2022):
@kautsaridris Please do not hijack issues with off topic questions. Tagging the owner / a maintainer when it is not because of a relevant reply but just so you are noticed is also not the way to go.
But to answer your question, no MSSQL is not supported. Currently only MySQL / MariaDB and SQLite is supported, and going forward MySQL / MariaDB support will be dropped in favor of the much less error prone SQLite (since it runs in the same container).
@operinko commented on GitHub (Jan 1, 2022):
Sorry for continuing a bit off-topic, but..
That's terrible news for any HA setups around there. It's practically impossible to get multiple instances of NPM to utilize a single SQLite DB without issues, so a slave-master DB setup is a must.
@LeehamElectronics commented on GitHub (Mar 8, 2022):
Where is
ibdata1exactly? @codeagencybe@LeehamElectronics commented on GitHub (Mar 8, 2022):
So for some reason, when I restarted NPM I started getting this issue, I had a look at it and it had no networks assigned to it. It was working fine before, so it seems like, upon restarting the container, the container disconnected from the network it was assigned to. I simply added the network back to the containers and it works fine again... Strange.