R
Railwayβ€’3mo ago
Michael Li

My app won't deploy after upgrade to pro and transfer project to that team

project id: 5db697d6-4633-4389-a017-82ee62c54dcb
Solution:
can you try restarting the "database" database?
Jump to solution
30 Replies
Percy
Percyβ€’3mo ago
Project ID: 5db697d6-4633-4389-a017-82ee62c54dcb
Michael Li
Michael LiOPβ€’3mo ago
No description
Brody
Brodyβ€’3mo ago
your health check has failed, have you checked your deploy logs for application errors that would prevent your app from responding to the health check?
Michael Li
Michael LiOPβ€’3mo ago
After removing the health check, the node start script just hangs forever
No description
Michael Li
Michael LiOPβ€’3mo ago
No description
Michael Li
Michael LiOPβ€’3mo ago
seems like the process is waiting for pg connection do i need to change the database url after transfer project?
Brody
Brodyβ€’3mo ago
nope, please switch to the v2 runtime in the service settings
Michael Li
Michael LiOPβ€’3mo ago
I tried the v2 runtime, but it still didn't work. I changed the database URL to public instead of private, and it worked, but it will cost me egress. im fine with public connection url for now, but how do i request railway support to look into it?
Brody
Brodyβ€’3mo ago
i am railway support πŸ™‚ and i am looking into what could be misconfigured
Michael Li
Michael LiOPβ€’3mo ago
πŸ˜‚ I thought your signature used to be "You're not railway support."
Brody
Brodyβ€’3mo ago
i am now πŸ™‚ can you please update your variables to use the private network?
Michael Li
Michael LiOPβ€’3mo ago
sure just redeployed
Brody
Brodyβ€’3mo ago
it will error soon right?
Michael Li
Michael LiOPβ€’3mo ago
Yes, the process just hangs, and it will get a connection failed error.
Michael Li
Michael LiOPβ€’3mo ago
No description
Brody
Brodyβ€’3mo ago
okay, waiting for that to happen
Michael Li
Michael LiOPβ€’3mo ago
No description
Brody
Brodyβ€’3mo ago
can you explain the two pg databases?
Michael Li
Michael LiOPβ€’3mo ago
The "database" DB stores all the essential business data, while the "datalake" DB stores the analytics-related data for report purpose only.
Brody
Brodyβ€’3mo ago
are you hardcoding database urls in your code? the commit message makes me think so
Michael Li
Michael LiOPβ€’3mo ago
No description
Michael Li
Michael LiOPβ€’3mo ago
nope, its passed via env
Solution
Brody
Brodyβ€’3mo ago
can you try restarting the "database" database?
Brody
Brodyβ€’3mo ago
i cant help you debug this if you keep switching back to the public url
Michael Li
Michael LiOPβ€’3mo ago
im create a new service with private url with id 21978071-9d50-4393-ab1a-7f456fc27371 sorry but i have to keep the app running even tho it consume egree. can u debug with this service instead ? 21978071-9d50-4393-ab1a-7f456fc27371
Brody
Brodyβ€’3mo ago
do i have your permission to make changes to "server debugging"?
Michael Li
Michael LiOPβ€’3mo ago
yes looks like it works after redeploy both databases The issue seems solved now.
Brody
Brodyβ€’3mo ago
awsome
Michael Li
Michael LiOPβ€’3mo ago
so may i delete the "server debugging" service? Thank you for your help. Have a great day!
Brody
Brodyβ€’3mo ago
yes you can you too πŸ™‚
Want results from more Discord servers?
Add your server