CT is locked (failed backup) and /etc/pve is missing

jalouke

Member
Jan 30, 2021
4
1
23
39
Hey everyone,

I attempted to perform a backup of one of my containers, and I accidentally stopped it before it finished. Now this container is locked and I am unable to locate the /etc/pve folder to edit the <VMID>.conf file to release the lock.

here is my console:
PVE-missing.PNG


Also I have several containers and VMs running currently. I am running PVE 6.3-3 currently.
 
Hi, I don't know if the directory privilege solves its job, but my "/etc/pve/" privilege is as follows.
1613949131499.png
 
you know what, I am a total idiot... can this thread be deleted? I was in the wrong shell.

I am still unable to unlock the container. I tried using:

Code:
pct unlock <vmid>

but I get: -bash: pct: command not found
 
Last edited:
I am missing sbin from my PATH:

env|grep PATH
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

How do I go about adding it permanently?