Multi-user not run (container)

Hi I have a problem with multi-user, lxd does not create the project or the keys and does not allow me to access the socket through both new and old users.

Any group check via “snap set lxd$GROUP” does not change the situation.

The clean install worked and stopped working when I removed a user project and key.

Ubuntu 22.04
LXD (snap) 5.10-b392610


mkdir -p /var/snap/lxd/common/lxd-user/users/${GID}
chmod 711 /var/snap/lxd/common/lxd-user/
chmod 711 /var/snap/lxd/common/lxd-user/users/
chmod 700 /var/snap/lxd/common/lxd-user/users/*
cd /var/snap/lxd/common/lxd-user/users/${GID}
openssl req -newkey rsa:3072 -nodes -keyout client.key -x509 -days 1095 -out client.crt
lxc config trust add /var/snap/lxd/common/lxd-user/users/${GID}/client.crt

lxc project create ${USERNAME}
-c features.images=true
-c features.networks=false
-c features.profiles=true
-c restricted=true
-c restricted.containers.nesting=block
-c restricted.devices.disk=allow
-c restricted.devices.disk.paths="/home/${USERNAME}"
-c restricted.devices.gpu=allow
-c restricted.idmap.gid="${GID}"
-c restricted.idmap.uid="${UID}"