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.
authentik/website/docs/troubleshooting/image_upload_backup.md
Jens Langhammer a0cd17a257 docs: add troubleshooting for permission issues
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-17 20:09:03 +02:00

20 lines
640 B
Markdown

---
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/
```