Check_config looks for configuration file in wrong place?

Sorry I’m still very much a newby with HomeAssistant, so excuse me if I get this wrong.

I think there is a mistake in check_config. It looks for configuration in /home/pi/.homeassistant, but after I installed the default one was in /home/homeassistant, which seemed a more logical location for it. What makes it even more confusing is that check_config then proceeed and created a second default one in /home/pi/.homeassistant.

This shows an example of what happened when I ran check_config
pi@hassbian:/ $ /srv/homeassistant/bin/hass --script check_config --files
Unable to find configuration. Creating default one in /home/pi/.homeassistant

So now I sit with two configuration files. And the question is which is the right place for it?

Ps: I’m using 0.45.1 which I only installed today.

Go down to developer tools and click on the (i). It will tell you where it thinks the home assistant configuration file path is…

@wtb You can point the check_config script to the correct location of the script with the following depending on how you installed HA
/srv/homeassistant/bin/hass --script check_config -c /home/homeassistant/.homeassistant
The -c option allows you to specify where the configuration file is located.

https://github.com/home-assistant/home-assistant/issues/7792

Thanks for the explanation.