Hi there !
I’m trying to launch a Phoenix app (I’ve already done this successfully a couple of times)
When it’s linking DB I got the following message:
Error Failed attaching xx-dev-db to the Postgres cluster xx-dev: ssh: can't build tunnel for ZZZ: no such organization.\nTry attaching manually with 'fly postgres attach --app xx-dev xx-dev-db'
where ZZZ is my organization slug.
It don’t succeed when running
I already have done some successful deployments with the authenticated user on this organization
This organization has been transfered from another fly.io user)
In terms of timing, it may be correlated to the destruction of an app.
But I still have other apps in the organization.
fly auth whoami gives me the good user (and belongs to the organization).
fly info shows me the correct app organization
fly doctor says OK on every checks
Other ops commands like
fly wireguard reset fails.
Note: I’m using
FLY_ACCESS_TOKEN env var to authenticate myself (1 Fly.io user per project) but I didn’t got any problem since this issue.
Any clue for a better investigation on what I may have done wrong?