I still cannot seem to add a volume to my app. I’ve tried everything in this thread.
I keep getting the error:
Error: machine [id goes here] [app] does not have a volume configured and fly.toml expects one with destination /volume; remove the [mounts] configuration in fly.toml or use the machines API to add a volume to this machine
After adding a [mounts] section to my fly.toml and redeploying the app.
Also, when running fly volumes list
, the volume’s “ATTACHED VM” column is empty, no matter what.
Any ideas?
Update: Managed to get a bit further, by fully restarting the app using fly scale count 0
and then deploying again. But now it seems my app is creating a new volume every time I deploy it, which I don’t want. Any ideas?