R
Railway14mo ago
seb1

Strapi crashes out of nowhere

Hello, my Strapi app sometimes crashes out of nowhere. This is not very good, because I have a prod aplication running, that requires Strapi to be up and functional. The error is: select "t0"."id" from "admin_users" as "t0" limit $1 - Connection terminated unexpectedly Something about this problem can be read here: https://github.com/strapi/strapi/issues/11741 Is there something I can do to prevent this, or at least can Strapi automatically restart the service after it crashes? Thank you
GitHub
Runtime fails "randomly" · Issue #11741 · strapi/strapi
Bug report Describe the bug The runtime fails from time to time for no obvious reason (sorry for that). It seemed like it failed when attempting to log in first, when the database isn't up &quo...
3 Replies
Percy
Percy14mo ago
Project ID: 0885c9cf-f4bd-4d7f-8cad-71dd218e6114
seb1
seb114mo ago
0885c9cf-f4bd-4d7f-8cad-71dd218e6114
Brody
Brody14mo ago
not a problem with strapi or railway, but just a caveat of running in docker. make this same configuration in your database.js file https://github.com/railwayapp-templates/strapi/blob/main/config/database.js#L12
Want results from more Discord servers?
Add your server