2021-04-17 19:09:03 +01:00
|
|
|
---
|
2022-02-05 17:54:15 +00:00
|
|
|
title: Errors when uploading icons
|
2021-04-17 19:09:03 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
:::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 media/
|
|
|
|
sudo chown 1000:1000 custom-templates/
|
|
|
|
```
|