stuck deployment?

I’m trying to deploy GitHub - tmm1/flyapp-mastodon: mastodon on fly.io and it seems to be stuck?

$ fly status
App
  Name     = mastodon
  Owner    = personal
  Version  = 1
  Status   = pending
  Hostname = mastodon.fly.dev

Deployment Status
  ID          = e8350a7d-e873-303e-90af-5bd45336cc1f
  Version     = v1
  Status      = running
  Description = Deployment is running
  Instances   = 1 desired, 0 placed, 0 healthy, 0 unhealthy

Instances
ID PROCESS VERSION REGION DESIRED STATUS HEALTH CHECKS RESTARTS CREATED

I think you found a bug on our end. Somehow the app is constrained to the lax region but the volume is in iad.

Hmm okay. I did specify region specifically on the volume. But then I forgot to do it on the app as well, so its in the region closest to me.

I’ll fix the regions and see if it deploys

I found the bug on our end. Regions should always come from volumes if present but there’s a codepath with process groups that bypassed this. We’ll get it fixed and you can set the region manually to get unblocked. Sorry about this!

Great, thank you. It does look correct on my end:

$ fly regions list
Region Pool:
iad
Backup Region:

$ fly regions set iad

Error App 'mastodon' uses volumes to control regions. Add or remove volumes to change region placement.

$ fly volumes list                                                                1 ↵
ID                   NAME             SIZE REGION ATTACHED VM CREATED AT
vol_2n0l9vlpkdp4635d mastodon_uploads 10GB iad                27 minutes ago

Oh that’s the check that should have prevented this :smiley:

I’ll fix it for you.

@tmm1 should be running now

Yep, thank you.

1 Like

Just fyi the bug should be fixed now, sorry about that!

1 Like