One or more groups were not found: "admins"

I am following the online instructions provided by the LXD GUI for the trust token.

It asks me to run

lxc auth identity create tls/lxd-ui --group admins

The result is

$ lxc auth identity create tls/lxd-ui --group admins
Error: Failed to create pending TLS identity: One or more groups were not found: "admins"

The instruction to create the group are missing on the webserver start page.

Please, add the missing information to the GUI.

I am using:
LXD 5.21.4-7b6bd68
LXC 5.21.4 LTS

One or more groups were not found: “admins”

A fix has already been merged but is not yet available in your version.
Instructions can be found here:

This should be in the LXD 6.6 release.

1 Like

try run this command

lxc auth user group add tls/lxd-ui admins

i try on my own this is works