Build failing consistently on both CLI (railway up) and dashboard redeploy
escuelacontratistas-star
FREEOP

10 days ago

Build failing consistently on both CLI (railway up) and dashboard redeploy with: Build Failed: build daemon returned an error < failed to solve: secret RAILWAY_GIT_REPO_OWNER not found >. Project has no GitHub integration — deploys via CLI folder upload only.

$10 Bounty

4 Replies

Railway
BOT

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


manuproject
HOBBY

10 days ago

failed to solve: secret X not found is buildkits real error for a --mount=type=secret,id=X line with no value, and railway only sets RAILWAY_GIT_REPO_OWNER when github is connected, which yours isnt. can you paste your dockerfile (or confirm if youre even using one)? want to check if it references that secret directly before saying for sure where to remove it


manuproject

failed to solve: secret X not found is buildkits real error for a --mount=type=secret,id=X line with no value, and railway only sets RAILWAY_GIT_REPO_OWNER when github is connected, which yours isnt. can you paste your dockerfile (or confirm if youre even using one)? want to check if it references that secret directly before saying for sure where to remove it

dontknowcode-nvt
FREE

10 days ago

I got same problem. Posted here: https://station.railway.com/questions/railpack-builds-fail-with-secret-railwa-575304cf

I'm not using a Dockerfile. The services use Railway's Railpack auto-detection for Python, and I'm deploying local source with railway up.

The build gets as far as Railpack 0.36.1 generating/loading railpack-plan.json, then fails at install mise packages: python with:

failed to solve: secret RAILWAY_GIT_REPO_OWNER not found

I can reproduce the exact same error on two different services (oauth-web and retention-cleanup) in the same project.

The project isn't connected to GitHub. So if RAILWAY_GIT_REPO_OWNER is only available for GitHub-connected builds, could Railpack 0.36.1 be incorrectly referencing that secret for CLI/local-source builds?


10 days ago

Hey, The fix is rolling out, Can you try redeploy your service?


solofone
HOBBY

10 days ago

im having same issue Build Failed: build daemon returned an error < failed to solve: secret RAILWAY_GIT_AUTHOR not found >


Welcome!

Sign in to your Railway account to join the conversation.

Loading...