Web Launch is confusingly broken for new users

Reproduction:

  1. Sign up; GitHub Login in this case
  2. Connect first repo
  3. Click Launch
  4. Launch fails confusingly

Result:

  1. Start deployer machine

  2. Setup and pull from git repository

  3. Prepare deployment plan

  4. Customize deployment plan

  5. Generate requirements for build

  6. Build image

    Loading…

    flyctl deploy --build-only --push -a app-autumn-firefly-5924 --image-label deployment-ce859b2d0f6679656854d799410bf112

    ==> Verifying app config

    Validating /usr/src/app/fly.toml

    ✓ Configuration is valid

    - → Verified app config

    Error: app not found (Request ID: 01KJWGZ27JC9E60XEREK1E36SJ-iad) (Trace ID: a0f45d7dc389331461541f420ed99e43)

    unsuccessful command 'flyctl deploy --build-only --push -a app-autumn-firefly-5924 --image-label deployment-ce859b2d0f6679656854d799410bf112 ’

Notice:

  1. /usr/src/app/fly.toml exists
  2. No app found
  3. Find ‘fly.toml’ in the left menu, click:

Configuration

Learn more about app configuration with fly.toml

No app configuration found.


Click the link to learn more, and nothing seems relevant. Wat do?

We try to do some automated checks to understand what kind of app is being deployed so we can make some best practice choices for the configuration. I wonder if that detection went wrong with your repo. What’s the architecture of your app? Language? Framework?

It’s also possible this was a transient failure for the deploy machine. Did you try it again after this initial failure?

I’ve not used the GitHub deploy method. I assume that the “automated checks” Alex refers to is the manner in which a Dockerfile is selected, or compiled, to match the needs of the application. I think this is very clever, and also a recipe for deployment instability.

I’d recommend building your own Dockerfile(s) from scratch, and then deploying them with the console (and without Depot) in your own repeatable CI process.

In my case, it was a Ruby project, and it doesn’t really have anything launchable. I was curious about what would happen or what Fly.io even means by Launching. I was hoping that investigating the inevitable failure would be informative, but it was just more confusing.

Could you expand on what you mean by that?

Does your project have a Dockerfile? Does your project have a fly.toml?

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