Hass.io installation fails on CentOS7

Hi,

I’ve been trying to install hass.io on CentOS7 but it fails every-time (home assistant supervisor fails to start)

sudo -s

curl -sL https://raw.githubusercontent.com/home-assistant/hassio-build/master/install/hassio_install | bash -s

Here is the docker logs

18-11-05 13:08:35 INFO (MainThread) [main] Initialize Hass.io setup

18-11-05 13:08:35 INFO (MainThread) [hassio.bootstrap] Create Home Assistant configuration folder /data/homeassistant

18-11-05 13:08:35 INFO (MainThread) [hassio.bootstrap] Create Hass.io SSL/TLS folder /data/ssl

18-11-05 13:08:35 INFO (MainThread) [hassio.bootstrap] Create Hass.io Add-on data folder /data/addons/data

18-11-05 13:08:35 INFO (MainThread) [hassio.bootstrap] Create Hass.io Add-on local repository folder /data/addons/local

18-11-05 13:08:35 INFO (MainThread) [hassio.bootstrap] Create Hass.io Add-on git repositories folder /data/addons/git

18-11-05 13:08:35 INFO (MainThread) [hassio.bootstrap] Create Hass.io temp folder /data/tmp

18-11-05 13:08:35 INFO (MainThread) [hassio.bootstrap] Create Hass.io backup folder /data/backup

18-11-05 13:08:35 INFO (MainThread) [hassio.bootstrap] Create Hass.io share folder /data/share

18-11-05 13:08:35 INFO (MainThread) [hassio.bootstrap] Create Hass.io Apparmor folder /data/apparmor

18-11-05 13:08:35 INFO (MainThread) [main] Setup HassIO

18-11-05 13:08:35 INFO (SyncWorker_0) [hassio.docker.supervisor] Attach to Supervisor homeassistant/amd64-hassio-supervisor with version 138

18-11-05 13:08:35 INFO (MainThread) [hassio.utils.gdbus] Introspect org.freedesktop.systemd1 on /org/freedesktop/systemd1

18-11-05 13:08:35 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.systemd1 - /org/freedesktop/systemd1

18-11-05 13:08:35 INFO (MainThread) [hassio.utils.gdbus] Introspect org.freedesktop.hostname1 on /org/freedesktop/hostname1

18-11-05 13:08:35 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.hostname1 - /org/freedesktop/hostname1

18-11-05 13:08:35 INFO (MainThread) [hassio.utils.gdbus] Introspect de.pengutronix.rauc on /

18-11-05 13:08:35 ERROR (MainThread) [hassio.utils.gdbus] DBus return error: b’Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name de.pengutronix.rauc was not provided by any .service files\n’

18-11-05 13:08:35 WARNING (MainThread) [hassio.dbus.rauc] Can’t connect to rauc

18-11-05 13:08:35 INFO (MainThread) [hassio.host.info] Update local host information

18-11-05 13:08:35 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1

18-11-05 13:08:35 INFO (MainThread) [hassio.host.services] Update service information

18-11-05 13:08:35 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1

18-11-05 13:08:35 INFO (MainThread) [hassio.host.apparmor] Load AppArmor Profiles: set()

18-11-05 13:08:35 INFO (MainThread) [hassio.host.apparmor] AppArmor is not enabled on host

18-11-05 13:08:35 INFO (MainThread) [hassio.homeassistant] No Home Assistant Docker image homeassistant/qemux86-64-homeassistant found.

18-11-05 13:08:35 INFO (MainThread) [hassio.homeassistant] Setup HomeAssistant landingpage

18-11-05 13:08:35 INFO (SyncWorker_2) [hassio.docker.interface] Pull image homeassistant/qemux86-64-homeassistant tag landingpage.

18-11-05 13:08:44 INFO (SyncWorker_2) [hassio.docker.interface] Tag image homeassistant/qemux86-64-homeassistant with version landingpage as latest

18-11-05 13:08:44 INFO (MainThread) [hassio.homeassistant] Start landing page

18-11-05 13:08:45 INFO (SyncWorker_3) [hassio.docker.homeassistant] Start homeassistant homeassistant/qemux86-64-homeassistant with version landingpage

18-11-05 13:08:55 ERROR (MainThread) [hassio.homeassistant] Home Assistant has crashed!

18-11-05 13:08:55 WARNING (MainThread) [hassio.homeassistant] Can’t start landing page

18-11-05 13:08:55 INFO (MainThread) [hassio.addons.git] Clone add-on https://github.com/home-assistant/hassio-addons repository

18-11-05 13:08:55 INFO (MainThread) [hassio.addons.git] Clone add-on https://github.com/hassio-addons/repository repository

18-11-05 13:09:00 ERROR (MainThread) [hassio.addons.git] Can’t clone https://github.com/hassio-addons/repository repository: Cmd(‘git’) failed due to: exit code(128)

cmdline: git clone --depth=1 --recursive --shallow-submodules -v https://github.com/hassio-addons/repository /data/addons/git/a0d7b954

