Dashboard keeps resetting

EDIT: As I was typing up this post it seems someone posted the identical issue. 💬・get-helpEmpty Config Folder 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

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.
Was this page helpful?