Railpack prepare fails with error
Anonymous
PROOP

6 days ago

Hey,

I am running into an issue deploying a service. I had successfully deployed my frontend nuxt app a few days ago from my linux machine. I made a few updates to it and now attempted to deploy it from my mac. The deployment fails at the railway prepare stage for no apparent reason. The log output is:

`scheduling build on Metal builder "builder-xjdvix"

scheduling build on Metal builder "builder-xjdvix"

fetched snapshot sha256:80b96021fddad02595de76d761025ee56963138929a500fbb924f0a813a8bf17 (5.2 MB bytes)

fetching snapshot5 MB596ms

unpacking archive9.8 MB35ms

using build driver railpack-0.36.4

railpack prepare exited with an error`

My previous successful deployment used railpack version 0.35.0, when trying to recreate it by setting the version in the railway.json, the config itself is being loaded but the version value is being ignored and 0.36.2 is loaded (which is also what is used when I don't specify a version). When setting the version to 0.36.4 then 0.36.4 is used. Either version, the same vague error.

When trying to do it locally by downloading railpack to my mac and running it there it prepares fine with both 0.36.2 and 0.36.4. I am pushing both deployments using the CLI tool, I don't have a github project linked. None of the files I changed had to do with the underlying functionality or packages. I get the same error in different regions as well. The build-in diagnosis tool also fails on the error.

Edit 5 days after the initial post: I kept trying throughout the days, now I get an actual error

Build Failed: build daemon returned an error < failed to solve: failed to resolve source metadata for ghcr.io/railwayapp/railpack-frontend:0.36.2: ghcr.io/railwayapp/railpack-frontend:0.36.2: not found >

Exact same issue with version 0.36.4 and when passing no railway.json at all.

Thank you

$20 Bounty

2 Replies

Railway
BOT

6 days ago

This thread has been opened as a bounty so the community can help solve it.

Status changed to Open Railway 6 days ago


Are you using a custom Railpack config?


0x5b62656e5d

Are you using a custom Railpack config?

Anonymous
PROOP

5 days ago

Negative. My railway.json also did not exist until I already encountered this issue and even then all I changed from the default was the railpack version.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...