#Stuck in Deploy > Running pre-deploy command PostgreSQL

8 messages · Page 1 of 1 (latest)

fast torrent
#

I'm stuck with this error that I'm getting every time I try to deploy my PostgreSQL server. Post requests won't reach database, and data won't persist. The "Deploy > Running pre-deployment command" step won't complete, and I don't know why.

I'm using Github and a PostgreSQL Railway provides. I have been trying different things, but nothing has worked so far. Even tried with all ChatGPT output solutions, but none of them worked.

winged tartanBOT
#

Project ID: dd7a9a6f-5090-4a0b-9315-1a8c6a4f9f72

fast torrent
#

dd7a9a6f-5090-4a0b-9315-1a8c6a4f9f72

#

Adding some more screenshots as context

royal quiver
#

can you tell us what you mean by post requests won't reach the database? the database is not an API

fast torrent
#

The app I built has a basic sign-up form built with EJS. On submit, data should pass all middleware routes until it reaches the queries.mjs file, which has a specific function that inserts the form data to the PostgreSQL database I built using Railway.

I checked middleware functions are passing the data correctly and seems right. But I thought the problem would come from Railway, as PostgreSQL deploy looks like it's hung up on pre-deployment step..

Still learning backend, so happy to clarify whatever you need to understand the problem. 🙂

royal quiver
#

the pre-deploy command is just a UI bug, what issues are you actually facing

royal quiver
#

update here that the ui bug that showed the deploy being stuck on pre-deploy has been fixed