Hi!
This support forum is for Incus, which is a continuation of LXD.
Here is how to migrate from LXD to Incus or my post.
What you get there from accessing the Unix socket, is messed up profile names. There shouldn’t be any reference to raw.lxc-lxc.apparmor.profile...
or ?project=default
.