Hey, I’m having an issue deploying to fly.io. I deployed it successfully a few days ago and nothing changes in fly.io configs, now I’m getting this.
Error: failed to fetch an image or build from source: error building: input:3: ensureDepotRemoteBuilder {"code"=>"internal", "message"=>"internal error"}
Thanks for the reports, we’re looking into the issue with remote builders. In the meantime, you can try using --local-only to build locally as a workaround, or --depot=false to use a fly-hosted builder.
(base) XXX@XXX-MacBook-Pro-2 frontend % flyctl deploy --remote-only --strategy bluegreen --no-cache --local-only
==> Verifying app config
Validating /Users/XXX/listingai-v2/frontend/fly.toml
✓ Configuration is valid
→ Verified app config
==> Building image
==> Building image
Error: failed to fetch an image or build from source: docker is unavailable to build the deployment image
remove --local-only from your invocation - the last option (either remote or local) wins, and since in this case “local wins”, you don’t have Docker installed locally and the local build can’t proceed.
So either:
--local-only (but you must have Docker installed)
--remote-only --depot=false (use a non-depot remote builder, doesn’t need local Docker installed)
I see you joined 18 minutes ago, this is BAU…they might write up something, but the root issue here is obviously going undressed as these kinds of issues (and much worse) continue to happen on a weekly basis. In fact, this is one of the less impactful issues because our existing deployments were still accessible during the outage.
Yes… You might try putting a watch on the postmortem tag; typically they come out the week after the incident—after they’ve had a chance to collate their own records, discuss internally what did actually happen, explain what measures are being taken to fix the underlying causes…
(“Watch” is the little bell icon.)
Aside: According to the status page, it was a “a database outage” at Depot, the third party that runs the default builders. But there is generally a lot more detail in the full, subsequent write-up.