2021-11-07 20:53:21 +00:00
|
|
|
---
|
|
|
|
title: Missing admin group
|
|
|
|
---
|
|
|
|
|
|
|
|
If all of the Admin groups have been deleted, or misconfigured during sync, you can use the following command to gain access back.
|
|
|
|
|
2022-05-09 20:22:41 +01:00
|
|
|
Run the following command, where _username_ is the user you want to add to the newly created group:
|
2021-11-07 20:53:21 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
docker-compose run --rm server create_admin_group username
|
|
|
|
```
|
|
|
|
|
|
|
|
or, for Kubernetes, run
|
|
|
|
|
|
|
|
```
|
|
|
|
kubectl exec -it deployment/authentik-worker -c authentik -- ak create_admin_group username
|
|
|
|
```
|