23 days ago
Environment: Railway CLI v5.12.1 (Windows, npm global). Project: ea-wingman-sandbox / environment: sandbox / service: clawdbot-railway-template.
ISSUE 1 — Can't connect a newly-created private GitHub repo as a service source
-
Created a new PRIVATE repo to deploy from: cloudhaveninnovate/cloudhaven-openclaw-wrapper-template, branch gw-secretref-fork.
-
In the service's Settings → Source, I staged a source change to that repo. The deploy failed with:
No GitHub installation found for repo: cloudhaveninnovate/cloudhaven-openclaw-wrapper-template
-
The Railway GitHub App apparently didn't have access to the newly-created private repo, and the path to install/configure the GitHub App for that repo was not discoverable from the Railway UI (no obvious "configure GitHub App access" link from the error or the source settings).
-
Workaround: I deployed via
railway up(CLI local upload) instead, which worked fine. -
Request: a clear in-UI flow (ideally a direct link from that error) to grant the Railway GitHub App access to a newly-created private repo when connecting it as a source.
ISSUE 2 — CLI OAuth token won't refresh; frequent re-login required
-
railway commands repeatedly returned:
Warning: failed to refresh OAuth token: Token refresh failed: invalid_grant
Unauthorized. Please run
railway loginagain. -
This required re-running
railway loginseveral times within a single working session. -
It recurred right after upgrading the CLI from v4.42.0 to v5.12.1: immediately after the upgrade
railway whoamiworked, then minutes later the refresh failed again. -
Platform: Windows. CLI installed via npm (-g @railway/cli).
-
Request: investigate why the refresh token isn't persisting / refreshing (possibly not migrated across the v4→v5 upgrade).
Both are reproducible on my account. Happy to provide deployment IDs or more detail.
2 Replies
23 days ago
appears similar to the repo-binding threads [link], but mine was connecting a freshly-created private repo, and there was no in-UI path to grant the App access.
Status changed to Awaiting Railway Response Railway • 23 days ago
21 days ago
For the "No installation found" error: the Railway GitHub App doesn't yet have access to your newly-created private repo. Grant it at GitHub App settings, open the Railway app's configuration, and add the new repository (or select All repositories) under repository access. Once access is granted the repo becomes selectable as a source and deploys work without needing railway up. We've logged your request for a direct link from that error in the UI.
For the CLI re-login loop: this is a known report we're tracking on the v5 CLI, and we've passed along your details (Windows, npm global, recurring invalid_grant on token refresh after the v4 to v5 upgrade). A fresh railway login restores the session in the meantime, and we'll follow up here as we learn more.
Status changed to Awaiting User Response Railway • 21 days ago
14 days ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 14 days ago