R
Railway•12mo ago
Rem Kim

Deployments failing after Plugin Migrations

Need help ASAP. Production services are down after running redis plugin migration. Also no logs shows in deployments Deploy: c128abaf-453e-470b-806e-f6e7d13e5236
76 Replies
Percy
Percy•12mo ago
Project ID: c128abaf-453e-470b-806e-f6e7d13e5236
Brody
Brody•12mo ago
where the migrations successful?
Rem Kim
Rem KimOP•12mo ago
It showed dialog saying everything was successful
Brody
Brody•12mo ago
this does relate to the same project as your previous help thread does?
Rem Kim
Rem KimOP•12mo ago
Nope different one Can you check logs for my services that are down? deployments run without showing any logs
Brody
Brody•12mo ago
I do not work for Railway so I would not have access to such things
Rem Kim
Rem KimOP•12mo ago
ah my bad
Brody
Brody•12mo ago
can you try to manually redeploy the effected services?
Rem Kim
Rem KimOP•12mo ago
I thought you are part of the team 😄 I did already multiple times 😦
Brody
Brody•12mo ago
lots of people do, check my bio 🤣 okay tagging in team now @Christian - deployments in crashed state with no logs
Rem Kim
Rem KimOP•12mo ago
thanks
christian
christian•12mo ago
We're looking into this now; thank you for escalating
Rem Kim
Rem KimOP•12mo ago
thanks
christian
christian•12mo ago
The issues here are caused by of connectivity errors with GitHub @Rem Kim could you help us explore a couple of avenues here: - Do you have check suites enabled for impacted service? https://docs.railway.app/guides/github-autodeploys#check-suites - Did you rename anything recently? Service, GitHub repo, GitHub org name, etc?
JustJake
JustJake•12mo ago
Hey @Rem Kim. Can you answer the above Also this resolveai-cms and resolveai-node-resque, did the deploys get removed despite these failing builds?
Rem Kim
Rem KimOP•12mo ago
yes I did move repos to org but I did reconnect them later on
JustJake
JustJake•12mo ago
Can you try doing this now please? We're getting "NotFound" errors from GitHub for these repos
Faraz
Faraz•12mo ago
Still seeing source as personal account and not an org.
Rem Kim
Rem KimOP•12mo ago
khm let me check
Faraz
Faraz•12mo ago
Could you share username and org name as well to avoid confusion?
Rem Kim
Rem KimOP•12mo ago
1 min org name is ResolveaiHQ
Faraz
Faraz•12mo ago
Rem Kim
Rem KimOP•12mo ago
i get an error trying to connect
JustJake
JustJake•12mo ago
Error plz
Rem Kim
Rem KimOP•12mo ago
it still tries to
No description
Faraz
Faraz•12mo ago
One sec.
Rem Kim
Rem KimOP•12mo ago
connect to private repo
Faraz
Faraz•12mo ago
I'll remove old one manually. Try now for resolveai-cms?
Faraz
Faraz•12mo ago
This part.
No description
Faraz
Faraz•12mo ago
Once you're good, I can do it for resolveai-node-resque too.
Rem Kim
Rem KimOP•12mo ago
still same error refreshed still error refreshed page
Faraz
Faraz•12mo ago
Now?
Faraz
Faraz•12mo ago
Old one has been removed.
No description
Rem Kim
Rem KimOP•12mo ago
worked now
JustJake
JustJake•12mo ago
Your logs are logging now
Rem Kim
Rem KimOP•12mo ago
see build logs too
Faraz
Faraz•12mo ago
Awesome, let me do it for the other one too.
JustJake
JustJake•12mo ago
Please try for the other resolveai-node-resque
Rem Kim
Rem KimOP•12mo ago
sure thanks
JustJake
JustJake•12mo ago
(I'm looking into why a failed build was able to remove your deploy. That absolutely shouldn't happen as is completely unacceptable)
Rem Kim
Rem KimOP•12mo ago
connected deploying too I'm surprised that happened now after redis plugin update
JustJake
JustJake•12mo ago
Surprised what happened now? The "Not Found" issue?
Rem Kim
Rem KimOP•12mo ago
deployments failed and repo disconnected
JustJake
JustJake•12mo ago
When did you rename/reorg the thing?
Rem Kim
Rem KimOP•12mo ago
because when I moved repos I checked what my services were pointing to that was at the beginning of this week I believe
JustJake
JustJake•12mo ago
@fp Do we redeploy if there's a source change? We do right? I ask, because your last deploy on these two services was 9 days ago @Rem Kim So, I'm wondering if somehow that config change got dropped for these 2 services (Either as in forgot on your side or not committed on ours. That, I do not know)
Faraz
Faraz•12mo ago
We do. I'd imagine these were due to the plugin migration though?
JustJake
JustJake•12mo ago
Whatcha mean
Faraz
Faraz•12mo ago
Plugin migration redeploys affected services.
JustJake
JustJake•12mo ago
But it redeploys using the standard deploy flow And that should have not removed stuff when it hits "Failed"
Rem Kim
Rem KimOP•12mo ago
Thank you gents. Everything is up now I hope my postgres migration is not gona break everything again
Faraz
Faraz•12mo ago
I don't understand this either btw. On our end, it was pointing to the user/repo combo.
JustJake
JustJake•12mo ago
The non-org one right?
Faraz
Faraz•12mo ago
yes.
JustJake
JustJake•12mo ago
So, somehow it didn't get committed. We can look into that
Faraz
Faraz•12mo ago
@Rem Kim when did you change the repo source? Any chance you forgot? 😛
JustJake
JustJake•12mo ago
I will sit here and watch as you do it salute
Faraz
Faraz•12mo ago
(asking for a sanity check before I go digging in)
Rem Kim
Rem KimOP•12mo ago
I migrated to org this monday. Then I went to Railway and checked where repos point and it was showing ResolveaiHQ
JustJake
JustJake•12mo ago
Very weird. We will absolutely have a look
Faraz
Faraz•12mo ago
Interesting. It was already showing the org without you needing to change the source?
Rem Kim
Rem KimOP•12mo ago
yeah
Faraz
Faraz•12mo ago
Will dig in.
Rem Kim
Rem KimOP•12mo ago
starting postgres migration 🤞
JustJake
JustJake•12mo ago
Watching! (BTW, the migration will remove all deploys so we don't write at all to your DB while we're migrating it) So, mystery solved there But, bad timing on that bug I'm affraid 😦 We'll have a look into it
Rem Kim
Rem KimOP•12mo ago
ahh makes sense
JustJake
JustJake•12mo ago
Running downstairs to grab water but have migration open on my salute
Rem Kim
Rem KimOP•12mo ago
not sure if it succeeded I'm back to migrate dialog
JustJake
JustJake•12mo ago
Yup it's going See it's redeploying all your services resolveai-node-resque active again
Rem Kim
Rem KimOP•12mo ago
ok so just wrong dialog popped up
JustJake
JustJake•12mo ago
Well, it'll let you re-run it multiple times in case it fails
Rem Kim
Rem KimOP•12mo ago
i think all looks good.
JustJake
JustJake•12mo ago
Looks good to me
Rem Kim
Rem KimOP•12mo ago
Awesome thanks for looking over!
Faraz
Faraz•12mo ago
Nice, apologies for the issue. We've already lined up tickets for fixes. salute also added $100 in credits to your team so your next couple of bills are on us. 😄
Rem Kim
Rem KimOP•12mo ago
wow thanks 😄
Want results from more Discord servers?
Add your server