Hello. Can’t deploy new version of my app.
[andrey@fedora2022 Giftbox]$ fly deploy
==> Verifying app config
→ Verified app config
==> Building image
WARN Remote builder did not start in time. Check remote builder logs with flyctl logs -a fly-builder-wandering-fog-4087
WARN Failed to start remote builder heartbeat: remote builder app unavailable
WARN Remote builder did not start in time. Check remote builder logs with flyctl logs -a fly-builder-wandering-fog-4087
Error failed to fetch an image or build from source: error connecting to docker: remote builder app unavailable
My fly.toml
fly.toml file generated for malav-giftbox on 2022-09-04T05:07:32+03:00
Hey there, could y’all try running LOG_LEVEL=debug fly deploy and share the output here, that may give us some more specific information on what’s going on.
e[2mDEBUG Loaded flyctl config from/Users/leokury/.fly/config.ymle[0m
e[2mDEBUG trying remote docker daemone[0m
e[33mWARN e[0mFailed to start remote builder heartbeat: Could not find App
e[33mWARN e[0mfailed to create build in graphql: input:3: createBuild Could not find App
e[2mDEBUG Trying ‘Buildpacks’ strategy
e[0me[2mDEBUG result image: error:Could not find App
e[0me[2mDEBUG Skipping FinishBuild() gql call, because CreateBuild() failed.
e[0m
I had the same issue when running the default fly deploy command. Over several attempts, I noticed the fly cli was always trying to run the remote builder which was never available. Since I am deploying from a local repo, I ran fly deploy --local-only to force the build process to run entirely on my machine. It then pushed and deployed the built image up to fly.io.
My setup was configured to deploy using Dockerfile.