So it feels like every other month my home assistant device goes down out of the blue. Last time it was that my insteon hub IP address changed which caused the web portal not to start up and once I removed it from the config/pointed it to the correct IP, it started back up. This time I have almost my entire config commented out and its still not starting. I’ve renamed my core.config_entries to core.config_entries.backup seeing on the form that sometimes helps but nothing works.
The frustrating part about all of this is that I start working on automations just to have to start over again and I can’t get any traction. I’ve started backing up my configurations because I just assume this is going to happen randomly again.
The only clue that I have this time is I see an error on an iCloud auth where it fails trying to log in but moving the core.config_entries should have fixed it. Anyone else having this issue/could maybe point me in the right direction?
I can ssh into it just fine, I’m running the 32-bit version on a Raspberry Pi 3
Kernel: 4.19.127-v7
Hassio: HassOS 4.13
HA didn’t go down “out of the blue” .
There was a cause and an effect.
Home Assistant is not managing DHCP leases for your insteon hub. This could have been easily prevented by assigning a static IP address on your hub or providing a reservation on your router (or DHCP server).
You should be backing up configurations regardless. Have you never deleted a file accidentally, or lost a hard drive to a mechanical error?
You should post logs and configurations excerpts from your configuration.yaml, as that might help in determining what is going wrong.
I get that you may be frustrated, but that is what you signed up for with HA; a community driven, OSS, which tries the best to do a hundred things well.
You can get a full refund if you’re dissatisfied with the software
Haha Thank you for the refund offer but you’re right, this is what I signed up for.
To clarify what I mean by “out of the blue” is that one day with out changes it just stops working, no update or altering the system. I did change the insteon hub to a static IP after that happened which fixed that issue.
Give me a bit and I’ll go grab logs and stuff. I know that HA is community driven and I apologize that I came off a little harsh, just was a little frustrated but I’m willing to work through it and I’m grateful for the hard work put into everything.
2020-09-09 22:57:21 WARNING (MainThread) [homeassistant.setup] Setup of recorder is taking over 10 seconds.
ha supervisor logs:
20-09-09 22:54:43 INFO (MainThread) [supervisor.homeassistant.secrets] Load Home Assistant secrets: 1
20-09-09 22:54:44 INFO (SyncWorker_1) [supervisor.docker.interface] Attach to homeassistant/raspberrypi3-homeassistant with version 0.114.4
20-09-09 22:54:44 INFO (MainThread) [supervisor.hassos] Detect HassOS 4.13 / BootSlot A
20-09-09 22:54:45 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/git/a0d7b954 repository
20-09-09 22:54:45 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/core repository
20-09-09 22:54:45 INFO (MainThread) [supervisor.store] Load add-ons from store: 66 all - 66 new - 0 remove
20-09-09 22:54:45 INFO (MainThread) [supervisor.addons] Found 7 installed add-ons
20-09-09 22:54:45 INFO (SyncWorker_3) [supervisor.docker.interface] Attach to homeassistant/armv7-addon-configurator with version 5.0.0
20-09-09 22:54:45 INFO (SyncWorker_2) [supervisor.docker.interface] Attach to hassioaddons/node-red-armv7 with version 7.1.1
20-09-09 22:54:45 INFO (SyncWorker_5) [supervisor.docker.interface] Attach to hassioaddons/portainer-armv7 with version 1.2.2
20-09-09 22:54:45 INFO (SyncWorker_4) [supervisor.docker.interface] Attach to homeassistant/armv7-addon-ssh with version 8.7.0
20-09-09 22:54:45 INFO (SyncWorker_6) [supervisor.docker.interface] Attach to hassioaddons/log-viewer-armv7 with version 0.9.0
20-09-09 22:54:45 INFO (SyncWorker_0) [supervisor.docker.interface] Attach to homeassistant/armv7-addon-mariadb with version 2.2.1
20-09-09 22:54:45 INFO (SyncWorker_1) [supervisor.docker.interface] Attach to homeassistant/armv7-addon-mosquitto with version 5.1
20-09-09 22:54:46 INFO (MainThread) [supervisor.snapshots] Found 0 snapshot files
20-09-09 22:54:46 INFO (MainThread) [supervisor.discovery] Load 1 messages
20-09-09 22:54:46 INFO (MainThread) [supervisor.ingress] Load 0 ingress session
20-09-09 22:54:46 INFO (MainThread) [main] Run Supervisor
20-09-09 22:54:46 INFO (MainThread) [supervisor.api] Start API on 172.30.32.2
20-09-09 22:54:46 INFO (MainThread) [supervisor.hassos] Rauc: A - marked slot kernel.0 as good
20-09-09 22:54:46 INFO (MainThread) [supervisor.addons] Phase ‘AddonStartup.INITIALIZE’ start 0 add-ons
20-09-09 22:54:46 INFO (MainThread) [supervisor.addons] Phase ‘AddonStartup.SYSTEM’ start 2 add-ons
20-09-09 22:54:52 INFO (SyncWorker_3) [supervisor.docker.addon] Start Docker add-on homeassistant/armv7-addon-mosquitto with version 5.1
20-09-09 22:54:55 INFO (SyncWorker_2) [supervisor.docker.addon] Start Docker add-on homeassistant/armv7-addon-mariadb with version 2.2.1
20-09-09 22:54:57 INFO (MainThread) [supervisor.services.modules.mqtt] Set core_mosquitto as service provider for mqtt
20-09-09 22:55:00 INFO (MainThread) [supervisor.addons] Phase ‘AddonStartup.SERVICES’ start 2 add-ons
20-09-09 22:55:05 INFO (MainThread) [supervisor.services.modules.mysql] Set core_mariadb as service provider for MySQL
20-09-09 22:55:05 INFO (SyncWorker_3) [supervisor.docker.addon] Start Docker add-on homeassistant/armv7-addon-ssh with version 8.7.0
20-09-09 22:55:05 WARNING (SyncWorker_2) [supervisor.docker.addon] Portainer run with disabled protected mode!
20-09-09 22:55:09 INFO (SyncWorker_2) [supervisor.docker.addon] Start Docker add-on hassioaddons/portainer-armv7 with version 1.2.2
20-09-09 22:55:14 INFO (SyncWorker_2) [supervisor.docker.interface] Start homeassistant
20-09-09 22:55:15 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
20-09-09 22:55:46 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
20-09-09 22:55:56 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
20-09-09 22:55:56 INFO (MainThread) [supervisor.addons] Phase ‘AddonStartup.APPLICATION’ start 3 add-ons
20-09-09 22:56:01 INFO (SyncWorker_0) [supervisor.docker.addon] Start Docker add-on hassioaddons/node-red-armv7 with version 7.1.1
20-09-09 22:56:14 INFO (SyncWorker_6) [supervisor.docker.addon] Start Docker add-on homeassistant/armv7-addon-configurator with version 5.0.0
20-09-09 22:56:14 INFO (MainThread) [supervisor.api.security] /dns/info access from a0d7b954_nodered
20-09-09 22:56:22 INFO (MainThread) [supervisor.api.security] /core/restart access from core_ssh
20-09-09 22:56:22 INFO (SyncWorker_1) [supervisor.docker.interface] Restart homeassistant/raspberrypi3-homeassistant
20-09-09 22:56:50 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
20-09-09 22:56:51 INFO (SyncWorker_0) [supervisor.docker.addon] Start Docker add-on hassioaddons/log-viewer-armv7 with version 0.9.0
20-09-09 22:56:56 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled
20-09-09 22:56:56 INFO (MainThread) [supervisor.misc.hwmon] Started Supervisor hardware monitor
20-09-09 22:56:56 INFO (MainThread) [supervisor.core] Supervisor is up and running
20-09-09 22:56:56 INFO (MainThread) [supervisor.host.info] Update local host information
20-09-09 22:56:56 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-09-09 22:56:57 INFO (MainThread) [supervisor.host.services] Update service information
20-09-09 22:56:57 INFO (MainThread) [supervisor.host.network] Update local network information
20-09-09 22:56:57 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-09-09 22:57:28 INFO (MainThread) [supervisor.api.security] /dns/info access from a0d7b954_logviewer
20-09-09 22:57:39 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
20-09-09 22:57:57 INFO (MainThread) [supervisor.auth] Auth request from core_mosquitto for Jack
20-09-09 22:57:58 INFO (MainThread) [supervisor.auth] Success login from Jack
20-09-09 22:58:00 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-09-09 22:58:00 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-09-09 22:58:00 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-09-09 22:58:00 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running
20-09-09 22:58:00 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-09-09 22:58:00 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running
20-09-09 23:05:58 INFO (MainThread) [supervisor.api.security] /supervisor/info access from core_ssh
20-09-09 23:06:08 INFO (MainThread) [supervisor.api.security] /core/info access from core_ssh
20-09-09 23:06:24 INFO (MainThread) [supervisor.api.security] /hardware/info access from core_ssh
20-09-09 23:07:03 INFO (MainThread) [supervisor.api.security] /core/logs access from core_ssh
20-09-09 23:13:33 INFO (MainThread) [supervisor.api.security] /core/logs access from core_ssh
20-09-09 23:13:40 INFO (MainThread) [supervisor.api.security] /core/logs access from core_ssh
20-09-09 23:13:45 INFO (MainThread) [supervisor.api.security] /core/logs access from core_ssh
20-09-09 23:13:58 INFO (MainThread) [supervisor.api.security] /supervisor/logs access from core_ssh
20-09-09 23:14:06 INFO (MainThread) [supervisor.api.security] /supervisor/logs access from core_ssh
20-09-09 23:14:10 INFO (MainThread) [supervisor.api.security] /supervisor/logs access from core_ssh
20-09-09 23:14:57 INFO (MainThread) [supervisor.api.security] /core/logs access from core_ssh
20-09-09 23:15:09 INFO (MainThread) [supervisor.api.security] /core/logs access from core_ssh
20-09-09 23:15:11 INFO (MainThread) [supervisor.api.security] /core/logs access from core_ssh
20-09-10 00:37:48 INFO (MainThread) [supervisor.api.security] /core/start access from core_ssh
20-09-10 00:37:48 WARNING (MainThread) [supervisor.homeassistant.core] Home Assistant is already running!
20-09-10 00:38:06 INFO (MainThread) [supervisor.api.security] /core/check access from core_ssh
20-09-10 00:38:06 INFO (SyncWorker_3) [supervisor.docker] Run command ‘python3 -m homeassistant -c /config --script check_config’ on homeassistant/raspberrypi3-homeassistant
20-09-10 00:38:23 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant config is valid
20-09-10 00:42:53 INFO (MainThread) [supervisor.api.security] /supervisor/logs access from core_ssh
ha core logs:
[s6-init] making user provided files available at /var/run/s6/etc…exited 0.
[s6-init] ensuring user provided files have correct perms…exited 0.
[fix-attrs.d] applying ownership & permissions fixes…
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts…
[cont-init.d] udev.sh: executing…
[22:33:38] INFO: Update udev information
[cont-init.d] udev.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[cont-finish.d] executing container finish scripts…
[cont-finish.d] done.
[s6-finish] waiting for services.
s6-svscanctl: fatal: unable to control /var/run/s6/services: supervisor not listening
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc…exited 0.
[s6-init] ensuring user provided files have correct perms…exited 0.
[fix-attrs.d] applying ownership & permissions fixes…
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts…
[cont-init.d] udev.sh: executing…
[22:55:16] INFO: Update udev information
[cont-init.d] udev.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[cont-finish.d] executing container finish scripts…
[cont-finish.d] done.
[s6-finish] waiting for services.
s6-svscanctl: fatal: unable to control /var/run/s6/services: supervisor not listening
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc…exited 0.
[s6-init] ensuring user provided files have correct perms…exited 0.
[fix-attrs.d] applying ownership & permissions fixes…
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts…
[cont-init.d] udev.sh: executing…
[22:56:51] INFO: Update udev information
[cont-init.d] udev.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
2020-09-09 22:57:21 WARNING (MainThread) [homeassistant.setup] Setup of recorder is taking over 10 seconds.
There is “fatal: unable to control /var/run/s6/services: supervisor not listening” in there but I’m not sure if thats part of why its not working.
Normal as of 0.114 (or maybe 0.113). To try to avoid the issues with a corrupt recorder it’s now undergoing a “quick” check on startup. This quick check is anything but quick, so it holds up startup.
Doing reading on this it looks like there was something in an update that went bad but since I’ve got everything backed up I’m going to try rebuilding it again so I’ll be less trouble. Thank you for responding!