Need aproval to deploy and error on approve

rbrdigitalHOBBY

8 months 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

4 Replies

rbrdigitalHOBBY

8 months ago

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


rbrdigitalHOBBY

8 months ago

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


8 months ago

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?


rbrdigitalHOBBY

8 months ago

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


rbrdigitalHOBBY

8 months ago

i'm receiving the same error

1275574215315030000


tut-with-usPRO

8 months 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!


8 months ago

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.


8 months ago

Try now? Roll out completed.


rbrdigitalHOBBY

8 months ago

It looks like it's deploying now


8 months ago

Wonderful!


rbrdigitalHOBBY

8 months ago

but I still need to approve my own push


8 months ago

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


rbrdigitalHOBBY

8 months ago

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


8 months ago

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


8 months ago

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


rbrdigitalHOBBY

8 months ago

railway email: cto@rbrdigital.io
personal email: douglasrubims@gmail.com


8 months ago

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


8 months ago

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.)


rbrdigitalHOBBY

8 months ago

ohh I think I found something


rbrdigitalHOBBY

8 months ago

i'm connected in another gh account on railway


rbrdigitalHOBBY

8 months ago

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


rbrdigitalHOBBY

8 months ago

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


rbrdigitalHOBBY

8 months ago

oh, i think i can't

1275581319161708500


rbrdigitalHOBBY

8 months ago

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


8 months ago

tsk I know this issue


8 months ago

Okok


8 months ago

How blocking is this for you right now?


rbrdigitalHOBBY

8 months 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)


8 months ago

That's what we intended!


8 months ago

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


8 months ago

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


rbrdigitalHOBBY

8 months 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)


rbrdigitalHOBBY

8 months ago

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


voyagerHOBBY

8 months 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


8 months ago

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


rbrdigitalHOBBY

8 months 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 🚀


8 months ago

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


rbrdigitalHOBBY

8 months ago

oh, that's interesting for us


8 months ago

Discords for gaming as they say.


rbrdigitalHOBBY

8 months ago

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


8 months ago

So do we, whatever works for you!


8 months ago

Just wanted to ask.


rbrdigitalHOBBY

8 months ago

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


marcodaliaPRO

8 months 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)


8 months ago

hey, your issue sounds much different than OP's

please open your own thread for that.


Status changed to Closed brody 9 months ago


Need aproval to deploy and error on approve - Railway Help Station