10 days ago
Hi Railway team,
Deployments from the Railway CLI are consistently failing during the Railpack build stage with:
Build Failed: build daemon returned an error < failed to solve: secret RAILWAY_GIT_REPO_OWNER not found >
This appears to happen before the application is built or started.
What I have verified:
- Environment: staging
- Deployment method:
railway up - Railway CLI: 5.37.3 (Homebrew)
- Railpack: 0.36.1
- Python detected successfully by Railpack
- The failure occurs at
install mise packages: python - The same error occurs across multiple services in the same project.
- I reproduced it on both
oauth-webandretention-cleanup. - Existing running deployments remain healthy.
- No application/database/environment changes are required for the failure to occur.
Relevant build log:
scheduling build on Metal builder "builder-iiwzrh"
using build driver railpack-v0.36.1
↳ Detected Python
↳ Using pip
...
install mise packages: python
Build Failed: build daemon returned an error < failed to solve: secret RAILWAY_GIT_REPO_OWNER not found >
I retried the oauth-web deployment and received exactly the same error, then tested a different service (retention-cleanup) and reproduced the same failure.
Could you please check whether RAILWAY_GIT_REPO_OWNER is expected to be injected internally by Railway/Railpack, and whether there is an issue with the build metadata/secrets for this project or the Metal builder?
I have not manually created a RAILWAY_GIT_REPO_OWNER variable because it appears to be Railway-internal metadata.
Project ID: d1b95395-d34d-4bea-8b1a-123b00de6b6a
Failed deployments:
- oauth-web: cca467d0-1f1d-4b4a-b681-ea8687517b7f
- oauth-web retry: c09777af-5e57-4dbd-b26e-11042e8f662a
- retention-cleanup: 13de2ca2-8512-4266-92eb-27cca30d0966
Thanks.
13 Replies
10 days ago
This thread has been opened as a bounty so the community can help solve it.
Status changed to Open Railway • 10 days ago
10 days ago
Having the same issue here with my Go Project
10 days ago
same issue
Status changed to Awaiting User Response Railway • 10 days ago
10 days ago
Same issue.
Status changed to Awaiting Railway Response Railway • 10 days ago
10 days ago
same issue
Status changed to Awaiting User Response Railway • 10 days ago
noahd
For anyone hitting the issue, how are you triggering a build?
10 days ago
I’ve triggered builds exclusively via railway up from the local CLI since day one. It worked consistently until this started happening, with no change to the deployment method. The failure occurs on the Metal builder during install mise packages: node, before the application build begins.
Status changed to Awaiting Railway Response Railway • 10 days ago
10 days ago
same for me as well for a next.js project, but it seems to fail before going into next.js's build.
for me, a github action triggers deployment via:
-
name: Deploy
run: railway up --service "${{ env.WEB_SERVICE_NAME }}" --ci
somewhere in my action.
10 days ago
This is on us appreciate raising. It seems to be isolated exactly to railway up using railpack. All other forms of deployment via dockerfile, github, etc should be perfectly fine.
You can track the issue here https://status.railway.com/incident/RZNJOBXD
Status changed to Awaiting User Response Railway • 10 days ago
Status changed to Awaiting Railway Response Railway • 10 days ago
Status changed to Awaiting User Response noahd • 10 days ago
10 days ago
Hey!
Are you able to try triggering a fresh build? Our fix has rolled out would love to see if its working now
noahd
Hey! Are you able to try triggering a fresh build? Our fix has rolled out would love to see if its working now
10 days ago
yes
Status changed to Awaiting Railway Response Railway • 10 days ago
noahd
Hey! Are you able to try triggering a fresh build? Our fix has rolled out would love to see if its working now
10 days ago
Hi, a new deployment worked in my case. Thanks for your prompt action on this.
Status changed to Closed Railway • 10 days ago