stderr: 'Cloning into ‘/data/addons/git/a0d7b954’…

fatal: unable to access ‘https://github.com/hassio-addons/repository/’: Could not resolve host: github.com

'.

18-11-05 13:09:00 ERROR (MainThread) [hassio.addons] Can’t load from repository https://github.com/hassio-addons/repository

18-11-05 13:09:00 ERROR (MainThread) [hassio.addons.git] Can’t clone https://github.com/home-assistant/hassio-addons repository: Cmd(‘git’) failed due to: exit code(128)

cmdline: git clone --depth=1 --recursive --shallow-submodules -v https://github.com/home-assistant/hassio-addons /data/addons/core

stderr: 'Cloning into ‘/data/addons/core’…

fatal: unable to access ‘https://github.com/home-assistant/hassio-addons/’: Could not resolve host: github.com

'.

18-11-05 13:09:00 ERROR (MainThread) [hassio.addons] Can’t load from repository core

18-11-05 13:09:00 INFO (MainThread) [hassio.addons] Load add-ons: 0 all - 0 new - 0 remove

18-11-05 13:09:00 INFO (MainThread) [hassio.updater] Fetch update data from https://s3.amazonaws.com/hassio-version/stable.json

18-11-05 13:09:05 WARNING (MainThread) [hassio.updater] Can’t fetch versions from https://s3.amazonaws.com/hassio-version/stable.json: Cannot connect to host s3.amazonaws.com:443 ssl:None [Try again]

18-11-05 13:09:05 INFO (MainThread) [hassio.snapshots] Found 0 snapshot files

18-11-05 13:09:05 INFO (MainThread) [main] Run Hass.io

18-11-05 13:09:05 INFO (MainThread) [hassio.misc.dns] Start DNS port forwarding for host add-ons

18-11-05 13:09:05 INFO (MainThread) [hassio.supervisor] Update Supervisor to version None

18-11-05 13:09:05 INFO (SyncWorker_6) [hassio.docker.interface] Pull image homeassistant/amd64-hassio-supervisor tag None.

18-11-05 13:09:08 ERROR (SyncWorker_6) [hassio.docker.interface] Can’t install homeassistant/amd64-hassio-supervisor:None -> 404 Client Error: Not Found (“No such image: homeassistant/amd64-hassio-supervisor:None”).

18-11-05 13:09:08 ERROR (MainThread) [hassio.supervisor] Update of Hass.io fails!

18-11-05 13:09:08 INFO (MainThread) [hassio.api] Start API on 172.30.32.2

18-11-05 13:09:08 INFO (MainThread) [hassio.addons] Startup initialize run 0 add-ons

18-11-05 13:09:08 INFO (MainThread) [hassio.addons] Startup system run 0 add-ons

18-11-05 13:09:08 INFO (MainThread) [hassio.addons] Startup services run 0 add-ons

18-11-05 13:09:08 INFO (SyncWorker_7) [hassio.docker.interface] Clean homeassistant/qemux86-64-homeassistant Docker application

18-11-05 13:09:08 INFO (SyncWorker_7) [hassio.docker.homeassistant] Start homeassistant homeassistant/qemux86-64-homeassistant with version landingpage

18-11-05 13:09:18 ERROR (MainThread) [hassio.homeassistant] Home Assistant has crashed!

18-11-05 13:09:18 INFO (MainThread) [hassio.addons] Startup application run 0 add-ons

18-11-05 13:09:18 INFO (MainThread) [hassio.tasks] All core tasks are scheduled

18-11-05 13:09:18 INFO (MainThread) [hassio.core] Hass.io is up and running

18-11-05 13:09:18 INFO (MainThread) [hassio.homeassistant] Setup Home Assistant

18-11-05 13:09:18 WARNING (MainThread) [hassio.homeassistant] Error on install Home Assistant. Retry in 60sec

Below the docker version:

Client:
Version: 1.13.1
API version: 1.26
Package version: docker-1.13.1-75.git8633870.el7.centos.x86_64
Go version: go1.9.4
Git commit: 8633870/1.13.1
Built: Fri Sep 28 19:45:08 2018
OS/Arch: linux/amd64

Server:
Version: 1.13.1
API version: 1.26 (minimum version 1.12)
Package version: docker-1.13.1-75.git8633870.el7.centos.x86_64
Go version: go1.9.4
Git commit: 8633870/1.13.1
Built: Fri Sep 28 19:45:08 2018
OS/Arch: linux/amd64
Experimental: false

[root@homeautomation ~]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
35d942c7e055 homeassistant/qemux86-64-homeassistant “/usr/bin/entry.sh” 12 minutes ago Exited (127) 12 minutes ago homeassistant
77705e24a791 homeassistant/amd64-hassio-supervisor “python3 -m hassio” 13 minutes ago Up 13 minutes hassio_supervisor

Any idea what’s going on?

Seems to me you have a networking issue on the host

