This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
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 19:22:41 +00: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
|
|
|
|
|
|
|
```
|
2023-12-04 08:26:13 +00:00
|
|
|
docker-compose run --rm server create_admin_group --schema public username
|
2021-11-07 20:53:21 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
or, for Kubernetes, run
|
|
|
|
|
|
|
|
```
|
2023-12-04 08:26:13 +00:00
|
|
|
kubectl exec -it deployment/authentik-worker -c authentik -- ak create_admin_group --schema public username
|
2021-11-07 20:53:21 +00:00
|
|
|
```
|