I manually installed home-assistant on my pi in a virtual environment. Whenever I use the ‘systemctl’ command I get this error:
> ● [email protected] - Home Assistant
> Loaded: loaded (/etc/systemd/system/[email protected]; enabled)
> Active: active (running) since Thu 2017-06-15 16:17:52 CEST; 22s ago
> Main PID: 2851 (hass)
> CGroup: /system.slice/system-home\x2dassistant.slice/[email protected]
> └─2851 /srv/homeassistant/bin/python3 /srv/homeassistant/bin/hass -c /home/homeassistant/.homeassistant
> Jun 15 16:18:02 raspberrypi hass[2851]: 2017-06-15 16:18:02 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.0 seconds.
> Jun 15 16:18:02 raspberrypi hass[2851]: 2017-06-15 16:18:02 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=api>
> Jun 15 16:18:02 raspberrypi hass[2851]: 2017-06-15 16:18:02 INFO (MainThread) [homeassistant.setup] Setting up frontend
> Jun 15 16:18:02 raspberrypi hass[2851]: 2017-06-15 16:18:02 INFO (MainThread) [homeassistant.setup] Setup of domain frontend took 0.2 seconds.
> Jun 15 16:18:02 raspberrypi hass[2851]: 2017-06-15 16:18:02 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=frontend>
> Jun 15 16:18:04 raspberrypi hass[2851]: 2017-06-15 16:18:04 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.OperationalError) unable to open database file (retrying in 3 seconds)
> Jun 15 16:18:07 raspberrypi hass[2851]: 2017-06-15 16:18:07 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.OperationalError) unable to open database file (retrying in 3 seconds)
> Jun 15 16:18:10 raspberrypi hass[2851]: 2017-06-15 16:18:10 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.OperationalError) unable to open database file (retrying in 3 seconds)
> Jun 15 16:18:12 raspberrypi hass[2851]: 2017-06-15 16:18:12 WARNING (MainThread) [homeassistant.setup] Setup of recorder is taking over 10 seconds.
2017-06-15 16:26:40 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.OperationalError) unable to open database file (retrying in 3 seconds)
2017-06-15 16:26:43 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.OperationalError) unable to open database file (retrying in 3 seconds)
2017-06-15 16:26:46 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.OperationalError) unable to open database file (retrying in 3 seconds)
2017-06-15 16:26:48 WARNING (MainThread) [homeassistant.setup] Setup of recorder is taking over 10 seconds.
2017-06-15 16:26:49 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.OperationalError) unable to open database file (retrying in 3 seconds)
2017-06-15 16:26:52 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.OperationalError) unable to open database file (retrying in 3 seconds)
2017-06-15 16:26:55 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.OperationalError) unable to open database file (retrying in 3 seconds)
2017-06-15 16:26:58 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.OperationalError) unable to open database file (retrying in 3 seconds)
2017-06-15 16:27:01 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.OperationalError) unable to open database file (retrying in 3 seconds)
2017-06-15 16:27:04 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.OperationalError) unable to open database file (retrying in 3 seconds)
2017-06-15 16:27:07 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.OperationalError) unable to open database file (retrying in 3 seconds)
2017-06-15 16:27:07 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 29.3 seconds.
2017-06-15 16:27:07 ERROR (MainThread) [homeassistant.setup] Setup failed for recorder: Component failed to initialize.
2017-06-15 16:27:08 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of history. Setup failed for dependencies: recorder
2017-06-15 16:27:08 ERROR (MainThread) [homeassistant.setup] Setup failed for history: Could not setup all dependencies.
2017-06-15 16:27:08 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of logbook. Setup failed for dependencies: recorder
2017-06-15 16:27:08 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not setup all dependencies.