I’ve managed to reinstall CentOS7 from scratch. Tried to re-deploy hass.io but this time the supervisor is up but homeassistant container crash and not sure how to get the logs

[root@homeautomation ~]# docker logs hassio_supervisor

18-11-06 18:08:24 INFO (MainThread) [main] Initialize Hass.io setup

18-11-06 18:08:24 INFO (MainThread) [main] Setup HassIO

18-11-06 18:08:24 INFO (SyncWorker_0) [hassio.docker.supervisor] Attach to Supervisor homeassistant/amd64-hassio-supervisor with version 139

18-11-06 18:08:24 INFO (MainThread) [hassio.utils.gdbus] Introspect org.freedesktop.systemd1 on /org/freedesktop/systemd1

18-11-06 18:08:24 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.systemd1 - /org/freedesktop/systemd1

18-11-06 18:08:24 INFO (MainThread) [hassio.utils.gdbus] Introspect org.freedesktop.hostname1 on /org/freedesktop/hostname1

18-11-06 18:08:24 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.hostname1 - /org/freedesktop/hostname1

18-11-06 18:08:24 INFO (MainThread) [hassio.utils.gdbus] Introspect de.pengutronix.rauc on /

18-11-06 18:08:24 ERROR (MainThread) [hassio.utils.gdbus] DBus return error: b’Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name de.pengutronix.rauc was not provided by any .service files\n’

18-11-06 18:08:24 WARNING (MainThread) [hassio.dbus.rauc] Can’t connect to rauc

18-11-06 18:08:24 INFO (MainThread) [hassio.host.info] Update local host information

18-11-06 18:08:24 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1

18-11-06 18:08:24 INFO (MainThread) [hassio.host.services] Update service information

18-11-06 18:08:24 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1

18-11-06 18:08:24 INFO (MainThread) [hassio.host.apparmor] Load AppArmor Profiles: set()

18-11-06 18:08:24 INFO (MainThread) [hassio.host.apparmor] AppArmor is not enabled on host

18-11-06 18:08:24 INFO (SyncWorker_1) [hassio.docker.interface] Attach to image homeassistant/qemux86-64-homeassistant with version landingpage

18-11-06 18:08:24 INFO (MainThread) [hassio.addons.git] Load add-on /data/addons/core repository

18-11-06 18:08:24 INFO (MainThread) [hassio.addons.git] Load add-on /data/addons/git/a0d7b954 repository

18-11-06 18:08:24 INFO (MainThread) [hassio.addons] Load add-ons: 45 all - 45 new - 0 remove

18-11-06 18:08:24 INFO (MainThread) [hassio.updater] Fetch update data from https://s3.amazonaws.com/hassio-version/stable.json

18-11-06 18:08:26 INFO (MainThread) [hassio.snapshots] Found 0 snapshot files

18-11-06 18:08:26 INFO (MainThread) [hassio.discovery] Load 0 messages

18-11-06 18:08:26 INFO (MainThread) [main] Run Hass.io

18-11-06 18:08:26 INFO (MainThread) [hassio.misc.dns] Start DNS port forwarding for host add-ons

18-11-06 18:08:26 INFO (MainThread) [hassio.core] Ignore Hass.io auto updates on dev channel

18-11-06 18:08:26 INFO (MainThread) [hassio.api] Start API on 172.30.32.2

18-11-06 18:08:26 INFO (MainThread) [hassio.addons] Startup initialize run 0 add-ons

18-11-06 18:08:26 INFO (MainThread) [hassio.core] Hass.io reboot detected

18-11-06 18:08:26 INFO (MainThread) [hassio.tasks] All core tasks are scheduled

18-11-06 18:08:26 INFO (MainThread) [hassio.core] Hass.io is up and running

18-11-06 18:08:26 INFO (MainThread) [hassio.homeassistant] Setup Home Assistant

18-11-06 18:08:26 INFO (SyncWorker_3) [hassio.docker.interface] Pull image homeassistant/qemux86-64-homeassistant tag 0.81.6.

18-11-06 18:11:21 INFO (SyncWorker_3) [hassio.docker.interface] Tag image homeassistant/qemux86-64-homeassistant with version 0.81.6 as latest

18-11-06 18:11:21 INFO (MainThread) [hassio.homeassistant] Home Assistant docker now installed

18-11-06 18:11:21 INFO (MainThread) [hassio.homeassistant] Start Home Assistant

18-11-06 18:11:22 INFO (SyncWorker_18) [hassio.docker.homeassistant] Start homeassistant homeassistant/qemux86-64-homeassistant with version 0.81.6

18-11-06 18:11:32 ERROR (MainThread) [hassio.homeassistant] Home Assistant has crashed!

18-11-06 18:11:32 ERROR (MainThread) [hassio.homeassistant] Can’t start Home Assistant!

18-11-06 18:11:32 INFO (SyncWorker_6) [hassio.docker.interface] Cleanup Docker images: [‘docker.io/homeassistant/qemux86-64-homeassistant:landingpage’]

Solved it by installing docker-ce instead of the docker in centos7 repository