locked LXC, can't delete

manilx

Member
Mar 25, 2022
76
5
13
Hi

tried to clone a LXC container, while it was backing up.
Ended up in a state where it is locked and not created.
ScreenShot 2022-04-26 at 10.23.53.png

I tried to unlock it via terminal:
Code:
root@zotac:~# qm unlock 202
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
Configuration file 'nodes/zotac/qemu-server/202.conf' does not exist

But it continues locked.
Trying to remove it I get:
ScreenShot 2022-04-26 at 10.23.11.png

How can I remove it.

Help much appreciated!

Kind regards
 
pct unlock 202
 
Worked! Thank you so much.

So the command to unlock LXC container is different from unlocking a VM (obvious in hindsight).
 

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!