Please help/ invalid cofig without making changes!

Have had some errors come up after the last reboot following some changes made. this is the notification i am getting.

Invalid config

The following integrations and platforms could not be set up:

Please check your config.

I have not changed any of the items above, is there a reason this has happened, and what can i do to get it back. Made quite a few changes today, and didnt do the snapshot before this happened. Starting to get very frustrated with HASS and getting it set up properly.

Post your config properly formatted. Post your logs showing any errors. Post what version you’re running and your install method. Without information, your guess is as good as mine and I’m guessing it was aliens at this point.

While you didn’t make changes to those specific components, any changes you made to other components could impact them. These components may rely on components you changed recently and those changes have broken the component and are preventing these specific ones from starting up properly. Another possibility is an unintentional update was performed while rebooting and there is a breaking change in your config you failed to address.

Thanks for your reply. I am reasonably new to all of this, hence coming to the form for some help.

I am running HassOS 3.13 and HassIO 0.107.7 (due to reading lotsa about breaking changes with the latest updates). All running on RPi 4

My log as follows:

20-05-06 17:16:17 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-05-06 17:16:17 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-05-06 17:16:17 ERROR (MainThread) [supervisor.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
20-05-06 17:16:22 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-05-06 17:16:22 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-05-06 17:16:22 ERROR (MainThread) [supervisor.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
20-05-06 17:16:27 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-05-06 17:16:27 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-05-06 17:16:27 ERROR (MainThread) [supervisor.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
20-05-06 17:16:31 INFO (MainThread) [supervisor.homeassistant] Home Assistant pip installation done
20-05-06 17:16:32 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-05-06 17:16:32 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-05-06 17:16:32 ERROR (MainThread) [supervisor.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
20-05-06 17:16:37 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-05-06 17:16:37 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-05-06 17:16:37 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running
20-05-06 17:16:41 INFO (MainThread) [supervisor.homeassistant] Detect a running Home Assistant instance
20-05-06 17:16:41 INFO (MainThread) [supervisor.snapshots] Partial-Restore 238e84b2 done
20-05-06 17:38:53 INFO (MainThread) [supervisor.snapshots] Partial-Restore 3809653a start
20-05-06 17:38:53 INFO (SyncWorker_1) [supervisor.docker.interface] Stop homeassistant application
20-05-06 17:38:53 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API error: Received message 8:1000 is not str
20-05-06 17:38:53 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API connection is closed
20-05-06 17:38:58 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-05-06 17:38:58 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-05-06 17:38:58 ERROR (MainThread) [supervisor.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
20-05-06 17:39:03 INFO (MainThread) [supervisor.snapshots] Restore 3809653a run folders
20-05-06 17:39:03 INFO (SyncWorker_9) [supervisor.snapshots.snapshot] Restore folder share
20-05-06 17:39:03 INFO (SyncWorker_10) [supervisor.snapshots.snapshot] Restore folder ssl
20-05-06 17:39:03 INFO (SyncWorker_3) [supervisor.snapshots.snapshot] Restore folder addons/local
20-05-06 17:39:03 INFO (SyncWorker_10) [supervisor.snapshots.snapshot] Restore folder ssl done
20-05-06 17:39:03 INFO (SyncWorker_3) [supervisor.snapshots.snapshot] Restore folder addons/local done
20-05-06 17:39:03 INFO (SyncWorker_9) [supervisor.snapshots.snapshot] Restore folder share done
20-05-06 17:39:03 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-05-06 17:39:03 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-05-06 17:39:03 ERROR (MainThread) [supervisor.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
20-05-06 17:39:03 INFO (SyncWorker_2) [supervisor.snapshots.snapshot] Restore folder homeassistant
20-05-06 17:39:08 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-05-06 17:39:08 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-05-06 17:39:08 ERROR (MainThread) [supervisor.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
20-05-06 17:39:13 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-05-06 17:39:13 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-05-06 17:39:13 ERROR (MainThread) [supervisor.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
20-05-06 17:39:19 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-05-06 17:39:19 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-05-06 17:39:19 ERROR (MainThread) [supervisor.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
20-05-06 17:39:19 INFO (SyncWorker_2) [supervisor.snapshots.snapshot] Restore folder homeassistant done
20-05-06 17:39:19 INFO (MainThread) [supervisor.snapshots] Restore 3809653a run Home-Assistant
20-05-06 17:39:19 INFO (MainThread) [supervisor.snapshots] Restore 3809653a run Repositories
20-05-06 17:39:20 INFO (MainThread) [supervisor.store] Load add-ons from store: 66 all - 0 new - 0 remove
20-05-06 17:39:20 INFO (MainThread) [supervisor.snapshots] Restore 3809653a old add-ons
20-05-06 17:39:20 INFO (MainThread) [supervisor.addons.addon] Restore config for addon core_configurator
20-05-06 17:39:20 WARNING (MainThread) [supervisor.homeassistant] Version 0.107.7 is already installed
20-05-06 17:39:20 INFO (MainThread) [supervisor.addons.addon] Restore config for addon a0d7b954_nodered
20-05-06 17:39:20 INFO (SyncWorker_13) [supervisor.docker.interface] Stop addon_core_configurator application
20-05-06 17:39:20 INFO (SyncWorker_5) [supervisor.docker.interface] Stop addon_a0d7b954_nodered application
20-05-06 17:39:25 INFO (SyncWorker_5) [supervisor.docker.interface] Clean addon_a0d7b954_nodered application
20-05-06 17:39:25 INFO (SyncWorker_13) [supervisor.docker.interface] Clean addon_core_configurator application
20-05-06 17:39:25 INFO (MainThread) [supervisor.addons.addon] Restore data for addon a0d7b954_nodered
20-05-06 17:39:25 INFO (MainThread) [supervisor.addons.addon] Restore data for addon core_configurator
20-05-06 17:39:27 INFO (SyncWorker_7) [supervisor.docker.addon] Start Docker add-on hassioaddons/node-red-armv7 with version 6.1.4
20-05-06 17:39:27 INFO (SyncWorker_15) [supervisor.docker.addon] Start Docker add-on homeassistant/armv7-addon-configurator with version 4.7
20-05-06 17:39:27 INFO (MainThread) [supervisor.snapshots] Restore 3809653a wait for Home-Assistant
20-05-06 17:39:27 INFO (SyncWorker_9) [supervisor.docker.interface] Start homeassistant/raspberrypi4-homeassistant
20-05-06 17:39:28 INFO (MainThread) [supervisor.api.security] /host/info access from a0d7b954_nodered
20-05-06 17:39:31 INFO (MainThread) [supervisor.api.security] /dns/info access from a0d7b954_nodered
20-05-06 17:39:53 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-05-06 17:39:53 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-05-06 17:39:53 ERROR (MainThread) [supervisor.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
20-05-06 17:39:58 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-05-06 17:39:58 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-05-06 17:39:58 ERROR (MainThread) [supervisor.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
20-05-06 17:40:03 INFO (MainThread) [supervisor.homeassistant] Home Assistant pip installation in progress
20-05-06 17:40:03 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-05-06 17:40:03 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-05-06 17:40:03 ERROR (MainThread) [supervisor.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
20-05-06 17:40:08 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-05-06 17:40:08 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-05-06 17:40:08 ERROR (MainThread) [supervisor.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
20-05-06 17:40:14 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-05-06 17:40:14 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-05-06 17:40:14 ERROR (MainThread) [supervisor.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
20-05-06 17:40:19 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-05-06 17:40:19 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-05-06 17:40:19 ERROR (MainThread) [supervisor.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
20-05-06 17:40:24 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-05-06 17:40:24 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-05-06 17:40:24 ERROR (MainThread) [supervisor.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
20-05-06 17:40:28 INFO (MainThread) [supervisor.homeassistant] Home Assistant pip installation done
20-05-06 17:40:29 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-05-06 17:40:29 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-05-06 17:40:29 ERROR (MainThread) [supervisor.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
20-05-06 17:40:34 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-05-06 17:40:34 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-05-06 17:40:34 ERROR (MainThread) [supervisor.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
20-05-06 17:40:38 INFO (MainThread) [supervisor.homeassistant] Detect a running Home Assistant instance
20-05-06 17:40:38 INFO (MainThread) [supervisor.homeassistant] Updated Home Assistant API token
20-05-06 17:40:38 INFO (MainThread) [supervisor.snapshots] Partial-Restore 3809653a done
20-05-06 17:40:39 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-05-06 17:40:39 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-05-06 17:40:39 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running

I do see several errors, but i am not sure what they mean if i am honest.

I do appreciate people give up their time to help oithers, which is why I do where I can, although these are only real simple basic things right now as I learn about this. Items i have found out and may help another nooby.

Any help is apprecaited.

Lots of errors come from node-red. Can you try to disable node-red, restart and see whether the errors still appear?
This topic discusses a possible solution foe this issue.

Thanks for the idea, I was looking at that thread as you messaged earlier. I have stopped node red and still get lots of errors. Dont have any more time to spend on it tonight(the wife factor has come in to effect!) So will have more of a look tomorrow. Didnt do anything on node red today, so seems a bit odd something may come up now???

Appreciate the input. Will come back and let you know how I get on.

Please post the errors you get with noe3-red disabled. Can you please also post your configuration.yaml (with sensitive information redacted!).

That looks like the supervisor log, not the homeassistant log. That’s not going to help.

Thanks for the ongoing help.

I have found where the errors were coming from in Node Red, it was Alexa-Local I believe. I added it following a tutorial, but never managed to get it to work but never deleted it. now deleted and no errors in my log(yes this is the system log, but I don’t know how to get up any other log as Logger has disapeared from the side bar). see new log below.

20-05-07 06:36:39 INFO (SyncWorker_13) [supervisor.docker.cli] Start CLI homeassistant/armv7-hassio-cli with version 25 - 172.30.32.5
20-05-07 06:36:40 INFO (SyncWorker_4) [supervisor.docker.dns] Start DNS homeassistant/armv7-hassio-dns with version 9 - 172.30.32.3
20-05-07 06:36:40 INFO (MainThread) [supervisor.plugins.dns] Updated /etc/resolv.conf
20-05-07 06:36:40 INFO (SyncWorker_8) [supervisor.docker.audio] Start Audio homeassistant/armv7-hassio-audio with version 14 - 172.30.32.4
20-05-07 06:36:40 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-05-07 06:36:40 INFO (SyncWorker_15) [supervisor.docker.interface] Attach to homeassistant/raspberrypi4-homeassistant with version 0.107.7
20-05-07 06:36:40 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /
20-05-07 06:36:40 INFO (MainThread) [supervisor.hassos] Detect HassOS 3.13 / BootSlot B
20-05-07 06:36:41 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/git/a0d7b954 repository
20-05-07 06:36:41 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/git/7be23ff5 repository
20-05-07 06:36:41 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/core repository
20-05-07 06:36:41 INFO (MainThread) [supervisor.store] Load add-ons from store: 66 all - 66 new - 0 remove
20-05-07 06:36:41 INFO (MainThread) [supervisor.addons] Found 5 installed add-ons
20-05-07 06:36:41 INFO (SyncWorker_5) [supervisor.docker.interface] Attach to homeassistant/armv7-addon-ssh with version 8.5.4
20-05-07 06:36:41 INFO (SyncWorker_12) [supervisor.docker.interface] Attach to homeassistant/armv7-addon-configurator with version 4.7
20-05-07 06:36:41 INFO (SyncWorker_19) [supervisor.docker.interface] Attach to homeassistant/armv7-addon-samba with version 9.2.0
20-05-07 06:36:41 INFO (SyncWorker_14) [supervisor.docker.interface] Attach to hassioaddons/node-red-armv7 with version 6.1.4
20-05-07 06:36:41 INFO (SyncWorker_2) [supervisor.docker.interface] Attach to dwelch2101/dropbox-sync-armhf with version 1.3.0
20-05-07 06:36:41 INFO (MainThread) [supervisor.snapshots] Found 4 snapshot files
20-05-07 06:36:41 INFO (MainThread) [supervisor.discovery] Load 0 messages
20-05-07 06:36:41 INFO (MainThread) [supervisor.ingress] Load 11 ingress session
20-05-07 06:36:41 INFO (MainThread) [supervisor.secrets] Load Home Assistant secrets: 1
20-05-07 06:36:41 INFO (MainThread) [__main__] Run Supervisor
20-05-07 06:36:41 INFO (MainThread) [supervisor.api] Start API on 172.30.32.2
20-05-07 06:36:41 INFO (MainThread) [supervisor.utils.gdbus] Call de.pengutronix.rauc.Installer.Mark on /
20-05-07 06:36:42 INFO (MainThread) [supervisor.hassos] Rauc: B - marked slot kernel.1 as good
20-05-07 06:36:42 INFO (MainThread) [supervisor.addons] Phase 'initialize' start 0 add-ons
20-05-07 06:36:42 INFO (MainThread) [supervisor.addons] Phase 'system' start 0 add-ons
20-05-07 06:36:42 INFO (MainThread) [supervisor.addons] Phase 'services' start 3 add-ons
20-05-07 06:37:17 INFO (SyncWorker_16) [supervisor.docker.addon] Start Docker add-on homeassistant/armv7-addon-samba with version 9.2.0
20-05-07 06:37:18 INFO (SyncWorker_15) [supervisor.docker.addon] Start Docker add-on homeassistant/armv7-addon-ssh with version 8.5.4
20-05-07 06:37:18 INFO (SyncWorker_6) [supervisor.docker.addon] Start Docker add-on dwelch2101/dropbox-sync-armhf with version 1.3.0
20-05-07 06:37:23 INFO (SyncWorker_2) [supervisor.docker.interface] Start homeassistant/raspberrypi4-homeassistant
20-05-07 06:38:13 INFO (MainThread) [supervisor.homeassistant] Detect a running Home Assistant instance
20-05-07 06:38:13 INFO (MainThread) [supervisor.addons] Phase 'application' start 2 add-ons
20-05-07 06:38:15 INFO (SyncWorker_1) [supervisor.docker.addon] Start Docker add-on hassioaddons/node-red-armv7 with version 6.1.4
20-05-07 06:38:16 INFO (SyncWorker_16) [supervisor.docker.addon] Start Docker add-on homeassistant/armv7-addon-configurator with version 4.7
20-05-07 06:38:17 INFO (MainThread) [supervisor.api.security] /host/info access from a0d7b954_nodered
20-05-07 06:38:19 INFO (MainThread) [supervisor.api.security] /dns/info access from a0d7b954_nodered
20-05-07 06:38:21 INFO (MainThread) [supervisor.tasks] All core tasks are scheduled
20-05-07 06:38:21 INFO (MainThread) [supervisor.hwmon] Started Supervisor hardware monitor
20-05-07 06:38:21 INFO (MainThread) [supervisor.core] Supervisor is up and running
20-05-07 06:38:21 INFO (MainThread) [supervisor.host.info] Update local host information
20-05-07 06:38:21 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-05-07 06:38:21 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-05-07 06:38:21 INFO (MainThread) [supervisor.host.services] Update service information
20-05-07 06:38:21 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-05-07 06:38:21 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-05-07 06:38:21 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-05-07 06:38:21 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-05-07 06:38:47 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-05-07 06:38:47 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-05-07 06:38:47 INFO (MainThread) [supervisor.homeassistant] Updated Home Assistant API token
20-05-07 06:38:47 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running

still getting the same Invalid Config errors though. my config.yaml below. You will see that i have not made many changes, or added many items here.

  name: Home
  latitude: 52.3xxxxx
  longitude: -0.2xxxxx
  unit_system: metric
  time_zone: Europe/London
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
#   base_url: example.duckdns.org:8123

# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml


zwave:
  usb_path: /dev/ttyACM0

hive:
  username: XXXXXXX
  password: XXXXXXX



remote:
  - platform: harmony
    name: Bedroom
    host: 192.168.1.xxx
  - platform: harmony
    name: Living Room
    host: 192.168.1.xxx

I could probably remove the Hive lines now as I have added the Hive integration via HACS.

Everything is back to working now, except for the invalid config notifiaction and the associated issues there.

Invalid config
The following integrations and platforms could not be set up:

recorder
history
logbook
default_config
Please check your config.

Any ideas, or would you like to see any more information? I do appreciate any help that you can offer.

thanks

The log we need to see is homeassistant.log which is in the same directory as your config file.

thanks again for replying. Please go easy as i am a nooby here, only about 4 weeks in and still learning.

I am really unsure as to how i access this. As I have noted, I do not have the logger in the side bar any longer, and i cannot access the files via samba now either. Is there another way to do this? I have tried to look for the answer, but am struggling.

Unfortunately I don’t run HA Supervised, so I can’t help you on that front. If you can’t access files via Samba, your only way in may be through SSH and the command line.

Developer tools > logs > show full logs > copy and paste the text bit at the bottom

Did you miss copying “homeassistant:” in the beginning of your configuration.yaml or is this missing in your file?

thanks for all of the responses chaps. apologies for the slow reply today, The wife factor became an issue!

ok, so now i know where to look (thanks Marc), i have 2 logs for you. 1st one with node red active

2020-05-07 18:33:16 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hive which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-05-07 18:33:16 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-05-07 18:33:17 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=137 from 2020-05-06 12:05:27.897827)
2020-05-07 18:33:17 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:33:17.307946', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6)
2020-05-07 18:33:17 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:33:17.307946', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6) (retrying in 3 seconds)
2020-05-07 18:33:20 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=137 from 2020-05-06 12:05:27.897827)
2020-05-07 18:33:20 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:33:17.307946', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6)
2020-05-07 18:33:20 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:33:17.307946', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6) (retrying in 3 seconds)
2020-05-07 18:33:23 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=137 from 2020-05-06 12:05:27.897827)
2020-05-07 18:33:23 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:33:17.307946', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6)
2020-05-07 18:33:23 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:33:17.307946', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6) (retrying in 3 seconds)
2020-05-07 18:33:26 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=137 from 2020-05-06 12:05:27.897827)
2020-05-07 18:33:26 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:33:17.307946', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6)
2020-05-07 18:33:26 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:33:17.307946', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6) (retrying in 3 seconds)
2020-05-07 18:33:27 WARNING (MainThread) [homeassistant.setup] Setup of recorder is taking over 10 seconds.
2020-05-07 18:33:29 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=137 from 2020-05-06 12:05:27.897827)
2020-05-07 18:33:29 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:33:17.307946', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6)
2020-05-07 18:33:29 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:33:17.307946', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6) (retrying in 3 seconds)
2020-05-07 18:33:32 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=137 from 2020-05-06 12:05:27.897827)
2020-05-07 18:33:32 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:33:17.307946', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6)
2020-05-07 18:33:32 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:33:17.307946', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6) (retrying in 3 seconds)
2020-05-07 18:33:35 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=137 from 2020-05-06 12:05:27.897827)
2020-05-07 18:33:35 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:33:17.307946', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6)
2020-05-07 18:33:35 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:33:17.307946', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6) (retrying in 3 seconds)
2020-05-07 18:33:38 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=137 from 2020-05-06 12:05:27.897827)
2020-05-07 18:33:38 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:33:17.307946', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6)
2020-05-07 18:33:38 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:33:17.307946', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6) (retrying in 3 seconds)
2020-05-07 18:33:41 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=137 from 2020-05-06 12:05:27.897827)
2020-05-07 18:33:41 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:33:17.307946', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6)
2020-05-07 18:33:41 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:33:17.307946', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6) (retrying in 3 seconds)
2020-05-07 18:33:44 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=137 from 2020-05-06 12:05:27.897827)
2020-05-07 18:33:44 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:33:17.307946', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6)
2020-05-07 18:33:44 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:33:17.307946', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6) (retrying in 3 seconds)
2020-05-07 18:33:44 ERROR (MainThread) [homeassistant.setup] Setup failed for recorder: Integration failed to initialize.
2020-05-07 18:33:45 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of history. Setup failed for dependencies: recorder
2020-05-07 18:33:45 ERROR (MainThread) [homeassistant.setup] Setup failed for history: Could not set up all dependencies.
2020-05-07 18:34:10 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of logbook. Setup failed for dependencies: recorder
2020-05-07 18:34:10 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not set up all dependencies.
2020-05-07 18:34:11 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: history, logbook
2020-05-07 18:34:11 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: Could not set up all dependencies.
2020-05-07 18:34:14 WARNING (MainThread) [aiohue.util] Received unexpected bridge id: 93eadbeef13
2020-05-07 18:34:14 WARNING (MainThread) [aiohue.util] Received unexpected bridge id: 93eadbeef13
2020-05-07 18:34:14 WARNING (MainThread) [aiohue.util] Received unexpected bridge id: 93eadbeef13
2020-05-07 18:34:14 WARNING (MainThread) [aiohue.util] Received unexpected bridge id: 93eadbeef13
2020-05-07 18:34:14 WARNING (MainThread) [aiohue.util] Received unexpected bridge id: 93eadbeef13
2020-05-07 18:34:14 WARNING (MainThread) [aiohue.util] Received unexpected bridge id: 93eadbeef13
2020-05-07 18:34:14 WARNING (MainThread) [aiohue.util] Received unexpected bridge id: 93eadbeef13
2020-05-07 18:34:14 WARNING (MainThread) [aiohue.util] Received unexpected bridge id: 93eadbeef13
2020-05-07 18:34:14 WARNING (MainThread) [aiohue.util] Received unexpected bridge id: 93eadbeef13
2020-05-07 18:34:14 WARNING (MainThread) [aiohue.util] Received unexpected bridge id: 93eadbeef13
2020-05-07 18:34:14 WARNING (MainThread) [aiohue.util] Received unexpected bridge id: 93eadbeef13
2020-05-07 18:34:14 WARNING (MainThread) [aiohue.util] Received unexpected bridge id: 93eadbeef13

second one with node red turned off.

2020-05-07 18:37:42 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-05-07 18:37:42 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for alexa_media which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-05-07 18:37:42 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hive which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-05-07 18:37:42 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=137 from 2020-05-06 12:05:27.897827)
2020-05-07 18:37:42 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:37:42.754812', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6)
2020-05-07 18:37:42 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:37:42.754812', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6) (retrying in 3 seconds)
2020-05-07 18:37:46 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=137 from 2020-05-06 12:05:27.897827)
2020-05-07 18:37:46 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:37:42.754812', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6)
2020-05-07 18:37:46 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:37:42.754812', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6) (retrying in 3 seconds)
2020-05-07 18:37:49 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=137 from 2020-05-06 12:05:27.897827)
2020-05-07 18:37:49 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:37:42.754812', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6)
2020-05-07 18:37:49 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:37:42.754812', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6) (retrying in 3 seconds)
2020-05-07 18:37:52 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=137 from 2020-05-06 12:05:27.897827)
2020-05-07 18:37:52 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:37:42.754812', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6)
2020-05-07 18:37:52 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:37:42.754812', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6) (retrying in 3 seconds)
2020-05-07 18:37:52 WARNING (MainThread) [homeassistant.setup] Setup of recorder is taking over 10 seconds.
2020-05-07 18:37:55 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=137 from 2020-05-06 12:05:27.897827)
2020-05-07 18:37:55 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:37:42.754812', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6)
2020-05-07 18:37:55 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:37:42.754812', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6) (retrying in 3 seconds)
2020-05-07 18:37:58 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=137 from 2020-05-06 12:05:27.897827)
2020-05-07 18:37:58 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:37:42.754812', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6)
2020-05-07 18:37:58 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:37:42.754812', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6) (retrying in 3 seconds)
2020-05-07 18:38:01 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=137 from 2020-05-06 12:05:27.897827)
2020-05-07 18:38:01 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:37:42.754812', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6)
2020-05-07 18:38:01 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:37:42.754812', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6) (retrying in 3 seconds)
2020-05-07 18:38:04 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=137 from 2020-05-06 12:05:27.897827)
2020-05-07 18:38:04 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:37:42.754812', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6)
2020-05-07 18:38:04 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:37:42.754812', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6) (retrying in 3 seconds)
2020-05-07 18:38:07 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=137 from 2020-05-06 12:05:27.897827)
2020-05-07 18:38:07 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:37:42.754812', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6)
2020-05-07 18:38:07 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:37:42.754812', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6) (retrying in 3 seconds)
2020-05-07 18:38:10 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=137 from 2020-05-06 12:05:27.897827)
2020-05-07 18:38:10 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:37:42.754812', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6)
2020-05-07 18:38:10 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.DatabaseError) database disk image is malformed
[SQL: UPDATE recorder_runs SET "end"=?, closed_incorrect=? WHERE recorder_runs.run_id = ?]
[parameters: ('2020-05-07 17:37:42.754812', 1, 137)]
(Background on this error at: http://sqlalche.me/e/4xp6) (retrying in 3 seconds)
2020-05-07 18:38:10 ERROR (MainThread) [homeassistant.setup] Setup failed for recorder: Integration failed to initialize.
2020-05-07 18:38:12 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of history. Setup failed for dependencies: recorder
2020-05-07 18:38:12 ERROR (MainThread) [homeassistant.setup] Setup failed for history: Could not set up all dependencies.
2020-05-07 18:38:15 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of logbook. Setup failed for dependencies: recorder
2020-05-07 18:38:15 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not set up all dependencies.
2020-05-07 18:38:16 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: history, logbook
2020-05-07 18:38:16 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: Could not set up all dependencies.
2020-05-07 18:38:52 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave node 9 not ready after 30 seconds, continuing anyway
2020-05-07 18:38:52 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave entity Unknown Node 9 Level (node_id: 9) not ready after 30 seconds, continuing anyway

Burningstone, seems I did miss of the first line that shows homeassistant: full file below.

homeassistant:
  name: Home
  latitude: 52.3xxx
  longitude: -0.2xxx
  unit_system: metric
  time_zone: Europe/London
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
#   base_url: example.duckdns.org:8123

# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
#ircontrol: !include ircontrol.yaml

zwave:
  usb_path: /dev/ttyACM0

hive:
  username: xxxxxxx
  password: xxxxxxx

#emulated_hue:
#  listen_port: 80
#  off_maps_to_on_domains: 
#    - scripts
#    - scenes
#  expose_by_default: true
#  exposed_domains:
#    - light
#    - switches
#    - scripts

remote:
  - platform: harmony
    name: Bedroom
    host: 192.168.1.xxx
  - platform: harmony
    name: Living Room
    host: 192.168.1.xxx

Worst case, I could roll back to my last snapshot and redo the configrations I have done since then(was probably more ‘learning time’ than actual configuration). BUT, I would like to know what I have done wrong so I dont make the same mistake again.

Thanks for taking time out to assist me(tell me what I am doing!) to try and rectify this.

looks like the sqlite database that records entity states and history might have an issue. If you don’t care about historical data right prior to right now (graphs, sensor states, etc), shutdown home assistant, delete the file with “v2” in the name in the same folder as your config file and the log file (that’s the database the error is complaining about), and restart home assistant and try again.

Hi Squirtbrnr
Thanks for the advice. I will have a go tomorrow and come back here to advise how I get on. I am not bothered about data prior to now, so a nice solution. Just so I understand, the file has become corrupt? Is it likely something I have done? Really not sure how I would have done that, could it have been a node red contrib?
Thanks again

Did you restore a snapshot ? Restoring a snapshot often results in database corruption.

I did. First I took a snapshot of where i was when i got the error notification, then did a restore of the last snapshot I had. I did this to see if the errors persisted, which they didnt. Did go back to the most recent one with the errors as I do want to understand what went wrong. To note, I did get all the error logs before I restored the snapshot. Is this a common issue then? Just curious, if a snapshot can corrupt the database, then why do we have them? Is this just a ‘sometimes’ kind of thing?(hope that makes sense)

Just to add, I hadn’t restored a snapshot before I got the original error notification I posted, this seemed to be for no reason( although I get I must have done something to make this happen, just dont know what, hence asking for help)

If you restore the snapshot from HA, HA is still running. So you are restoring the database, while the same time HA is writing to the same database. Hence the corruption.