website: Copy files during build. website: Allow for mixed env builds. website: Reduce build size. website: Expose build. website: Add build memory debugging. WIP: Disable broken links check to compare memory usage. website: Update deps. website: Clean up API paths. website: Flesh out 3.8 fixes. Format. website: Update ignore paths. Website: Clean up integrations build. website: Fix paths. website: Optimize remark. website: Update deps. website: Format. website: Remove linking. website: Fix paths. wip: Attempt API only build. Prep. Migrate render to runtime. Tidy sidebar. Clean up templates. docs: Move directory. WIP docs: Flesh out split. website: Fix issue where routes have collisions.
21 lines
642 B
Markdown
21 lines
642 B
Markdown
---
|
|
title: Errors when uploading icons
|
|
---
|
|
|
|
:::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/
|
|
sudo chmod ug+rwx media/
|
|
sudo chmod ug+rx certs/
|
|
```
|