I am running Home Assistant on Docker on a Raspberry Pi.
Every 10 seconds, I get the following error:
16-10-14 01:29:48 INFO (Thread-2) [homeassistant.components.recorder] Retrying in 10 seconds
16-10-14 01:29:58 ERROR (Thread-2) [homeassistant.components.recorder] Error during connection setup: (sqlite3.OperationalError) unable to open database file
The /config
directory is writable (777).
I am running the container as an unprivileged user, but the same error happens if I just run the container as root
.
Here is the Dockerfile I am using:
FROM homeassistant/rpi2-home-assistant
RUN adduser --system hass
USER hass
How can I solve this error, what am I missing?