Locked out of unmanaged Postgres after password rotation
rwankangi-svg
HOBBYOP

18 days ago

Hi team I attempted a password rotation tonight via ALTER USER followed by env var updates. After a Postgres service restart, I'm now locked out of the database with FATAL: password authentication failed for user "postgres" on every connection (including railway connect Postgres).

The DB has data my production app depends on — please do NOT reset/recreate the service. I need either (a) a password reset on the postgres user without data loss, or (b) guidance on the safest recovery path. T

Thanks

Solved$10 Bounty

3 Replies

Railway
BOT

18 days ago

This thread has been opened as a public bounty so the community can help solve it. The thread and any further activity are now visible to everyone.

Status changed to Open Railway 18 days ago


You can reset the password through the dashboard

Open your postgres service and Go to Database and click "Config", you'll see the "Regenerate" button

you may need to redeploy the backend service to update the env variable

image.png

Attachments


rwankangi-svg
HOBBYOP

17 days ago

i have regenerated the PW but still no luck!


rwankangi-svg
HOBBYOP

17 days ago

all is clear its resolved.


Status changed to Solved 0x5b62656e5d 17 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...