Error writing config for core.config_entries

Hi all,

I have a Raspberry Pi with a manual install of home-assistant 0.74.0 in /home/pi/home-assistant and a configuration folder in home/pi/.homeassistant/ . Home Assistant is running (almost) perfectly, but I seem to have a problem with the permissions.

When I want to add devices via config -> integrations, my Google Cast devices are discovered. I can click on “configure” after which I get a poppup of succes, but behind the scenes, the following error is logged:

Error writing config for core.config_entries: [Errno 13] Permission denied: '/home/pi/.homeassistant/.storage/core.config_entries'.

Related to that issue, is the fact that /home/pi/.homeassistant/homeassistant.log is not updated. Presumably, the web interface has no rights to write in that folder, but I can’t seem to figure out how to get this corrected.

Any help would be appreciated!

Kind regards,