mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #11] Unable to login #10
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#10
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 @razzam21 on GitHub (Sep 3, 2018).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/11
NOTE: This is a first time trying to log in after deploying the container.
"Internal error" appears on the screen after entering the provided username and password.
This line appears in the logs.
[9/3/2018] [12:18:47 PM] [Express ] › ⚠ warning Configuration property "jwt.pub" is not defined
@jc21 commented on GitHub (Sep 3, 2018):
A few questions...
/app/config/production.json?@razzam21 commented on GitHub (Sep 3, 2018):
It now looks like this:
{
"database": {
"engine": "mysql",
"host": "10.10.10.200",
"name": "nginx",
"user": "nginx",
"password": "nginx",
"port": 3306
},
"jwt": {
"key": "-----BEGIN RSA PRIVATE KEY-----[lots of characters]-----END RSA PRIVATE KEY-----",
"pub": "-----BEGIN PUBLIC KEY-----[lots of characters]----END PUBLIC KEY-----"
}
}
@jc21 commented on GitHub (Sep 4, 2018):
That is very strange. I've just tested a clean install with the latest image and things are working fine. The fact that it wrote the keys to the file means it should be able to read from them. If you're using docker-compose, can you attach the output of this command:
docker-compose configHere's mine:
Perhaps
@SGStino commented on GitHub (Sep 7, 2018):
seeing the same issue, no docker compose was used.
However, recreating the container did solve the issue.
@razzam21 commented on GitHub (Sep 7, 2018):
Sorry about the delay. I am not using docker-compose.
@Aerya commented on GitHub (Sep 11, 2018):
I had to restart the container too. Then it's okay.
@razzam21 commented on GitHub (Sep 11, 2018):
I came back to it a couple of days later and it is working now. Weird.