10 months ago
Hello, I tried railway for a month and it was fantastic!
Today I decided to buy the Hobby plan, but I'm encountering two issues in deploying.
- I can't deploy the webservice in the test environment, it says it can't connect to the database, but the database is there.
- in production I can't even deploy the postgres service.
Both of these errors weren't there when I was in the trial period of course.
thanks for the support!
Leonardo
4 Replies
10 months ago
Hey there! We've found the following might help you get unblocked faster:
- 🧵 MongoDB Service Connected but App Cannot Establish Database Connection - Mongoose State 0 (Disconnected)
- 🧵 Deploy error - database connection
- 🧵 Failed to start application: PrismaClientInitializationError: error: Environment variable not found: DATABASE_URL.
- 🧵 Lost postgres data on metal migrate
If you find the answer from one of these, please let us know by solving the thread!
10 months ago
OK, seems like the test production is up and running after I've pushed new code via git. Production postgres error still occurs though.
10 months ago
Error is: ERROR (catatonit:2): failed to exec pid1: No such file or directory
Status changed to Solved erpeo93 • 10 months ago
10 months ago
I managed to get it to work again.
I think there might be a bug lurking somewhere, as I only got it back to work after playing around with the settings a little bit (I think I reset the start command and pre-deploy commands or something).
Unfortunately I don't have clear repro steps, but the good news is I'm back up and running 🙂
Cheers!
Status changed to Awaiting Railway Response Railway • 10 months ago
Status changed to Solved brody • 10 months ago