Skip to content

Error: flaps client missing from context #4564

@matthiaz

Description

@matthiaz

Describe the bug

With the latest flyctl the storage create function is crashing. Which is strange, because it does actually create the storage on tigris.

flyctl storage create --yes --name "$NAME" --app "$NAME"

Your Tigris project (xxxxxxxxxx) is ready. See details and next steps with: https://fly.io/docs/reference/tigris/

Setting the following secrets on xxxxx:
AWS_ACCESS_KEY_ID: tid_xxxxxxxxxxx
AWS_ENDPOINT_URL_S3: https://fly.storage.tigris.dev
AWS_REGION: auto
AWS_SECRET_ACCESS_KEY: tsec_xxxxxxxxxx
BUCKET_NAME: xxxxxxxxxx

Error: flaps client missing from context
Stacktrace:
goroutine 1 [running]:
runtime/debug.Stack()
	runtime/debug/stack.go:26 +0x5e
github.com/superfly/flyctl/internal/cli.printError(0xc000680000, 0xc000b97c15, 0xc00081d508, {0x2f93540, 0xc000998820})
	github.com/superfly/flyctl/internal/cli/cli.go:185 +0x5f1
github.com/superfly/flyctl/internal/cli.Run({0x2fbaac8?, 0xc000078c00?}, 0xc000680000, {0xc000172010, 0x8, 0x8})
	github.com/superfly/flyctl/internal/cli/cli.go:118 +0xb05
main.run()
	github.com/superfly/flyctl/main.go:47 +0x150
main.main()
	github.com/superfly/flyctl/main.go:26 +0x18

  • Operating system
cat /etc/fedora-release 
Fedora release 41 (Forty One)
  • fly version
flyctl version  
flyctl v0.3.181 linux/amd64 Commit: 34b100271c5d332c491e89dfef8b8dff1cb8d1b3 BuildDate: 2025-09-16T21:16:12Z

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions