outposts: add repair_permissions command

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-08-23 14:53:53 +02:00
parent 45d47f828a
commit 12e2f7b945
6 changed files with 38 additions and 1 deletions

View File

@ -0,0 +1,17 @@
---
title: Missing Permissions system_exception events
---
This error can occur during initial setup, when authentik bootstraps the embedded Outpost, while the database migrations are not finished yet.
The error should be temporary and not occur after initial installation.
If it does, you can run the following command to ensure all permissions exist:
```
docker-compose run --rm worker repair_permissions
# Or for kubernetes
kubectl exec -it authentik-worker-.... -- ak repair_permissions
```
If the error persists after running this command, please open an Issue on [GitHub](https://github.com/goauthentik/authentik/issues/)