You’re right, it doesn’t work. The instructions are borked. I didn’t hit that error with v0.0.462, but that doc needs to adapt to new flyctl behaviour. Thanks for the heads-up!
OK, so here you can change [[mounts]] to [mounts]. I think that will fix it.
These issues are happening because the new release of the Fly deployment platform has some edge cases (like Postgres cluster config) that still need to be addressed. Thanks for pointing it out.
What’s the output of flyctl version? source should be ignored in the latest versions, which we recommend for this use case. Alternatively, you could remove the source section in mounts.
> fly deploy . --app xxx-db --image flyio/postgres:14
==> Verifying app config
--> Verified app config
==> Building image
Searching for image 'flyio/postgres:14' remotely...
image found: img_g72wp0xxxxxyxko
WARN Found 1 machines that are not part of the Fly Apps Platform:
xxx-db machines
ID NAME STATE REGION IMAGE IP ADDRESS VOLUME CREATED LAST UPDATED
xxxxxxxxxxx dark-water-xxxx started lhr flyio/postgres:14.6 (v0.0.34) fdaa:0:xxxa:a7b:xxxx:8exx:bxxx:2 vol_kexxxxxxxxxxxxxp2023-01-23T18:05:15Z 2023-01-23T18:05:22Z
? Migrate 1 existing machines into Fly Apps Platform? (y/N)
Kind of thinking i shouldn’t proceed, right? All i’m trying to do is expose the database to the outside world. Please advise.
Looking further at this, you might have a special case that would need to be dealt with individually. If you can contact your-org@support.fly.io, the issue could be picked up there with more details. Thanks for understanding.