HomarrH
Homarr13mo ago
5 replies
abottabeaDr

404 error on new /icons/pointer.svg

Running via docker compose, didn't touch mounts (
- ./homarr/icons:/app/public/icons
), uploaded an svg, chowned it to
root:root
because that's how homarr runs.

I can see it in the container:
-rwxr-xr-x 1 root root  612 Jan 14 22:05 pointer.svg
with
docker compose exec homarr ls -la /app/public/icons


In the dashboard I set the icon's location as
/icons/pointer.svg
and it's not loading.
If I just append the path to the svg to the domain name, I get a 404 error back.

Not a permission issue. Not a typo, file exists. Not a path typo. I did restart container after adding the icon.

Can't debug what next is doing internally when asked for that file since there's no logs. 🤦‍♂️

Any clues?
Solution
Mmmmkay I guess you have some process that runs that didn't? After I don't know 6-7 --force-recreates and permission changes, while I took the time to write up the bug report above it just automagically loaded the icon on a refresh.

No, it's not a browser cache, I was doing curl -v as well.
Was this page helpful?