fly launch
? App Name (leave blank to use an auto-generated name):
? Select organization: Mark Ericksen (personal)
? Select region: lax (Los Angeles, California (US))
Created app weathered-wave-1020 in organization personal
Wrote config file fly.toml
? Would you like to deploy now? (y/N)
I tried to do this to deploy an app from a dockerfile to an organization:
me@laptop ~/dropbox/projects/connect.onefact.org main 7 flyctl launch --image=nocodb/nocodb:latest --no-deploy
Creating app in /Users/me/dropbox/projects/connect.onefact.org
An existing fly.toml file was found for app connect-onefact-org
? Would you like to copy its configuration to the new app? No
Using image nocodb/nocodb:latest
? Choose an app name (leave blank to generate one): connect-onefact-org
automatically selected personal organization: Jaan Altosaar
Some regions require a paid plan (bom, fra, maa).
See https://fly.io/plans to set up a plan.
? Choose a region for deployment: Secaucus, NJ (US) (ewr)
App will use 'ewr' region as primary
Created app 'connect-onefact-org' in organization 'personal'
Admin URL: https://fly.io/apps/connect-onefact-org
Hostname: connect-onefact-org.fly.dev
Wrote config file fly.toml
Validating /Users/me/dropbox/projects/connect.onefact.org/fly.toml
Platform: machines
✓ Configuration is valid
Your app is ready! Deploy with `flyctl deploy`
But as you can see there is no option to select an organization.
Does anyone know how to fix this to replicate the example in the documentation?
Interesting, so flyctl is hitting our GraphQL API while the dashboard is reading directly from the database. In theory both should be reading from the same place ultimately but somehow flyctl has stale data.
I’ve asked about this internally but don’t have anything conclusive to share. A couple thoughts, mainly of the “nuke it from orbit” variety:
Are you running the latest flyctl? fly version update and see if that helps.
After the update, maybe re-authenticate with fly auth logout && fly auth login.
Sorry I don’t have a definitive answer. FWIW I’m curious about this one myself.
After the update, maybe re-authenticate with fly auth logout && fly auth login.
Done.
Tried it again:
me@laptop ~/dropbox/projects/connect.onefact.org main 7 flyctl launch --image=nocodb/nocodb:latest --no-deploy
Creating app in /Users/me/dropbox/projects/connect.onefact.org
An existing fly.toml file was found for app connect-onefact-org
? Would you like to copy its configuration to the new app? No
Using image nocodb/nocodb:latest
? Choose an app name (leave blank to generate one): connect-onefact-org
? Select Organization: [Use arrows to move, type to filter]
Jaan Altosaar (personal)
> One Fact Foundation (one-fact-foundation)