New installation but cant keep users after restart of HA

Hello,

I installed Home assistant on my laptop. It is currently running locally but I have noticed that when I lose my internet connection, all the settings I have entered in HA revert to after a fresh install and HA and asks me to add a new user again. Is there a way to prevent this?

That is not normal at all.

How did you install HA ?

By docker

docker run -d
–name homeassistant
–privileged
–restart=unless-stopped
-e TZ=Europe/Warsaw
-v /home/damian/homeassistant/:/config
–network=host
ghcr.[nospace]io/home-assistant/home-assistant:stable

its working now. I had to create folder homeassistant for config files

1 Like