I can’t figure out how the newer fly machine CLI works:
❯ fly apps list
NAME OWNER STATUS PLATFORM LATEST DEPLOY
flxwebsites-db flx-websites deployed machines
fly-builder-bitter-feather-1279 flx-websites suspended machines
~/Code/flxwebsites main
❯ fly machine update flxwebsites-db -s dedicated-cpu-1x
Error could not get app: Could not find App
~/Code/flxwebsites main
❯ fly machine update -a flxwebsites-db -s dedicated-cpu-1x
Error: accepts 1 arg(s), received 0
I’m passing along the app name but it says “Could not find App”.
❯ fly machines list -a flxwebsites-db
1 machines have been retrieved.
View them in the UI here (https://fly.io/apps/flxwebsites-db/machines/)
flxwebsites-db
ID NAME STATE REGION IMAGE IP ADDRESS VOLUME CREATED LAST UPDATED
59185425a69836 summer-wildflower-1800 started ewr flyio/postgres:14.4 (v0.0.32) fdaa:0:db85:a7b:94:e946:63e3:2 vol_okgj545yog8vy2wz 2022-11-26T22:04:39Z 2022-11-26T22:04:52Z
❯ fly machines update -a flxwebsites-db -s dedicated-cpu-1x
Error: accepts 1 arg(s), received 0
Fly has been working on a new system for Postgres called Flex that is based on Machines API. My guess is that this supports everything that Machines API does.
Having same issues! Apps we’re installed when on v1, then upgraded and now need to scale to dedicated resource, but only the shared ones are available: