Stuck in Deploy > Running pre-deploy command PostgreSQL
rubengpr
TRIALOP

a year ago

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.

7 Replies

rubengpr
TRIALOP

a year ago

dd7a9a6f-5090-4a0b-9315-1a8c6a4f9f72


rubengpr
TRIALOP

a year ago

Adding some more screenshots as context

1338968920664703100


a year ago

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


rubengpr
TRIALOP

a year ago

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. 🙂


a year ago

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


a year ago

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


a year ago

of course that was just ui and never casued any actual problems, so please let me know what issues you are facing


Welcome!

Sign in to your Railway account to join the conversation.

Loading...