Please help. Strapi / Postgres crashing
mikereycodes
PROOP

a year ago

I'm so lost. My Strapi suddenly was so slow and I thought perhaps it was because I needed Strapi 5, so I made a brand new deployment of Strapi 5, added the same environment variables, and left everything else untouched.

I removed Strapi 5 as it didn't correctly work with my Db and I assumed it tried to insert some kind of value to my database which has caused a conflict.

However I had a backup of the DB and used that, and still, Postgres crashes "no such file or directory" and Strapi crashes too obviously with no working db.

Railway has been pushing me to add referenced variables and I obliged and use the railway variables to connect to one another, I'm at a loss as it's brought my entire site down right before the new year.

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

Solved

1 Replies

brody
EMPLOYEE

a year ago

Hello,

Looks like at one point you had set the start command of the Postgres database to npm run start and it is still set that that start command right now.

You are also using the public network to connect to the database instead of the private network, this can cause slowdowns.

If you'd like, I can stage the changes needed to fix these two issues and then you can review and deploy whenever you see fit?

Best,
Brody


Status changed to Awaiting User Response Railway about 1 year ago


Railway
BOT

5 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 6 months ago


Loading...