H
Homarr•11mo ago
Pheasant Kyle

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:
---
services:
homarr:
image: ghcr.io/ajnart/homarr:latest
container_name: homarr
volumes:
# - /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
- /etc/localtime:/etc/localtime:ro
- /srv/elephant/appdata/homarr/configs:/app/public/icons
- /srv/elephant/appdata/homarr/icons:/app/public/icons
- /srv/elephant/appdata/homarr/data:/data
ports:
- 7575:7575
restart: unless-stopped
---
services:
homarr:
image: ghcr.io/ajnart/homarr:latest
container_name: homarr
volumes:
# - /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
- /etc/localtime:/etc/localtime:ro
- /srv/elephant/appdata/homarr/configs:/app/public/icons
- /srv/elephant/appdata/homarr/icons:/app/public/icons
- /srv/elephant/appdata/homarr/data:/data
ports:
- 7575:7575
restart: unless-stopped
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:
Also, looking at your docker compose: Please read the documentation before you ask a question. Your mounts are totally screwed up.
Jump to solution
10 Replies
Chocothunder42
Chocothunder42•11mo ago
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.
Pheasant Kyle
Pheasant KyleOP•11mo ago
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. 🤔
Chocothunder42
Chocothunder42•11mo ago
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?
Pheasant Kyle
Pheasant KyleOP•11mo ago
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.
Manicraft1001
Manicraft1001•11mo ago
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
Manicraft1001
Manicraft1001•11mo ago
Also, looking at your docker compose: Please read the documentation before you ask a question. Your mounts are totally screwed up.
Manicraft1001
Manicraft1001•11mo ago
🚀 Installation | Homarr documentation
We provide multiple installation methods. Are you a newbie to Docker? We recommend Docker Compose for beginners.
Pheasant Kyle
Pheasant KyleOP•11mo ago
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...
Chocothunder42
Chocothunder42•11mo ago
hmmm I see. I did the same thing and modified the mounts to fit my set up. So me previous mount was
/mnt/appdata/homarr/config:/config
/mnt/appdata/homarr/config:/config
would the correct mount be:
./mnt/appdata/homarr/config:/config
./mnt/appdata/homarr/config:/config
or
./homarr/configs:/app/data/configs
./homarr/configs:/app/data/configs
what did you spot?
Pheasant Kyle
Pheasant KyleOP•11mo ago
Check your thread, I posted there hehe
Want results from more Discord servers?
Add your server