Can't update the attached volume

I have an existing app that I want to re-deploy to update underlying docker container. I have made no changes to fly.toml since the last deploy.

fly deploy now always fails with the error message:

Error: machine 7815614a901238 [app] can’t update the attached volume vol_4okmyndx3pk779pv with name ‘vol_4okmyndx3pk779pv’ by ‘appname’.

I’d be grateful for any hints as to what I can do…

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

Hello @stephan1 —-welcome to Fly.io!

From the error, it looks like there’s an issue with the volume configuration of your fly.toml file. Perhaps you can check if there were any changes made in the mounts section that is different from before?

This error can come up if the source value in the mounts section is modified when attaching to an existing, previously attached volume already having an existing name. Since volume names can’t be updated, in addition to the volume’s name coming from the source value—modifying the source value can result in the error above.