Moving to Docker problems

Hi
I’ve been running HA on a Ubuntu VM for a good while now and decided it is time to move to Docker. I am a complete Docker novice so hopefully this will be something simple.
I start the container with the following command:

sudo docker run -d --name=“home-assistant” --net=“host” -v /home/ross/homeassistant:/config -v /etc/localtime:/etc/localtime:ro homeassistant/home-assistant

Where /home/ross/homeassistant contains my previous configuration yaml files.

None of the dependencies appear to install. This is my log file:

2017-07-26 16:35:59 ERROR (MainThread) [homeassistant.config] Invalid config for [http]: not a file for dictionary value @ data[‘http’][‘ssl_certificate’]. Got ‘/TLS/fullchain.pem’
not a file for dictionary value @ data[‘http’][‘ssl_key’]. Got ‘/TLS/privkey.pem’. (See /config/configuration.yaml, line 24). Please check the docs at HTTP - Home Assistant
2017-07-26 16:35:59 ERROR (MainThread) [homeassistant.setup] Setup failed for http: Invalid config.
2017-07-26 16:35:59 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of websocket_api. Setup failed for dependencies: http
2017-07-26 16:35:59 ERROR (MainThread) [homeassistant.setup] Setup failed for websocket_api: Could not setup all dependencies.
2017-07-26 16:35:59 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of api. Setup failed for dependencies: http
2017-07-26 16:35:59 ERROR (MainThread) [homeassistant.setup] Setup failed for api: Could not setup all dependencies.
2017-07-26 16:35:59 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of frontend. Setup failed for dependencies: api, websocket_api
2017-07-26 16:35:59 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Could not setup all dependencies.
2017-07-26 16:36:00 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of history. Setup failed for dependencies: http
2017-07-26 16:36:00 ERROR (MainThread) [homeassistant.setup] Setup failed for history: Could not setup all dependencies.
2017-07-26 16:36:01 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of config. Setup failed for dependencies: http
2017-07-26 16:36:01 ERROR (MainThread) [homeassistant.setup] Setup failed for config: Could not setup all dependencies.
2017-07-26 16:36:01 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of media_player. Setup failed for dependencies: http
2017-07-26 16:36:01 ERROR (MainThread) [homeassistant.setup] Setup failed for media_player: Could not setup all dependencies.
2017-07-26 16:36:01 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of logbook. Setup failed for dependencies: frontend
2017-07-26 16:36:01 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not setup all dependencies.
2017-07-26 16:36:01 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of binary_sensor.mqtt. Setup failed for dependencies: mqtt
2017-07-26 16:36:01 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform binary_sensor.mqtt: Could not setup all dependencies.
2017-07-26 16:36:01 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of binary_sensor.mqtt. Setup failed for dependencies: mqtt
2017-07-26 16:36:01 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform binary_sensor.mqtt: Could not setup all dependencies.
2017-07-26 16:36:01 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of binary_sensor.mqtt. Setup failed for dependencies: mqtt
2017-07-26 16:36:01 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform binary_sensor.mqtt: Could not setup all dependencies.
2017-07-26 16:36:01 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of binary_sensor.mqtt. Setup failed for dependencies: mqtt
2017-07-26 16:36:01 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform binary_sensor.mqtt: Could not setup all dependencies.
2017-07-26 16:36:01 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of binary_sensor.mqtt. Setup failed for dependencies: mqtt
2017-07-26 16:36:01 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform binary_sensor.mqtt: Could not setup all dependencies.
2017-07-26 16:36:02 ERROR (MainThread) [homeassistant.setup] Setup failed for telegram_bot: Component failed to initialize.
2017-07-26 16:36:03 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of notify.telegram. Setup failed for dependencies: telegram_bot
2017-07-26 16:36:03 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform notify.telegram: Could not setup all dependencies.
2017-07-26 16:36:03 ERROR (MainThread) [homeassistant.components.notify] Unknown notification service specified
2017-07-26 16:36:05 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of camera. Setup failed for dependencies: http
2017-07-26 16:36:05 ERROR (MainThread) [homeassistant.setup] Setup failed for camera: Could not setup all dependencies.
2017-07-26 16:36:06 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of device_tracker.owntracks. Setup failed for dependencies: mqtt
2017-07-26 16:36:06 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform device_tracker.owntracks: Could not setup all dependencies.

Thanks for any help.

Why not use Hass.io?

1 Like

Did you figure this out? I have the same issue

There is a good guide to deploy a minimal ubuntu server instance here:

This was intended for hass.io install, but there is no reason why you cannot also run HASS in the docker without hass.io

But I agree with @patosullivan - hassio is worth doing for the add-ons.