Problems with the Postgress database
artistechventure
PROOP

23 days ago

Hello, today several deployments experienced problems and crashed. The problem is that after restarting the service, I can't access Strapi. I don't know if the data was corrupted by mistake, but I can't log in with any of the users we've been working with for months. Could you help me?

At the moment everything seems to be working, but my doubts are about the existing data, or if something strange happened during the redeployment.

$20 Bounty

2 Replies

Railway
BOT

23 days ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open Railway 23 days ago


Have you tried redeploying all of your services? (Not restarting)


21 days ago

if Strapi is up but your users are gone / login stopped working, I would first check that Strapi is still pointing to the same Postgres database as before.

after a crash/redeploy it is easy to accidentally point the app at a new empty DB, especially if a new Postgres service was created. compare the DATABASE_* vars in Strapi with the original Postgres service vars.

also make sure your Strapi secrets did not change: APP_KEYS, JWT_SECRET, ADMIN_JWT_SECRET. if those changed, auth can look broken even when the DB data is still there.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...