How to delete webUI VM ghost

FreeSoftwareDave

New Member
Jul 4, 2021
1
0
1
63
Good evening!

Home-labber here. In doing a lab, I wound up deleting a VMs .config file instead of the .lock file and totally hosed my VM. I am not concerned, since this is a VM that I was using to as a test-platform anyway and it has been destroyed and stood back up many times.

But I cannot get it to delete from the webUI now. I found some advice to delete all the files referencing the VM, and even though I've done that it still shows as present in the webUI and cannot be deleted from the CLI with "qm destroy <vmid>".

What's more, all VMs now show as running as they have the green GO icon in their listing but their Status shows they are totally down.

I have a couple services that I really do not want to have to redo, but this one was destined to be deleted anyway. Where might I look to find the culprit here?

Any help would be much appreciated!
 
Hi,

was the VM running while you deleted the config file? What output do you get from qm destroy? Normally, the VM should vanish from the UI when you delete the config file… what exactly was the file you deleted?
 
Hi,

was the VM running while you deleted the config file? What output do you get from qm destroy? Normally, the VM should vanish from the UI when you delete the config file… what exactly was the file you deleted?
I'm having a similar issue from an old install when I run qm destroy I'm told the config file does not exist
 
I'm having a similar issue from an old install when I run qm destroy I'm told the config file does not exist
Could you detail the exact steps that you are taking? Please also post the output of the commands.
 
Could you detail the exact steps that you are taking? Please also post the output of the commands.
Found out my installation media had corrupted at some point so reinstalled after grabbing a new ISO and it worked. Sorry for the inconvenience.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!