Hassbian active but no ./homeassistant

Hi,

I’ve followed the following tutorial https://www.home-assistant.io/docs/installation/hassbian/installation/ to install hassbian.

I’m using an RPI3 and the installation is fine, i can SSH into it from my computer, and when hassbian start the services “home-assistant@homeassistant” is active.
However i can’t connect to the frontend “ERR_CONNECTION_REFUSED”, and i don’t see “/home/homeassistant/.homeassistant/”. I tried to “sudo systemctl start install_homeassistant.service” and even updating home assistant and hasbian, but the files is not there.

I flashed the SD card 4 times and did all the steps in the tutorial but it looks like i’m missing something. I tried to search online for similar topics but it’s from older version usually and the solution is not working for me

Do you have any idea ?

Thanks,
Olivier

Edit: @gpbenton answer helped me understand that I couldn’t see the homeassistant files because I was not using the correct argument with my ls command
About the frontend issue. After 30min i had no access to the webpage, but after a power failure, my internet box (Orange - Livebox) rebooted and it worked fine…
It’s working fine now thanks for your help

Can you paste the output of the following commands

systemctl status [email protected]
ls -lRa /home/homeassistant/

Sure,

	[email protected] - Home Assistant for homeassistant
Loaded: loaded (/etc/systemd/system/[email protected]; enabled; vendor preset: enabled)
Active: active (running) since Fri 2018-11-02 10:14:11 UTC; 40min ago
Main PID: 556 (hass)
CGroup: /system.slice/system-home\x2dassistant.slice/[email protected]
       └─556 /srv/homeassistant/bin/python3 /srv/homeassistant/bin/hass

Nov 02 10:17:28 hassbian hass[556]: 2018-11-02 10:17:28 INFO (MainThread) [homeassistant.components.discovery] Unknown service discovered: homekit {'properties': {'md': 'BSB002', 'id': '22:64:0C:C6:32:5D', 'pv': '1.1', 'sf': '1', 'ci': '2', 'c#': '16', 'ff': '1', 's#': '1'}, 'name': 'Philips hue - 6EC0E7', 'hostname': 'Philips-hue.local.', 'port': 8080, 'host': '192.168.1.10'}
Nov 02 10:17:28 hassbian hass[556]: 2018-11-02 10:17:28 INFO (MainThread) [homeassistant.loader] Loaded upnp from homeassistant.components.upnp
Nov 02 10:17:28 hassbian hass[556]: 2018-11-02 10:17:28 INFO (MainThread) [homeassistant.loader] Loaded hue from homeassistant.components.hue
Nov 02 10:17:28 hassbian hass[556]: 2018-11-02 10:17:28 INFO (MainThread) [homeassistant.loader] Loaded cast from homeassistant.components.cast
Nov 02 10:17:28 hassbian hass[556]: 2018-11-02 10:17:28 INFO (Thread-16) [homeassistant.util.package] Attempting install of aiohue==1.5.0
Nov 02 10:17:49 hassbian hass[556]: 2018-11-02 10:17:49 WARNING (MainThread) [homeassistant.components.hue] Connected to Hue at 192.168.1.10 but not registered.
Nov 02 10:17:49 hassbian hass[556]: 2018-11-02 10:17:49 INFO (MainThread) [homeassistant.components.hue] Invalid authentication for 192.168.1.10, requesting link.
Nov 02 10:17:49 hassbian hass[556]: 2018-11-02 10:17:49 WARNING (MainThread) [homeassistant.components.hue] Connected to Hue at 192.168.1.10 but not registered.
Nov 02 10:17:49 hassbian hass[556]: 2018-11-02 10:17:49 INFO (Thread-3) [homeassistant.util.package] Attempting install of pychromecast==2.1.0
Nov 02 10:18:17 hassbian hass[556]: 2018-11-02 10:18:17 INFO (Thread-15) [homeassistant.util.package] Attempting install of async-upnp-client==0.12.7

