fly deploy working on windows but not on web cli.

I have a an application (docker image) connected to a Postgres database.
When running in the web cli the deploy step of the application fails:

/app/bin $ fly postgres attach $FLY_APP-db --app $FLY_APP
Checking for existing attachments
Registering attachment
Creating database
Creating user

Postgres cluster fhq-db is now attached to fhq
The following secret was added to fhq:
  DATABASE_URL=postgres://fhq:UOoSdmbrHGGfWmL@fhq-db.flycast:5432/fhq?sslmode=disable
/app/bin $ fly deploy --ha=false --vm-size shared-cpu-2x --image owlcms/owlcms:stable --app $FLY_APP
==> Verifying app config
Error: failed to grab app config from existing machines, error: could not create a fly.toml from any machines :-(
No machines configured for this app

However, if immediately after I run the exact same deploy command copy-pasted to a Windows flyctl, everything works just fine.
In both cases the version is 0.1.27

fly deploy --ha=false --vm-size shared-cpu-2x --image owlcms/owlcms:stable --app fhq
==> Verifying app config
Validating C:\Users\lamyj\OneDrive\Bureau\fly fhq\fly.toml
Platform: machines
✓ Configuration is valid
--> Verified app config
==> Building image
Searching for image 'owlcms/owlcms:stable' remotely...
image found: img_e1zd4m2oljyp02yw

Watch your app at https://fly.io/apps/fhq/monitoring

Provisioning ips for fhq
  Dedicated ipv6: 2a09:8280:1::42:274f
  Shared ipv4: 66.241.125.212
  Add a dedicated ipv4 with: fly ips allocate-v4
This deployment will:
 * create 1 "app" machine

No machines in group app, launching a new machine
  Machine d5683d476fd68e [app] update finished: success
Finished launching new machines
Updating existing machines in 'fhq' with rolling strategy
  Finished deploying

Visit your newly deployed app at https://fhq.fly.dev/

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.