My github action deployments fail. Not sure why.
I get this failure message:
Run flyctl deploy --remote-only
==> Verifying app config
--> Verified app config
==> Building image
Error failed to fetch an image or build from source: error connecting to docker: Could not find App
Error: Process completed with exit code 1.
I also noticed that builder app is not being started in my fly.io dashboard.
A bit lost on how to solve it.
I deleted my app before redeployment. Only one version app can run at a time due to APIs used, hence normal continuous deployment does not work.
Since I have not recreated the app on fly.io before new deployment, deployment was failing.
Recreating the app with the same name solved the issue.
I’m experiencing this error as well, and I’m not sure I understand how you arrived at your conclusion. If there’s any way you could elaborate I would really appreciate it.
I haven’t deleted my app; rather, I switched computers in order to continue working on my app from my laptop. I cloned my git repository to my new computer, but obviously they have different docker and fly installs. Now I am trying to deploy a newer version of my app and receiving this error.
I am wondering, is Fly looking for some cached version that doesn’t exist because I’m on a new computer? I can’t choose to “launch” a new app a) because the app already exists online, and b) I am limited by the free tier.
I used Github actions deployment LINK. Once the action on Github is triggered, it communicates with Fly directly to redeploy the app. In my case, the deployment action tried to find the app on fly (as specified in fly.toml file in the repo), but could not do so as I deleted the app prior to that. Recreating the app resolved the issue.
If you use remote deployments from guthub actions, local set up should not matter (my guess). I would suggest verifying that the app specified in fly.toml file is the one already running on fly.