Need aproval to deploy and error on approve
rbrdigital
HOBBYOP

2 years ago

When someone from my team pushes some commit, railway request to approve to deploy. If i approve, i get the error activity error

Project ID: e60124ce-5bb4-41cb-8517-9606dbe5b9f7

Environment: Development

Closed

45 Replies

rbrdigital
HOBBYOP

2 years ago

Ps.: All servers are requesting for approvation because it's a monorepo


rbrdigital
HOBBYOP

2 years ago

Ps 2.: This problem appeared about 1 hour ago, because my team was deploying well as usually


Hey @Douglas Rubim - we have since reverted the PR. Long story short, we are tightening the ability for people who deployed a repo on Railway into their project to prevent upstream repos force deploying into a user's environment without their knowledge.

There are edge cases to this experience that we didn't nail right. Is the user part of your team, do they have a team seat?


rbrdigital
HOBBYOP

2 years ago

Oh, okay! Yes, this happened to three of my team and it happened to me too.. i'll test again


rbrdigital
HOBBYOP

2 years ago

i'm receiving the same error

1275574215315030138


tut-with-us
PRO

2 years ago

I also have been facing this issue, I was merging PRs to the main branch in my repository when I found out that there are some deploys that need approval. However when I try to do so, I get an error saying "Unable to access upstream repository". I tried to unlink the github repo and link it back but now I can no longer see the repo from the list even though I gave railway permission to access all repositories within the Github organization. (I tried removing the github app from the organization and re installing it with no luck, now I can no longer link my github to my railway service)

Project ID: ab0addc4-4004-48a7-8a41-4c8782d6a346

Any help would be appreciated!


Gotcha- the team just merged in something that should address the errors. However, we do have a UX fix incoming and some docs landing that will explain the changes.


Try now? Roll out completed.


rbrdigital
HOBBYOP

2 years ago

It looks like it's deploying now


Wonderful!


rbrdigital
HOBBYOP

2 years ago

but I still need to approve my own push


Sorry for the issue- however, are you using your GitHub or a shared GH user?


rbrdigital
HOBBYOP

2 years ago

i'm logged on railway with my enterprise email and i work on github using my personal email


That will do it, can you give me the two GH users?


What matters is that you and RBR aren't using a shared account.


rbrdigital
HOBBYOP

2 years ago

railway email: cto@rbrdigital.io

personal email: douglasrubims@gmail.com


I think the emails matter less vs. the GitHub usernames.


Sorry to be insistent here, I want to make I can repro the situation to make it clear for others and your team. (And to see bugs.)


rbrdigital
HOBBYOP

2 years ago

ohh I think I found something


rbrdigital
HOBBYOP

2 years ago

i'm connected in another gh account on railway


rbrdigital
HOBBYOP

2 years ago

i thinks the reason is because i have two railway accounts (personal and for work)


rbrdigital
HOBBYOP

2 years ago

can i connect the same gh account in two railway accounts?


rbrdigital
HOBBYOP

2 years ago

oh, i think i can't

1275581319161708604


rbrdigital
HOBBYOP

2 years ago

i'll put my personal account on the team and use only it.. it will solve my problem, i guess


tsk I know this issue


Okok


How blocking is this for you right now?


rbrdigital
HOBBYOP

2 years ago

I think I did it, I joined the team with my personal account as admin and removed my previous account (which I only used to access the team)


That's what we intended!


If you don't mind me asking, why did you have two separate accounts for personal / work?


(I may know the answer but wanted to confirm.)


rbrdigital
HOBBYOP

2 years ago

I believe it was just the order of factors, when I met railway, I created the account with my corporate email, and when I wanted to create something personal, I ended up logging in with github (it wasn't on purpose hahah)


rbrdigital
HOBBYOP

2 years ago

While we're here, how do I get a Pro Plan badge on Discord?


voyager
HOBBY

2 years ago

Hi Angelo, I'm having similar problems. I had deployed my app last year and then turned it off and the trial expired afterwards. Today I upgraded in order to redeploy. When I hit redeploy, it said 'Needs Approval- User that pushed commit is not a member of this team'. Why its not recognizing me as the owner of this project? And then after I hit Approve, it says 'Unable to access upstream repository'. The only thing I changed was the password of my github account, could it be the reason? Please let me know. Thank you.

My project ID 044745aa-6ea7-41ae-bdf7-134e5efcf1e1


you have it but seems like I have the stack ranking of the roles out of order, lemme fix that


rbrdigital
HOBBYOP

2 years ago

Ahh yes! Thanks for the support, everything is working great here now

I am more and more anxious every day for Railway's growth 🚀


Would you and the team like a Slack channel so you can raise issues directly to us?


rbrdigital
HOBBYOP

2 years ago

oh, that's interesting for us


Discords for gaming as they say.


rbrdigital
HOBBYOP

2 years ago

Funny enough, we use Discord for everything here at the company 🤣


So do we, whatever works for you!


Just wanted to ask.


rbrdigital
HOBBYOP

2 years ago

oh nice! I guess we can leave it at that then


marcodalia
PRO

2 years ago

I'm also getting the error:

"Must have access to the repository to approve deployments."

even if I'm Admin in the github repo (but I'm not part of the organization)


2 years ago

hey, your issue sounds much different than OP's

please open your own thread for that.


Status changed to Closed brody almost 2 years ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...