cannot deploy, always stuck on "Successfully prepared image"

--> Build Summary:  (​)
--> Building image done
image: registry.fly.io/0xxxx:deployment-3xxxxx
image size: 498 MB

Watch your deployment at https://fly.io/apps/2xxxxxx/monitoring

Process groups have changed. This will:
 * create 2 "app" machines

No machines in group app, launching a new machine

-------
 ⠦ Machine 1xxxxxxxxxxxx [app] was created

im stuck here - ive already tried destroying machines and scaling to 0 to 1 or 2, changing regions. no deployment pushes through. now my app is suffering a downtime. any help is appreciated, thanks all

update:

i’ve no idea what happened, but now the app has a machine that is running fine, but the deployment is stuck here:

 → Build Summary:  (​)
 → Building image done
image: registry.fly.io/0xxxxx:deployment-1xxxxxxx
image size: 498 MB

Watch your deployment at 


Process groups have changed. This will:

create 2 “app” machines

No machines in group app, launching a new machine
Creating a second machine for high availability and zero downtime deployments.
To disable this, set “min_machines_running = 0” in your fly.toml.




✔ Machine 2xxxxxxxxxxxx [app] was created

deploying took a really long time, but im thankful it’s up now.

documenting what i did:

listed the machines fly machines list
destroyed it (it was on “lease” so i used fly machines leases clear)
fly machines destroy xxxxx --force
fly deploy –strategy immediate

Same here. I also can’t deploy

Which region are you guys deploying to? I just tried ewr and didn’t see any hiccups or delays.

However, syd has an open status entry at the moment, and nrt has had glitches recently…

It’s stuck with

==> Building image
Waiting for depot builder…
🌎

I dont know why, but I have tried logout then login FlyCLI again. It’s working :smiley:

my machines are on nrt

looks like nrt and syd are both pooped out rn lol

i am often stuck on that stage when deploying – it takes a while to finish that stage
it keeps on logging Waiting for depot builder… on a new line for a whole minute or 2, i feel like that is normal

how long was it stuck on you?

About 10m :frowning:

then

==> Building image
WARN failed to create build in graphql: ensure depot builder failed, please try again (status 401): {"error":"401 Unauthorized"}

Error: failed to fetch an image or build from source: error building: ensure depot builder failed, please try again (status 401): {"error":"401 Unauthorized"}

I logout and login Fly account again, it solves this problem :smiley:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.