Skip to content
No access to our org when previous having access
morphdev
OP

24 days ago

This project doesn't have access to . A member of the project must be a collaborator on the repository. Reconnect the GitHub repository under Service Settings → Source, or reinstall the Railway GitHub App and grant it access to this repo.

I'm now seeing this when trying to deploy latest commit. This started happening a few weeks ago.

The Railway GH App has permissions for "All Repos" on the org so it should be able to see the repo.

Solved

3 Replies

Status changed to Awaiting Railway Response Railway • 24 days ago


24 days ago

This error usually means the GitHub connection that links the project to the repository has gone stale. GitHub connections were revoked during the October 21 security incident, which lines up with when this started for you, so the org-level "All Repos" access can be correct and the deploy still fails.

To restore it, first reconnect GitHub from your Railway account settings. Then check that the Railway App still has access to the repository (GitHub Settings -> Applications -> Railway App -> Configure -> Repository access). Next, disconnect and reconnect the repository in the service's Settings under Source, and run Deploy Latest Commit (Cmd+K or Ctrl+K in the service).

In a team project, the reconnect has to be done by the member who originally connected the repository.


Status changed to Awaiting User Response brody • 24 days ago


morphdev
OP

24 days ago

Ok that makes sense. I can see its disconnected. Its connecting to my personal github account though, rather than my organisation? How can I change it?


Status changed to Awaiting Railway Response Railway • 24 days ago


24 days ago

That's expected. A Railway account always connects to a personal GitHub user, never directly to an organization. Org repositories become available through the Railway GitHub App installed on the organization, as long as your personal GitHub user has contributor access to the repository.

Reconnect your personal GitHub account from your account settings. Then confirm the Railway App is installed on the organization with access to the repo, using this GitHub link and choosing the organization. Once both are in place, disconnect and reconnect the repository under the service's Settings, Source, and the org repo will appear in the list. If it doesn't show up straight away, wait a few minutes, then click Add, GitHub Repository, Refresh on the project canvas to refresh the list.


Status changed to Awaiting User Response brody • 24 days ago


Status changed to Solved morphdev • 24 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...