and

	pi@hassbian:~ $ ls -lRa /home/homeassistant/
/home/homeassistant/:
total 32
drwxr-xr-x 4 homeassistant homeassistant 4096 Nov  2 10:12 .
drwxr-xr-x 4 root          root          4096 Oct 27 20:31 ..
-rwxr-xr-x 1 root          root           163 Oct 27 20:00 .bash_aliases
-rw-r--r-- 1 homeassistant homeassistant  220 May 15  2017 .bash_logout
-rw-r--r-- 1 homeassistant homeassistant 3523 Oct 27 20:19 .bashrc
drwx------ 3 homeassistant homeassistant 4096 Nov  2 10:08 .cache
drwxr-xr-x 5 homeassistant homeassistant 4096 Nov  2 10:55 .homeassistant
-rw-r--r-- 1 homeassistant homeassistant  675 May 15  2017 .profile
ls: cannot open directory '/home/homeassistant/.cache': Permission denied

/home/homeassistant/.homeassistant:
total 204
drwxr-xr-x 5 homeassistant homeassistant   4096 Nov  2 10:55 .
drwxr-xr-x 4 homeassistant homeassistant   4096 Nov  2 10:12 ..
-rw-r--r-- 1 homeassistant homeassistant      2 Nov  2 10:12 automations.yaml
drwxr-xr-x 2 homeassistant homeassistant   4096 Nov  2 10:17 .cloud
-rw-r--r-- 1 homeassistant homeassistant   1690 Nov  2 10:12 configuration.yaml
-rw-r--r-- 1 homeassistant homeassistant      0 Nov  2 10:12 customize.yaml
drwxr-xr-x 2 homeassistant homeassistant   4096 Nov  2 10:12 deps
-rw-r--r-- 1 homeassistant homeassistant      0 Nov  2 10:12 groups.yaml
-rw-r--r-- 1 homeassistant homeassistant      6 Nov  2 10:12 .HA_VERSION
-rw-r--r-- 1 homeassistant homeassistant    389 Nov  2 10:17 home-assistant.log
-rw-r--r-- 1 homeassistant homeassistant 163840 Nov  2 10:55 home-assistant_v2.db
-rw-r--r-- 1 homeassistant homeassistant      0 Nov  2 10:12 scripts.yaml
-rw-r--r-- 1 homeassistant homeassistant    157 Nov  2 10:12 secrets.yaml
drwxr-xr-x 2 homeassistant homeassistant   4096 Nov  2 10:16 tts
-rw-r--r-- 1 homeassistant homeassistant     44 Nov  2 10:15 .uuid

/home/homeassistant/.homeassistant/.cloud:
total 8
drwxr-xr-x 2 homeassistant homeassistant 4096 Nov  2 10:17 .
drwxr-xr-x 5 homeassistant homeassistant 4096 Nov  2 10:55 ..

/home/homeassistant/.homeassistant/deps:
total 8
drwxr-xr-x 2 homeassistant homeassistant 4096 Nov  2 10:12 .
drwxr-xr-x 5 homeassistant homeassistant 4096 Nov  2 10:55 ..

/home/homeassistant/.homeassistant/tts:
total 8
drwxr-xr-x 2 homeassistant homeassistant 4096 Nov  2 10:16 .
drwxr-xr-x 5 homeassistant homeassistant 4096 Nov  2 10:55 ..

Note that i do have a hue bridge and lamp/motion sensor but i didn’t configure hass for it yet.
I was looking for home assistant files with a simple ls command, i can see the other files now thanks.

About the frontend error does this logs help you ?

Everything seems to be running normally. Just to check, you are trying to connect to http://<ip address>:8123 in your browser.

If you are, can you paste the output of /home/homeassistant/.homeassistant/home-assistant.log when you are trying to connect.

I’ve been waiting 30min as explained in the tutorial and i had nothing, i just had a power failure and i can access it now…

Looks like it’s working correctly now, thanks for your help. I’ll edit the first post to explain what happened

1 Like