mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 01:15:51 +03:00
[GH-ISSUE #5323] First-run admin setup fails with "Invalid email or password" and locks instance #3167
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#3167
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 @jesperbruhn on GitHub (Feb 18, 2026).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/5323
At first startup, I enter my information:
Name, email and password.
And press Save, but immediately get the error Invalid email or password, but am sent to the login screen, and then I can't proceed.
@arthurbrazil commented on GitHub (Feb 19, 2026):
I am also experiencing this issue.
@jesperbruhn commented on GitHub (Feb 19, 2026):
[Bug] First-run admin setup fails with "Invalid email or password" and locks instance
Description
On a fresh installation, Nginx Proxy Manager opens directly in the first-run admin setup wizard.
After entering name, email and password and pressing Save, the UI returns "Invalid email or password" and redirects to the login screen.
The instance becomes locked because no credentials work afterwards.
It appears the admin record is partially written to the SQLite database, leaving it in an inconsistent state.
Expected behaviour
Actual behaviour
Steps to reproduce
Environment
Workaround
docker compose down
sqlite3 /opt/npm/data/database.sqlite "UPDATE user SET is_deleted=1;"
docker compose up -d
Notes
@IDEDARY commented on GitHub (Feb 20, 2026):
I am also experiencing this issue. Not the greatest first impression with this software to be honest.
@Momentum6890 commented on GitHub (Feb 23, 2026):
Same issue here