H
Homarr13mo ago
stampeder

Homarr not storing edits

I installed homarr using the docker-compose.yml file in the docs. However, once I had made my customizations, added apps, etc. and exited edit. It all looked good. Then I logged out. When I logged in again today everything was set to defaults. I don't live in Paris (although there is one here in Texas) and I'm not interested the temperature in Spain. Here is the docker-compose.yml I used: docker-compose.yml version: '3' #---------------------------------------------------------------------# Homarr - A simple, yet powerful dashboard for your server. # #---------------------------------------------------------------------# services: homarr: container_name: homarr image: ghcr.io/ajnart/homarr:latest restart: unless-stopped volumes: - ./homarr/configs:/app/data/configs - ./homarr/icons:/app/public/icons ports: - '7575:7575' What am I missing for persistent storage of my edits? Thanks. I really like Homarr as a dashboard.
4 Replies
stampeder
stampeder13mo ago
I should point out I am running this on an Ubuntu 20.04 server with the latest docker.io and docker-compose installed.
Tag
Tag13mo ago
Did everything reset to default? There might be a permissions problem on the config folder that doesn't allow homarr to save the config. You might also have saved the config in a different name and need to reselect it in the settings.
stampeder
stampeder13mo ago
Tag: If I save the folder off to another subdirectory and then copy it back it seems to help. drwxr-xr-x 5 root root 4096 Oct 19 16:24 . drwxr-xr-x 14 nobody gtracy 4096 Oct 19 12:46 .. drwxr-xr-x 2 root root 4096 Oct 19 16:26 configs -rw-r--r-- 1 root root 639 Oct 18 13:32 docker-compose.yml drwxr-xr-x 4 root root 4096 Oct 19 16:24 homarr drwxr-xr-x 2 root root 4096 Oct 18 10:56 icons These are the file permissions. I installed it with sudo. Also I notice some strange behaviour on the webpage when I use Firefox. It is very jerky. When I remove the notes tile and the temperature tile it seems to settle down more.... It works just fine when I use the Vivaldi browser.
Tag
Tag13mo ago
drwxr-xr-x 2 root root 4096 Oct 19 16:26 configs
drwxr-xr-x 2 root root 4096 Oct 19 16:26 configs
This line tells me that your folder is in read only except for owner. which means homarr needs to be the owner of the folder. Since you created them in root, this is very unlikely to be the case. You need to chmod it, or chown it to change the owner to homarr I've noticed firefox giving me some troubles from time to time when developping too, if you have a specific issue, please do report it on github
Want results from more Discord servers?
Add your server