docs: add troubleshooting for permission issues

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-04-17 20:09:03 +02:00
parent 32c5bf04b8
commit a0cd17a257
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,19 @@
---
title: Errors when uploading icons / during backups
---
:::info
This is specific to the docker-compose installation, if you're running into issues on Kubernetes please open a GitHub issue.
:::
This issue is most likely caused by permissions. Docker creates bound volumes as root, but the authentik processes don't run as root.
This will cause issues with icon uploads (for Applications), background uploads (for Flows) and local backups.
To fix these issues, run these commands in the folder of your docker-compose file:
```shell
sudo chown 1000:1000 backups/
sudo chown 1000:1000 media/
sudo chown 1000:1000 custom-templates/
```

View file

@ -160,6 +160,7 @@ module.exports = {
"troubleshooting/access", "troubleshooting/access",
"troubleshooting/emails", "troubleshooting/emails",
"troubleshooting/login", "troubleshooting/login",
"troubleshooting/image_upload_backup",
], ],
}, },
{ {