First, thank you for amazing opensource product!
I’m trying to debug a simple error:
% incus -v file delete my-builder/etc/apt/sources.list
Error: file does not exist
How I created the guest VM:
incus launch local:debian/14/cloud my-builder --storage my_tmp --config limits.cpu=2 --config limits.memory=8GiB --vm
So I logined into the VM, checked the file /etc/apt/sources.list is there and enabled debug logging for incus-agent:
% incus exec my-builder -- bash
root@my-builder:~# ls -l /etc/apt/sources.list
-rw-r--r-- 1 root root 212 Nov 8 05:27 /etc/apt/sources.list
root@my-builder:~# systemctl edit incus-agent
### Editing /etc/systemd/system/incus-agent.service.d/override.conf
### Anything between here and the comment below will become the contents of the drop-in file
[Service]
ExecStart=
ExecStart=/run/incus_agent/incus-agent -d
### Edits below this comment will be discarded
and restarted the agent:
root@my-builder:~# service incus-agent restart
Error: websocket: close 1006 (abnormal closure): unexpected EOF
Check:
% incus exec my-builder -- bash
root@my-builder:~# ps -eF|grep -i 'incu[s]'
root 1089 1 0 1358696 21432 0 13:49 ? 00:00:02 /run/incus_agent/incus-agent -d
Get logs:
root@my-builder:~# journalctl -f --unit incus-agent
Run from the host OS:
% incus -v file delete my-builder/etc/apt/sources.list
Error: file does not exist
Logs inside VM:
Nov 09 14:11:26 my-builder incus-agent[1089]: time="2025-11-09T14:11:26Z" level=debug msg="Matched trusted cert" fingerprint=0 subject="CN=root@my-hostname,O=Linux Containers"
It would be nice to see a requested operation in the logs…