I am trying to create a Component in Strapi 5.0.6 using PostgreSQL 16 deployed on Railway.
It was working perfectly fine but when I tried adding a new Component, everything stopped working.
Now, I can’t even run Strapi.
I keep getting this error in Terminal:
Error: insert into “public”.“strapi_database_schema” (“hash”, “schema”, “time”) values ($1, $2, $3) - Connection terminated unexpectedly
Even tried creating a new Database but still keep getting the error through npm run develop --debug
I have tried using pgAdmin and everything works perfectly. Is it really an issue with connection timeout or something else is creating an issue. I wanted to know if I could find the values Strapi is trying to insert, then I could simply execute them on my own and see if it resolves the issue.
This topic has been created from a Discord post (1295437305309302865) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord