Cannot remove "zombie machine"

I deployed a Machines app recently and cannot replace the running machine.

❯ fly m list
1 machines have been retrieved from app aeries-bot.
View them in the UI here (​

ID              NAME                    STATE   REGION  IMAGE   IP ADDRESS      VOLUME  CREATED                 LAST UPDATED
9080230c60d487  icy-firefly-3804                        :                               1970-01-01T00:00:00Z    0001-01-01T00:00:00Z

❯ fly m status 9080230c60d487
Error machine 9080230c60d487 could not be retrieved

❯ fly m remove --force 9080230c60d487
Error could not retrieve machine 9080230c60d487

❯ fly doctor
Testing authentication token... PASSED
Testing flyctl agent... PASSED
Testing local Docker instance... Nope
Pinging WireGuard gateway (give us a sec)... PASSED

App specific checks for aeries-bot:
Checking that app has ip addresses allocated... PASSED
Checking A record for PASSED
Checking AAAA record for PASSED

Build checks for aeries-bot:
Checking docker context size (this may take little bit)... PASSED (61 kB)
Checking for .dockerignore... PASSED

I cannot deploy as this machine is using my database volume. Any ideas?

When I try to fly m run a new machine, I get Error could not launch machine: failed to launch VM: volume already claimed by machine 9080230c60d487

Hi @spencerpogo, we got alerted to your request errors and will take a look at what’s going wrong.

Ok, we’ve deployed a change to the host where the machine is running and you should be able to run fly m status 9080230c60d487 without issue now.

1 Like

Thank you, it works.