operating-system: Part of HA unavailable once a week after upgrading to 7.1

Describe the issue you are experiencing

I just had my second crash since upgrading to 7.1. Was previously running 5.2 for about a year (which ran great) since I was having the same issue as #1119. I am running off an SD Card, but I do have a USB device connected (Wyze Sense bridge). I enabled the Memory monitor after the first crash. Free memory stayed around 3,347 megs when everything was working. After the crash it increased to about 3,390 megs.

I can still access a few of the menus from the browser like the Dashboards, Maps and Developer Tools. Under Configurations, I can access everything under Settings except for Info. I lose access to all my MQTT devices, but can still control my ZHA devices (Sonoff Zigbee bridge running Tasmota). I also lose access to SSH and the observer.

Here are the only logs that show up under Configuration > Settings > Logs…

Failed to to call /supervisor/available_updates - 8:22:31 PM – (ERROR) Home Assistant Supervisor - message first occurred at 8:18:10 PM and shows up 4 times Client error on /core/info request Cannot connect to host 172.30.32.2:80 ssl:default [Connect call failed (‘172.30.32.2’, 80)] 8:22:31 PM – (ERROR) Home Assistant Supervisor - message first occurred at 8:06:48 PM and shows up 28 times Error handling request 8:22:22 PM – (ERROR) components/http/static.py - message first occurred at 8:18:13 PM and shows up 8 times Client error on api app/entrypoint.js request Cannot connect to host 172.30.32.2:80 ssl:default [Connect call failed (‘172.30.32.2’, 80)] 8:22:21 PM – (ERROR) Home Assistant Supervisor - message first occurred at 8:18:13 PM and shows up 2 times Can’t read Supervisor data: 8:21:58 PM – (WARNING) Home Assistant Supervisor - message first occurred at 8:06:48 PM and shows up 4 times Error doing job: Task exception was never retrieved 8:21:23 PM – (ERROR) helpers/storage.py - message first occurred at 8:11:23 PM and shows up 4 times Unhandled exception 8:18:39 PM – (ERROR) /usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py - message first occurred at 8:18:38 PM and shows up 10 times Error fetching openweathermap data: API call timeouted 8:07:52 PM – (ERROR) OpenWeatherMap - message first occurred at January 13, 2022, 12:00:18 AM and shows up 3 times Disconnected from MQTT server core-mosquitto:1883 (16) 8:06:10 PM – (WARNING) MQTT - message first occurred at 8:06:10 PM and shows up 2 times

What operating system image do you use?

rpi4 (Raspberry Pi 4/400 32-bit OS)

What version of Home Assistant Operating System is installed?

7.1

Did you upgrade the Operating System.

Yes

Steps to reproduce the issue

  1. Allow HA to run for about a week and eventually it crashes

Anything in the Supervisor logs that might be useful for us?

Unable to access once it's crashed

Anything in the Host logs that might be useful for us?

Unable to access once it's crashed

System Health information

System Health

version core-2021.12.9
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.9.7
os_name Linux
os_version 5.10.63-v7l
arch armv7l
timezone America/New_York
Home Assistant Supervisor
host_os Home Assistant OS 7.1
update_channel stable
supervisor_version supervisor-2021.12.2
docker_version 20.10.9
disk_total 56.6 GB
disk_used 5.6 GB
healthy true
supported true
board rpi4
supervisor_api ok
version_api ok
installed_addons Terminal & SSH (9.3.0), Glances (0.14.1), Mosquitto broker (6.0.1), ESPHome (2021.12.3), TasmoAdmin (0.16.0), TasmoBackup (1.04.26)
Lovelace
dashboards 2
resources 1
views 6
mode storage

Additional information

Raspberry Pi 4 Model B Rev 1.2

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (6 by maintainers)

Most upvoted comments

Wiped/Reimaged the SD card Friday (Feb. 11th) and it just crashed again. Also switched to 64 bit since it’s now the recommended version. Was 32-bit when I originally installed it.

