Where can I find logs to see why my deployment is failing?

I am new to fly.io. I have tried three times to deploy and app and they fail every time in deploy application. When I start a new deployment, it is picking an old branch which most likely causing the failure. I am not able to change it. My question is:

  1. how do I make sure fly is picking the master branch

  2. how do I get the details about what failed? I know you can click on the arrow for each step and see the log but is there a place where it actually tell you what is wrong?

  3. how do I delete old apps? I have three failing copy of the apps and I don’t see any delete buttons.

Any assistance is greatly appreciated

Hi… It’s generally best to use fly deploy from the command line in these situations. The dashboard deployer is still relatively new and is known to often omit troubleshooting information, etc.

Another broad tip is to run fly config validate --strict beforehand, which will catch many common fly.toml errors.

Hope this helps a little!


fly app destroy from the command line will definitely work. (Possibly there’s something in the dashboard squirreled carefully away, :chipmunk:, as well.) Fly.io is still mostly CLI-first, although they’ve said recently that they want to gradually become more GUI over time…

Thank you. Where can I get the information in CLI?

The CLI is called flyctl, and its section of the official docs is at…

https://fly.io/docs/flyctl/

There’s also an introduction to the overall launch/deploy style:

https://fly.io/docs/launch/

It sounds like you already have the equivalent of fly launch taken care of; after that, a person uses fly deploy after each tweak. (The former is just a one-time initialization step, incorporating some convenient configuration heuristics for specific frameworks that it recognizes, etc.)

Thank you. Let me see what I can do.

1 Like

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