Dashboard keeps resetting
EDIT: As I was typing up this post it seems someone posted the identical issue. https://discord.com/channels/972958686051962910/1200186616900223106 So I will follow that thread and this one doesn't need attention.
Hello! I'm having trouble with Homarr. Every time Homarr gets started (
docker compose up
) the dashboard is reset back to the default. Not the whole instance, just the dashboard. It doesn't give me the inital setup and my username and password still work.
My compose file looks like this:
I was thinking it's probably a permissions issue, but the homarr docker runs as root and its storage locations are also owned by root:root
. Homarr doesn't seem to wanna run if I pass user: homarr:mediastack
or any other user:group
that I have set up.
Very much appreciate any and all help 🙂Solution:Jump to solution
Also, looking at your docker compose: Please read the documentation before you ask a question. Your mounts are totally screwed up.
10 Replies
Glad to see I'm not the only one having this issue (im the poster you're referring to). My issue sounds like the exact same thing.
Yes. Hence maybe it is a bug in a new version that others aren't yet seeing since their folders are already populated with their dasboard configs. 🤔
Yea could be, but I have been having this issue for a month now. Maybe we should roll back a version and see what happens. Do you get any errors in your logs?
Not that I can tell. I'm still a bit new to docker. But I just ran
image: ghcr.io/ajnart/homarr:0.14.2
and still had the same issue.We have a bug where you cannot specify any user. It will lead to Homarr not starting. Regarding the config reset: Is the container here really at fault? Have you tried to create and modify files from within the container?
Solution
Also, looking at your docker compose: Please read the documentation before you ask a question. Your mounts are totally screwed up.
🚀 Installation | Homarr documentation
We provide multiple installation methods. Are you a newbie to Docker? We recommend Docker Compose for beginners.
Hello, thanks for your reply. As i am a new docker user, I think I misunderstood something because I read through all the documentation and copied and then modified the compose example as I thought was correct. (But clearly not 😌 )
I didn't understand this path syntax with path starting with
./
. I actually originally tried ./srv/elephant/appdata/homarr/data:/data
but that didn't create anything on my harddrive.
In my case where my appdata
folder is located, how is the correct path syntax?
Okay...
Wow...
I have spotted it. I need glasses. Sorry...hmmm I see. I did the same thing and modified the mounts to fit my set up. So me previous mount was
would the correct mount be:
or
what did you spot?
Check your thread, I posted there hehe