Running the trial app

Hi,

long-time Heroku user here, totally new to Fly.io. I’m trying to run the hello-fly tutorial app using the steps in the README:

git clone https://github.com/fly-apps/hello-fly.git

cd hello-fly

fly launch --now

That last command is where it goes awry:

$ fly launch --now
Creating app in /Users/vahagnhay/Desktop/websites/live/hello-fly
Scanning source code
Detected a Dockerfile app
? Choose an app name (leave blank to generate one): 
automatically selected personal organization: fullstackplus
panic: nested instrument span!

goroutine 30 [running]:
github.com/superfly/flyctl/internal/instrument.(*ApiInstrumenter).Begin(0x3f55828?)
    github.com/superfly/flyctl/internal/instrument/call.go:61 +0xc5
github.com/superfly/flyctl/api.(*Client).RunWithContext(_, {_, _}, _)
    github.com/superfly/flyctl/api@v0.0.0-20220708073423-b6d7c3cf5161/client.go:121 +0x84
github.com/superfly/flyctl/api.(*Client).GetOrganizationBySlug(0xc000d7a9c0?, {0x2945708, 0xc000d91aa0}, {0xc00105c170, 0x8})
    github.com/superfly/flyctl/api@v0.0.0-20220708073423-b6d7c3cf5161/resource_organizations.go:77 +0x18f
github.com/superfly/flyctl/internal/build/imgsrc.EagerlyEnsureRemoteBuilder({0x2945708, 0xc000d91aa0}, 0x137924a?, {0xc00105c170, 0x8})
    github.com/superfly/flyctl/internal/build/imgsrc/docker.go:484 +0x85
created by github.com/superfly/flyctl/internal/command/launch.run
    github.com/superfly/flyctl/internal/command/launch/launch.go:166 +0x7b2

What am I doing wrong?

1 Like

Hi @fullstackplus

This might be a bug in an earlier version of flyctl. Update flyctl:

fly version update

Then try launching again.


EDIT: Let us know if updating flyctl doesn’t solve this issue. :slight_smile:


2 Likes

Hi @andie :slight_smile:

That was spot on, thank you! Here’s the trial app:

https://billowing-frost-5786.fly.dev/

1 Like