Issue with deployment picking old environment variables

Hi there is weird bug in one of my services. The deployment sometimes pick old environment config values. I had changed the config few weeks ago. This happened to me just now. Is there anybody else facing this issue? very scary because it picked the old database config that is not correct. redeployed and it picked new config values
13 Replies
devenbhooshan
devenbhooshanOP•3y ago
happened with me again 75a4791 this is the deployment id for debugging purposes I redeployed -> 936fcb9 redeploy fixed the issue 😦 this is very scary folks. this makes the deployment unpredictable. same issue once again
Unknown User
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
devenbhooshan
devenbhooshanOP•3y ago
variable >And are you using railway's databases? yes, postgres ac677073-a4cb-4ca1-a6d8-777b313fd4aa plugin id ^ for your debugging
Unknown User
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
devenbhooshan
devenbhooshanOP•3y ago
devenbhooshan
devenbhooshanOP•3y ago
so the issue is that the deployment is picking old DATABASE_URL in every new commit deployment if I redeploy, it picks the new one
Unknown User
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
devenbhooshan
devenbhooshanOP•3y ago
you mean railway auto injects environment variables ?
Unknown User
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
devenbhooshan
devenbhooshanOP•3y ago
sure I should use a different environment variable then? is that the recommendation ? I have created my database on aws initially it was on railway I don't want to use that in my service but I want to keep the database running on railway
Unknown User
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
devenbhooshan
devenbhooshanOP•3y ago
cool. very weird bug thanks
angelo
angelo•3y ago
Confimred we are working on a fix for that bug!
Want results from more Discord servers?
Add your server