Hello, I’ve recently installed Home Assistant for the second time in another Raspberry Pi of mine and it’s not going so smoothly as the first time. I already had one RB PI up and running and I went through the same process of installation using python virtual environment and got the same configuration files for HA that I had on the other one. I’m getting several issues when I run it. Here is my home-assistant.log, only the parts which throw an ERROR.
2018-03-17 16:13:26 ERROR (Thread-2) [homeassistant.util.package] Unable to install package paho-mqtt==1.3.1: Exception:
2018-03-17 16:13:26 ERROR (MainThread) [homeassistant.requirements] Not initializing mqtt because could not install requirement paho-mqtt==1.3.1
2018-03-17 16:13:26 ERROR (MainThread) [homeassistant.setup] Setup failed for mqtt: Could not install all requirements.
2018-03-17 16:13:53 ERROR (Thread-4) [homeassistant.util.package] Unable to install package sqlalchemy==1.2.2: Exception:
2018-03-17 16:13:53 ERROR (MainThread) [homeassistant.requirements] Not initializing recorder because could not install requirement sqlalchemy==1.2.2
2018-03-17 16:13:53 ERROR (MainThread) [homeassistant.setup] Setup failed for recorder: Could not install all requirements.
2018-03-17 16:13:54 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of history. Setup failed for dependencies: recorder
2018-03-17 16:13:54 ERROR (MainThread) [homeassistant.setup] Setup failed for history: Could not setup all dependencies.
2018-03-17 16:13:59 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of logbook. Setup failed for dependencies: recorder
2018-03-17 16:13:59 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not setup all dependencies.
2018-03-17 16:13:59 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of history_graph. Setup failed for dependencies: history
2018-03-17 16:13:59 ERROR (MainThread) [homeassistant.setup] Setup failed for history_graph: Could not setup all dependencies.
2018-03-17 16:14:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to setup dependencies of logbook. Setup failed for dependencies: recorder, level=ERROR, source=setup.py, timestamp=1521303239.6420991, exception=>
2018-03-17 16:14:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Setup failed for logbook: Could not setup all dependencies., level=ERROR, source=setup.py, timestamp=1521303239.6892846, exception=>
2018-03-17 16:14:00 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of sensor.mqtt. Setup failed for dependencies: mqtt
2018-03-17 16:14:00 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform sensor.mqtt: Could not setup all dependencies.
2018-03-17 16:14:00 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of sensor.mqtt. Setup failed for dependencies: mqtt
2018-03-17 16:14:00 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform sensor.mqtt: Could not setup all dependencies.
2018-03-17 16:14:00 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of sensor.mqtt. Setup failed for dependencies: mqtt
2018-03-17 16:14:00 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform sensor.mqtt: Could not setup all dependencies.
2018-03-17 16:14:00 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of sensor.mqtt. Setup failed for dependencies: mqtt
2018-03-17 16:14:00 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform sensor.mqtt: Could not setup all dependencies.
2018-03-17 16:14:00 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of sensor.mqtt. Setup failed for dependencies: mqtt
2018-03-17 16:14:00 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform sensor.mqtt: Could not setup all dependencies.
2018-03-17 16:14:00 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of sensor.mqtt. Setup failed for dependencies: mqtt
2018-03-17 16:14:00 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform sensor.mqtt: Could not setup all dependencies.
2018-03-17 16:14:00 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of sensor.mqtt. Setup failed for dependencies: mqtt
2018-03-17 16:14:00 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform sensor.mqtt: Could not setup all dependencies.
2018-03-17 16:14:00 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of sensor.mqtt. Setup failed for dependencies: mqtt
2018-03-17 16:14:00 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform sensor.mqtt: Could not setup all dependencies.
2018-03-17 16:14:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to setup dependencies of history_graph. Setup failed for dependencies: history, level=ERROR, source=setup.py, timestamp=1521303239.6961167, exception=>
2018-03-17 16:14:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Setup failed for history_graph: Could not setup all dependencies., level=ERROR, source=setup.py, timestamp=1521303239.7005305, exception=>
2018-03-17 16:14:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to setup dependencies of sensor.mqtt. Setup failed for dependencies: mqtt, level=ERROR, source=setup.py, timestamp=1521303240.073007, exception=>
2018-03-17 16:14:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to prepare setup for platform sensor.mqtt: Could not setup all dependencies., level=ERROR, source=setup.py, timestamp=1521303240.0840762, exception=>
2018-03-17 16:14:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to setup dependencies of sensor.mqtt. Setup failed for dependencies: mqtt, level=ERROR, source=setup.py, timestamp=1521303240.092115, exception=>
2018-03-17 16:14:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to prepare setup for platform sensor.mqtt: Could not setup all dependencies., level=ERROR, source=setup.py, timestamp=1521303240.1008248, exception=>
2018-03-17 16:14:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to setup dependencies of sensor.mqtt. Setup failed for dependencies: mqtt, level=ERROR, source=setup.py, timestamp=1521303240.1088266, exception=>
2018-03-17 16:14:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to prepare setup for platform sensor.mqtt: Could not setup all dependencies., level=ERROR, source=setup.py, timestamp=1521303240.117506, exception=>
2018-03-17 16:14:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to setup dependencies of sensor.mqtt. Setup failed for dependencies: mqtt, level=ERROR, source=setup.py, timestamp=1521303240.1242313, exception=>
2018-03-17 16:14:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to prepare setup for platform sensor.mqtt: Could not setup all dependencies., level=ERROR, source=setup.py, timestamp=1521303240.1328695, exception=>
2018-03-17 16:14:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to setup dependencies of sensor.mqtt. Setup failed for dependencies: mqtt, level=ERROR, source=setup.py, timestamp=1521303240.1420612, exception=>
2018-03-17 16:14:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to prepare setup for platform sensor.mqtt: Could not setup all dependencies., level=ERROR, source=setup.py, timestamp=1521303240.1493428, exception=>
2018-03-17 16:14:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to setup dependencies of sensor.mqtt. Setup failed for dependencies: mqtt, level=ERROR, source=setup.py, timestamp=1521303240.1584535, exception=>
2018-03-17 16:14:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to prepare setup for platform sensor.mqtt: Could not setup all dependencies., level=ERROR, source=setup.py, timestamp=1521303240.165887, exception=>
2018-03-17 16:14:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to setup dependencies of sensor.mqtt. Setup failed for dependencies: mqtt, level=ERROR, source=setup.py, timestamp=1521303240.1738465, exception=>
2018-03-17 16:14:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to prepare setup for platform sensor.mqtt: Could not setup all dependencies., level=ERROR, source=setup.py, timestamp=1521303240.182409, exception=>
2018-03-17 16:14:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to setup dependencies of sensor.mqtt. Setup failed for dependencies: mqtt, level=ERROR, source=setup.py, timestamp=1521303240.1916232, exception=>
2018-03-17 16:14:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to prepare setup for platform sensor.mqtt: Could not setup all dependencies., level=ERROR, source=setup.py, timestamp=1521303240.1989892, exception=>
2018-03-17 16:14:01 ERROR (MainThread) [homeassistant.components.device_tracker] Unable to load /home/homeassistant/.homeassistant/known_devices.yaml: Config file not found: /home/homeassistant/.homeassistant/known_devices.yaml
2018-03-17 16:14:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to load /home/homeassistant/.homeassistant/known_devices.yaml: Config file not found: /home/homeassistant/.homeassistant/known_devices.yaml, level=ERROR, source=components/device_tracker/__init__.py, timestamp=1521303241.3624027, exception=>
2018-03-17 16:14:01 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of switch.mqtt. Setup failed for dependencies: mqtt
2018-03-17 16:14:01 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.mqtt: Could not setup all dependencies.
2018-03-17 16:14:01 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of switch.mqtt. Setup failed for dependencies: mqtt
2018-03-17 16:14:01 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.mqtt: Could not setup all dependencies.
2018-03-17 16:14:01 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of switch.mqtt. Setup failed for dependencies: mqtt
2018-03-17 16:14:01 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.mqtt: Could not setup all dependencies.
2018-03-17 16:14:01 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of switch.mqtt. Setup failed for dependencies: mqtt
2018-03-17 16:14:01 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.mqtt: Could not setup all dependencies.
2018-03-17 16:14:01 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of switch.mqtt. Setup failed for dependencies: mqtt
2018-03-17 16:14:01 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.mqtt: Could not setup all dependencies.
2018-03-17 16:14:01 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of switch.mqtt. Setup failed for dependencies: mqtt
2018-03-17 16:14:01 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.mqtt: Could not setup all dependencies.
2018-03-17 16:14:01 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of switch.mqtt. Setup failed for dependencies: mqtt
2018-03-17 16:14:01 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.mqtt: Could not setup all dependencies.
2018-03-17 16:14:01 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of switch.mqtt. Setup failed for dependencies: mqtt
2018-03-17 16:14:01 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.mqtt: Could not setup all dependencies.
2018-03-17 16:14:01 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of switch.mqtt. Setup failed for dependencies: mqtt
2018-03-17 16:14:01 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.mqtt: Could not setup all dependencies.
2018-03-17 16:14:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to setup dependencies of switch.mqtt. Setup failed for dependencies: mqtt, level=ERROR, source=setup.py, timestamp=1521303241.4884906, exception=>
2018-03-17 16:14:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to prepare setup for platform switch.mqtt: Could not setup all dependencies., level=ERROR, source=setup.py, timestamp=1521303241.4970334, exception=>
2018-03-17 16:14:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to setup dependencies of switch.mqtt. Setup failed for dependencies: mqtt, level=ERROR, source=setup.py, timestamp=1521303241.5049229, exception=>
2018-03-17 16:14:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to prepare setup for platform switch.mqtt: Could not setup all dependencies., level=ERROR, source=setup.py, timestamp=1521303241.5124328, exception=>
2018-03-17 16:14:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to setup dependencies of switch.mqtt. Setup failed for dependencies: mqtt, level=ERROR, source=setup.py, timestamp=1521303241.5203297, exception=>
2018-03-17 16:14:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to prepare setup for platform switch.mqtt: Could not setup all dependencies., level=ERROR, source=setup.py, timestamp=1521303241.5287943, exception=>
2018-03-17 16:14:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to setup dependencies of switch.mqtt. Setup failed for dependencies: mqtt, level=ERROR, source=setup.py, timestamp=1521303241.5353465, exception=>
2018-03-17 16:14:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to prepare setup for platform switch.mqtt: Could not setup all dependencies., level=ERROR, source=setup.py, timestamp=1521303241.542602, exception=>
2018-03-17 16:14:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to setup dependencies of switch.mqtt. Setup failed for dependencies: mqtt, level=ERROR, source=setup.py, timestamp=1521303241.5512102, exception=>
2018-03-17 16:14:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to prepare setup for platform switch.mqtt: Could not setup all dependencies., level=ERROR, source=setup.py, timestamp=1521303241.5660977, exception=>
2018-03-17 16:14:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to setup dependencies of switch.mqtt. Setup failed for dependencies: mqtt, level=ERROR, source=setup.py, timestamp=1521303241.5740592, exception=>
2018-03-17 16:14:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to prepare setup for platform switch.mqtt: Could not setup all dependencies., level=ERROR, source=setup.py, timestamp=1521303241.578716, exception=>
2018-03-17 16:14:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to setup dependencies of switch.mqtt. Setup failed for dependencies: mqtt, level=ERROR, source=setup.py, timestamp=1521303241.5838463, exception=>
2018-03-17 16:14:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to prepare setup for platform switch.mqtt: Could not setup all dependencies., level=ERROR, source=setup.py, timestamp=1521303241.5886781, exception=>
2018-03-17 16:14:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to setup dependencies of switch.mqtt. Setup failed for dependencies: mqtt, level=ERROR, source=setup.py, timestamp=1521303241.5939088, exception=>
2018-03-17 16:14:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to prepare setup for platform switch.mqtt: Could not setup all dependencies., level=ERROR, source=setup.py, timestamp=1521303241.5984886, exception=>
2018-03-17 16:14:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to setup dependencies of switch.mqtt. Setup failed for dependencies: mqtt, level=ERROR, source=setup.py, timestamp=1521303241.6036355, exception=>
2018-03-17 16:14:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to prepare setup for platform switch.mqtt: Could not setup all dependencies., level=ERROR, source=setup.py, timestamp=1521303241.6082702, exception=>
2018-03-17 16:14:16 ERROR (Thread-8) [homeassistant.util.package] Unable to install package psutil==5.4.3: Exception:
PermissionError: [Errno 13] Permission denied: '/srv/homeassistant/lib/python3.5/site-packages/psutil', level=ERROR, source=util/package.py, timestamp=1521303256.4285064, exception=>
2018-03-17 16:14:16 ERROR (MainThread) [homeassistant.requirements] Not initializing sensor.systemmonitor because could not install requirement psutil==5.4.3
2018-03-17 16:14:16 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform sensor.systemmonitor: Could not install all requirements.
2018-03-17 16:14:16 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Not initializing sensor.systemmonitor because could not install requirement psutil==5.4.3, level=ERROR, source=requirements.py, timestamp=1521303256.4504716, exception=>
2018-03-17 16:14:16 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to prepare setup for platform sensor.systemmonitor: Could not install all requirements., level=ERROR, source=setup.py, timestamp=1521303256.45834, exception=>
2018-03-17 16:14:25 ERROR (Thread-2) [homeassistant.util.package] Unable to install package speedtest-cli==2.0.0: Exception:
PermissionError: [Errno 13] Permission denied: '/srv/homeassistant/lib/python3.5/site-packages/speedtest_cli.py', level=ERROR, source=util/package.py, timestamp=1521303265.8527062, exception=>
2018-03-17 16:14:25 ERROR (MainThread) [homeassistant.requirements] Not initializing sensor.speedtest because could not install requirement speedtest-cli==2.0.0
2018-03-17 16:14:25 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform sensor.speedtest: Could not install all requirements.
2018-03-17 16:14:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Not initializing sensor.speedtest because could not install requirement speedtest-cli==2.0.0, level=ERROR, source=requirements.py, timestamp=1521303265.8614216, exception=>
2018-03-17 16:14:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to prepare setup for platform sensor.speedtest: Could not install all requirements., level=ERROR, source=setup.py, timestamp=1521303265.8664207, exception=>
2018-03-17 16:15:04 ERROR (Thread-10) [homeassistant.util.package] Unable to install package TravisPy==0.3.5: Exception:
PermissionError: [Errno 13] Permission denied: '/srv/homeassistant/lib/python3.5/site-packages/py', level=ERROR, source=util/package.py, timestamp=1521303304.1916435, exception=>
2018-03-17 16:15:04 ERROR (MainThread) [homeassistant.requirements] Not initializing sensor.travisci because could not install requirement TravisPy==0.3.5
2018-03-17 16:15:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform sensor.travisci: Could not install all requirements.
2018-03-17 16:15:04 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Not initializing sensor.travisci because could not install requirement TravisPy==0.3.5, level=ERROR, source=requirements.py, timestamp=1521303304.201911, exception=>
2018-03-17 16:15:04 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to prepare setup for platform sensor.travisci: Could not install all requirements., level=ERROR, source=setup.py, timestamp=1521303304.2070456, exception=>
2018-03-17 16:15:21 ERROR (Thread-11) [homeassistant.util.package] Unable to install package pushbullet.py==0.11.0: Exception:
PermissionError: [Errno 13] Permission denied: '/srv/homeassistant/lib/python3.5/site-packages/websocket', level=ERROR, source=util/package.py, timestamp=1521303321.112618, exception=>
2018-03-17 16:15:21 ERROR (MainThread) [homeassistant.requirements] Not initializing notify.pushbullet because could not install requirement pushbullet.py==0.11.0
2018-03-17 16:15:21 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform notify.pushbullet: Could not install all requirements.
2018-03-17 16:15:21 ERROR (MainThread) [homeassistant.components.notify] Unknown notification service specified
2018-03-17 16:15:21 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Not initializing notify.pushbullet because could not install requirement pushbullet.py==0.11.0, level=ERROR, source=requirements.py, timestamp=1521303321.1212895, exception=>
2018-03-17 16:15:21 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unable to prepare setup for platform notify.pushbullet: Could not install all requirements., level=ERROR, source=setup.py, timestamp=1521303321.1293924, exception=>
2018-03-17 16:15:21 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Unknown notification service specified, level=ERROR, source=components/notify/__init__.py, timestamp=1521303321.1344357, exception=>
It seems that it’s having trouble installing packages and satisfying dependencies but I have no idea why, I’m lost. Any ideas?
Thanks in advance!