Can't locate configuration.yaml on raspbian install

Hi all,

I installed Hass.io using the Generic Linux install instructions since I didn’t want to lose the other things I already had on my Raspberry Pi. I can access the UI via the ip:8123, but can’t seem to find configuration.yaml anywhere.

find / -name ‘configuration.yaml’ 2>/dev/null

results in nothing.

I can’t see any ~/.homeassistant or /config or /var/opt/homeassistant directories.

Any ideas what’s going on?

Thanks!

If you are using hassio then the configuration files are inside a docker container.

Easiest way to access them is to install one of the following addons:

configurator
ssh
samba

I am not aware of a Generic Linux Installation of HASS.IO. To my understanding HASS.IO is an appliance, which runs exclusively on a dedicated machine (like a Raspberry or an Intel NUC).

You might have installed Home-Assistant in a Docker or Python environment on an existing Raspbian OS, did you?

That is incorrect. I think the configuration directory is under /usr/share/hassio

3 Likes

You obviously missed this Installation - Home Assistant

1 Like

To be precise, configuration.yaml is in /usr/share/hassio/homeassistant
I run a Hassio Linux installation on Raspbian Lite on my Pi. I believe it to be more stable than the HassOs based installation.

2 Likes

I did, indeed. But I am sorry, I cannot help.

I had the same error.
It ended up with me installing HassOS instead.

Found it in /usr/share/hassio/homeassistant

Thanks bosborne!

Turns out find wasn’t working due to a difference in quotes. ‘ vs ' Doh!

1 Like

No error has been identified.

I had the same problem, but now see that the instructions mention that /home/homeassistant/.homeassistant is created the first time hassio is started, and I found all the configuration files (and also a sqlite database) there.

You have no idea how long I searched for this answer, thanks a heap!

You know linux has the find command, eg

cd /
find . |grep configuration.yaml

If you are not already root, use sudo in front of the second line. This isn’t the best example of how to use find, but it will get you through.

3 Likes