mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 09:25:55 +03:00
[GH-ISSUE #1291] Connection Refused #1036
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#1036
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 @yankieddl on GitHub (Aug 6, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1291
hi
i keep getting below error for JC21
[Global ] › ✖ error connect ECONNREFUSED 172.18.0.3:3306
whichever DB variant I try, I'm getting the same result:
connect ECONNREFUSED 172.18.0.2:3306
i am using raspberry pi 4
pls advise
@jc21 commented on GitHub (Aug 7, 2021):
Your mysql server is not running so you'll need to inspect the logs for that container.
Alternatively, use the sqlite database option.
@yankieddl commented on GitHub (Aug 7, 2021):
Thanks. Can you pls guid how to install sqlite db on the existing installation for raspberry pi 4.
I am new to linux and trying to learn. Sorry if i hav askd a weird question. FYI maria db works fine on raspberry pi 4. Just the jc21 proxy manager giving trouble.
@chaptergy commented on GitHub (Aug 7, 2021):
The docker-compose files in the setup instructions contain all information you need. You just need to remove the
DB_MYSQL_...environment variables and add theDB_SQLITE_FILEvariable.@yankieddl commented on GitHub (Aug 7, 2021):
thanks.
the suggestions you gave me to use sql-lite worked and is working well.
🙏🙏
On Sat, Aug 7, 2021 at 12:04 PM chaptergy @.***> wrote:
@yankieddl commented on GitHub (Aug 8, 2021):
Good Day again
after setting username and password on nginx i logged out and tried to
login using new email and password but couldnt login.
is there a way to reset password.
pls advise.
thanks
On Sat, Aug 7, 2021 at 9:50 PM Yankie ddl @.***> wrote:
@chaptergy commented on GitHub (Aug 8, 2021):
See https://github.com/jc21/nginx-proxy-manager/issues/230. More specifically https://github.com/jc21/nginx-proxy-manager/issues/230#issuecomment-815078355.
@yankieddl commented on GitHub (Aug 8, 2021):
thanks for prompt response.
apologize again. i am not used to the terminology. how do i connect to
database and run the script UPDATE user SET is_deleted=1;?
thanks
On Sun, Aug 8, 2021 at 3:06 PM chaptergy @.***> wrote:
@chaptergy commented on GitHub (Aug 8, 2021):
I have changed my comment to include a link to a specific comment which explains step by step what to do.
@yankieddl commented on GitHub (Aug 8, 2021):
thanks.
after first command it asked me enter root password. i tried all but none
works. it keeps giving me following error. pls note i am using sqlite and
not MYSQL
$ sudo docker exec -it nginx_db_1 sh
/ # mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/run/mysqld/mysqld.sock' (2)
/ #
On Sun, Aug 8, 2021 at 4:08 PM chaptergy @.***> wrote:
@chaptergy commented on GitHub (Aug 8, 2021):
I forgot that you are using the sqlite file, not the mysql database. You don't even need the mysql container anymore, you can remove it from the docker-compose.
You will have to edit the database file you specified in the docker-compose using a tool like SQLite Browser. Change to the
usertable, and setis_deletedto1. Then follow step 2 and 3, and at the end, set it to0again.If you haven't done much yet it might be easier to just delete the containers and the volumes and just start again.
@jc21 commented on GitHub (Aug 8, 2021):
I can also recommend using litecli for connecting to sqlite db's.