Weird that it keeps happening on Sunday nights around this time. 7-8 PM.

SSH still refuses the connection. I was able to access the “Info” section this time (See below - supervisor_api | failed to load: unreachable). In the past it would always error out/fail to load the page.

I will try a different SD card now

System Health

version core-2022.2.6
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.9.7
os_name Linux
os_version 5.10.92-v8
arch aarch64
timezone America/New_York
Home Assistant Supervisor
host_os Home Assistant OS 7.3
update_channel stable
supervisor_version supervisor-2022.01.1
docker_version 20.10.9
disk_total 56.6 GB
disk_used 3.0 GB
healthy true
supported true
board rpi4-64
supervisor_api failed to load: unreachable
version_api pending
installed_addons ESPHome (2022.1.4), Glances (0.14.2), Mosquitto broker (6.0.1), TasmoAdmin (0.16.0), TasmoBackup (1.04.26), Terminal & SSH (9.3.0)
Lovelace
dashboards 2
resources 1
views 6
mode storage

“docker logs hassio_supervisor” Logs shortly before issue and after the reboot…

22-02-13 16:54:41 INFO (MainThread) [supervisor.resolution.check] System checks complete
22-02-13 16:54:41 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
22-02-13 16:54:41 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-02-13 16:54:41 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
22-02-13 16:54:41 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
22-02-13 16:54:44 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
22-02-13 17:15:12 INFO (MainThread) [supervisor.host.info] Updating local host information
22-02-13 17:15:13 INFO (MainThread) [supervisor.host.services] Updating service information
22-02-13 17:15:13 INFO (MainThread) [supervisor.host.network] Updating local network information
22-02-13 17:15:14 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
22-02-13 17:15:14 INFO (MainThread) [supervisor.host.manager] Host information reload completed
22-02-13 17:21:23 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
22-02-13 17:51:23 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
22-02-13 17:54:41 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
22-02-13 17:54:41 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
22-02-13 17:54:41 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.CORE
22-02-13 17:54:41 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
22-02-13 17:54:41 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.PLUGIN
22-02-13 17:54:41 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.SUPERVISOR
22-02-13 17:54:41 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
22-02-13 17:54:41 INFO (MainThread) [supervisor.resolution.check] System checks complete
22-02-13 17:54:41 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
22-02-13 17:54:41 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-02-13 17:54:41 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
22-02-13 17:54:41 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
22-02-13 17:55:07 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/danmed/TasmoBackupV1 repository
22-02-13 17:55:07 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
22-02-13 17:55:07 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
22-02-13 17:55:07 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/sjthespian/addon-tuyagateway repository
22-02-13 17:55:10 INFO (MainThread) [supervisor.store] Loading add-ons from store: 64 all - 0 new - 0 remove
22-02-13 17:55:10 INFO (MainThread) [supervisor.store] Loading add-ons from store: 64 all - 0 new - 0 remove
22-02-13 18:21:24 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
22-02-13 18:51:25 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
22-02-13 18:54:41 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
22-02-13 18:54:41 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
22-02-13 18:54:41 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.CORE
22-02-13 18:54:41 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
22-02-13 18:54:41 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.PLUGIN
22-02-13 18:54:41 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.SUPERVISOR
22-02-13 18:54:41 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
22-02-13 18:54:41 INFO (MainThread) [supervisor.resolution.check] System checks complete
22-02-13 18:54:41 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
22-02-13 18:54:42 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-02-13 18:54:42 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
22-02-13 18:54:42 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
22-02-13 18:54:44 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
[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...
[00:32:15] INFO: Using udev information from host
[cont-init.d] udev.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[00:32:16] INFO: Starting local supervisor watchdog...
22-02-14 00:32:20 INFO (MainThread) [__main__] Initializing Supervisor setup
22-02-14 00:32:20 INFO (MainThread) [supervisor.bootstrap] Initializing Supervisor Sentry
22-02-13 19:32:20 INFO (MainThread) [supervisor.bootstrap] Seting up coresys for machine: raspberrypi4-64
22-02-13 19:32:20 INFO (SyncWorker_0) [supervisor.docker.supervisor] Attaching to Supervisor homeassistant/aarch64-hassio-supervisor with version 2022.01.1
22-02-13 19:32:20 WARNING (SyncWorker_1) [supervisor.docker.interface] Can't find homeassistant/aarch64-hassio-supervisor for cleanup
22-02-13 19:32:20 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.INITIALIZE
22-02-13 19:32:20 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-02-13 19:32:20 INFO (MainThread) [__main__] Setting up Supervisor
22-02-13 19:32:20 INFO (MainThread) [supervisor.api] Starting API on 172.30.32.2
22-02-13 19:32:20 INFO (MainThread) [supervisor.hardware.monitor] Started Supervisor hardware monitor
22-02-13 19:32:20 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface io.hass.os
22-02-13 19:32:20 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.systemd1
22-02-13 19:32:20 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.login1
22-02-13 19:32:20 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.hostname1
22-02-13 19:32:21 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.timedate1
22-02-13 19:32:21 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.NetworkManager
22-02-13 19:32:21 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface de.pengutronix.rauc
22-02-13 19:32:21 INFO (MainThread) [supervisor.host.info] Updating local host information
22-02-13 19:32:21 INFO (MainThread) [supervisor.host.services] Updating service information
22-02-13 19:32:21 INFO (MainThread) [supervisor.host.network] Updating local network information
22-02-13 19:32:22 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
22-02-13 19:32:22 INFO (MainThread) [supervisor.host.manager] Host information reload completed
22-02-13 19:32:22 INFO (MainThread) [supervisor.host.apparmor] Loading AppArmor Profiles: {'hassio-supervisor'}
22-02-13 19:32:22 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-cli with version 2021.12.0
22-02-13 19:32:22 INFO (MainThread) [supervisor.plugins.cli] Starting CLI plugin
22-02-13 19:32:22 INFO (SyncWorker_0) [supervisor.docker.interface] Cleaning hassio_cli application
22-02-13 19:32:24 INFO (SyncWorker_0) [supervisor.docker.cli] Starting CLI ghcr.io/home-assistant/aarch64-hassio-cli with version 2021.12.0 - 172.30.32.5
22-02-13 19:32:24 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-dns with version 2021.06.0
22-02-13 19:32:24 INFO (MainThread) [supervisor.plugins.dns] Starting CoreDNS plugin
22-02-13 19:32:24 INFO (SyncWorker_1) [supervisor.docker.interface] Cleaning hassio_dns application
22-02-13 19:32:26 INFO (SyncWorker_1) [supervisor.docker.dns] Starting DNS ghcr.io/home-assistant/aarch64-hassio-dns with version 2021.06.0 - 172.30.32.3
22-02-13 19:32:26 INFO (MainThread) [supervisor.plugins.dns] Updated /etc/resolv.conf
22-02-13 19:32:26 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-audio with version 2021.07.0
22-02-13 19:32:26 INFO (MainThread) [supervisor.plugins.audio] Starting Audio plugin
22-02-13 19:32:26 INFO (SyncWorker_0) [supervisor.docker.interface] Cleaning hassio_audio application
22-02-13 19:32:27 INFO (SyncWorker_0) [supervisor.docker.audio] Starting Audio ghcr.io/home-assistant/aarch64-hassio-audio with version 2021.07.0 - 172.30.32.4
22-02-13 19:32:27 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-observer with version 2021.10.0
22-02-13 19:32:28 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-multicast with version 2021.04.0
22-02-13 19:32:28 INFO (MainThread) [supervisor.plugins.multicast] Starting Multicast plugin
22-02-13 19:32:28 INFO (SyncWorker_1) [supervisor.docker.interface] Cleaning hassio_multicast application
22-02-13 19:32:29 INFO (SyncWorker_1) [supervisor.docker.multicast] Starting Multicast ghcr.io/home-assistant/aarch64-hassio-multicast with version 2021.04.0 - Host