Unable to add a volume to an existing app

I have a brand new app that I launched and deployed with no extra features. When I try to add a new volume to the app, I’m receiving the error

“Error: failed to update machine 3287195f637128: machine in group ‘app’ needs an unattached volume named ‘data’ in region ‘sea’”

The problem is, there already is an unattached volume with that name in sea:

❯ fly vol list
ID                  	STATE  	NAME	SIZE	REGION	ZONE	ENCRYPTED	ATTACHED VM	CREATED AT
vol_r6g2863l7j1gjxnv	created	data	1GB 	sea   	6da7	true     	           	12 minutes ago

I created the volume with the command fly volume create data -r sea -n 1. My fly.toml looks like:

[mounts]
    source = "data"
    destination = "/data"

I only have one machine in my app, hence only one volume. Any recommendations here?

1 Like

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