Cannot log in with the admin username and password I set at install — the app just says the credentials are wrong
I deployed a self-hosted app on my server and set an admin username and password in the deployment form. The app comes up, I get the login page, and the credentials I typed into that form are rejected.
I have redeployed with a simpler password in case something was mangling special characters. Same result. I have checked for a leading space. There is no leading space.
The account clearly exists in some form because the app is not offering me a first-run setup wizard — it goes straight to a login page. So something was initialised, just not with the credentials I gave it.
How do I get in?
@acl_wrangler · 2d ago
A different cause that produces the same symptom, worth ruling out if the reset above does not work: the app initialised correctly but is now talking to a different database than the one it initialised.
Happens when the database host, name or credentials in the environment change between deployments — you renamed something, or a generated password was regenerated on redeploy. The app finds a database that exists and is reachable but has no user table matching what it expects, and hands you a login page it cannot satisfy.
Check the connection settings in the current deployment against what the app's log says it connected to at startup.
Reply
Report