Hello, since the last few days, I am unable to deploy my app and am getting the following error when I run this command:
flyctl deploy --app scatter-api-testing
Error: found 1 machines that are unmanaged. `fly deploy` only updates machines with fly_platform_version=v2 in their metadata. Use `fly machine list` to list machines and `fly machine update --metadata fly_platform_version=v2 <machine id>` to update individual machines with the metadata. Once done, `fly deploy` will update machines with the metadata based on your fly.toml app configuration
fly machine list
gives the following:
$ fly machine list --app scatter-api-testing
1 machines have been retrieved from app scatter-api-testing.
View them in the UI here (https://fly.io/apps/scatter-api-testing/machines/)
scatter-api-testing
ID NAME STATE REGION IMAGE IP ADDRESS VOLUME CREATED LAST UPDATED APP PLATFORMPROCESS GROUP SIZE
6e82512c754987 aged-wave-6473 started : 1970-01-01T00:00:00Z 0001-01-01T00:00:00Z
I attempted to follow the suggestion and resolve that using:
fly machine update --app scatter-api-testing --metadata fly_platform_version=v2 6e82512c754987
However, this yields this error:
Error: no config changes found
If I attempt to migrate I get this error:
$ fly migrate-to-v2 -c ./fly-testing.toml
Error: the app 'scatter-api-testing' is already on the apps v2 platform
Any ideas how to fix this?