Hi all, just upgraded from 0.41 to 0.42.3 and seeing these errors
Running:
homeassistant@hassbian:~/.homeassistant $ hass --script check_config
Testing configuration at /home/homeassistant/.homeassistant
17-04-14 09:32:16 INFO (MainThread) [homeassistant.setup] Setting up mqtt
17-04-14 09:32:16 INFO (MainThread) [homeassistant.setup] Setting up binary_sensor
17-04-14 09:32:16 INFO (MainThread) [homeassistant.setup] Setting up discovery
17-04-14 09:32:16 INFO (MainThread) [homeassistant.setup] Setting up group
17-04-14 09:32:16 INFO (MainThread) [homeassistant.setup] Setting up sensor
17-04-14 09:32:16 INFO (MainThread) [homeassistant.setup] Setting up switch
17-04-14 09:32:16 INFO (MainThread) [homeassistant.setup] Setting up automation
17-04-14 09:32:16 INFO (MainThread) [homeassistant.setup] Setting up blink
17-04-14 09:32:16 INFO (MainThread) [homeassistant.setup] Setting up http
17-04-14 09:32:17 INFO (MainThread) [homeassistant.setup] Setting up updater
17-04-14 09:32:17 INFO (MainThread) [homeassistant.setup] Setting up notify
17-04-14 09:32:17 INFO (MainThread) [homeassistant.setup] Setting up script
17-04-14 09:32:17 INFO (MainThread) [homeassistant.setup] Setting up zone
17-04-14 09:32:17 INFO (MainThread) [homeassistant.setup] Setting up ifttt
17-04-14 09:32:17 INFO (MainThread) [homeassistant.setup] Setting up nest
17-04-14 09:32:17 INFO (MainThread) [homeassistant.setup] Setting up sun
17-04-14 09:32:17 INFO (MainThread) [homeassistant.setup] Setting up recorder
17-04-14 09:32:17 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
17-04-14 09:32:17 INFO (MainThread) [homeassistant.setup] Setting up api
17-04-14 09:32:17 INFO (MainThread) [homeassistant.setup] Setting up camera
17-04-14 09:32:17 INFO (MainThread) [homeassistant.setup] Setting up config
17-04-14 09:32:17 INFO (MainThread) [homeassistant.setup] Setting up device_tracker
17-04-14 09:32:17 INFO (MainThread) [homeassistant.setup] Setting up history
17-04-14 09:32:17 INFO (MainThread) [homeassistant.setup] Setting up frontend
17-04-14 09:32:17 INFO (MainThread) [homeassistant.setup] Setting up logbook
And the log appears to be empty.
I do a manual restart of HASS and see:
17-04-14 09:36:19 INFO (Recorder) [homeassistant.components.recorder.migration] Upgrading recorder db schema to version 2
17-04-14 09:36:19 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (sqlite3.OperationalError) index ix_recorder_runs_start_end already exists [SQL: ‘CREATE INDEX ix_recorder_runs_start_end ON recorder_runs (start, “end”)’]
17-04-14 09:36:19 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.OperationalError) index ix_recorder_runs_start_end already exists [SQL: ‘CREATE INDEX ix_recorder_runs_start_end ON recorder_runs (start, “end”)’] (retrying in 3 seconds)
17-04-14 09:36:20 WARNING (MainThread) [homeassistant.setup] Setup of recorder is taking over 10 seconds.
And:
17-04-14 09:36:40 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=1980479568-2>
17-04-14 09:36:40 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of history. Setup failed for dependencies: recorder
17-04-14 09:36:40 ERROR (MainThread) [homeassistant.setup] Setup failed for history: Could not setup all dependencies.
17-04-14 09:36:40 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of logbook. Setup failed for dependencies: recorder
17-04-14 09:36:40 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not setup all dependencies.