first run for fly launch hangs

I just created brand new Rails 7 app and tried to launch it, but it looks like fly launch just hangs indefinitely. I see that build created a db, and my app is in pending state, but no logs

What was the last line of output? I just tried running through the first step of Getting Started · Fly Docs and it worked for me.

No logs at all. I ran fly logs -a spring-dust-6658

In terms of screen output i’ve got:

Any app within the personal organization can connect to postgres using the above credentials and the hostname "spring-dust-6658-db.internal."
For example: postgres://postgres:<blah>@spring-dust-6658-db.internal:5432

Now that you've set up postgres, here's what you need to understand: https://fly.io/docs/reference/postgres-whats-next/```

That’s odd. I’ve just run that again, and again it worked for me. Is it repeatable?

Try control-C, then running

fly destroy -y spring-dust-6658
fly destroy -y spring-dust-6658-db

Then remove the following files: Dockerfile, .dockerignore, fly.toml, and lib/tasks/fly.rake.

Once that is done, try fly launch again.

I tried it many times, so yes, it’s definitely repeatable (i was able to successfully deploy phoenix app, so it’s only rails issue for me).

I will try running it again, but just FYI there was no lib/tasks/fly.rake for me do delete

Seems to be stuck again:


1 desired, 1 placed, 1 healthy, 0 unhealthy [health checks: 3 total, 3 passing]
--> v0 deployed successfully

Connect to postgres
Any app within the personal organization can connect to postgres using the above credentials and the hostname "aged-thunder-4195-db.internal."
For example: postgres://postgres:<blah>@aged-thunder-4195-db.internal:5432

Now that you've set up postgres, here's what you need to understand: https://fly.io/docs/reference/postgres-whats-next/```

lib/tasks/fly.rake was introduced in flyctl v0.0.384.

What does fly version return?

0.0.384

I just updated to the latest fly v0.0.387 darwin/amd64 Commit: d46c14f3 BuildDate: 2022-09-01T21:01:46Z - it did not help

Any updates here? Kinda forced to switch back to Heroku, since i can’t deploy Rails apps