Skip to content

Watchdog restarts Core while system is being shut down #6511

@sairon

Description

@sairon

Describe the issue you are experiencing

After a reboot request following an OS update, watchdog restarts the Core which is then terminated abruptly when the system reboots. This leads to unclean shutdown of the sqlite database driver in Core, causing a warning in Core on the next startup.

Noticed when checking the logs of #6510 but might be a wider problem as reported in home-assistant/operating-system#4498.

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

Steps to reproduce the issue

  1. Reboot the system.

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

2026-01-30 10:50:09.209 INFO (MainThread) [supervisor.host.control] Initialize host reboot using logind
2026-01-30 10:50:09.211 INFO (MainThread) [supervisor.addons.manager] Phase 'application' stopping 3 add-ons
2026-01-30 10:50:09.216 INFO (MainThread) [supervisor.docker.manager] Stopping addon_core_configurator application
2026-01-30 10:50:12.916 INFO (MainThread) [supervisor.docker.manager] Cleaning addon_core_configurator application
2026-01-30 10:50:12.985 INFO (MainThread) [supervisor.docker.manager] Stopping addon_a0d7b954_wireguard application
2026-01-30 10:50:16.550 INFO (MainThread) [supervisor.docker.manager] Cleaning addon_a0d7b954_wireguard application
2026-01-30 10:50:16.623 INFO (MainThread) [supervisor.docker.manager] Stopping addon_ccab4aaf_frigate application
2026-01-30 10:50:27.360 INFO (MainThread) [supervisor.docker.manager] Cleaning addon_ccab4aaf_frigate application
2026-01-30 10:50:27.446 INFO (MainThread) [supervisor.docker.manager] Stopping homeassistant application
2026-01-30 10:50:37.879 INFO (MainThread) [supervisor.addons.manager] Phase 'services' stopping 3 add-ons
2026-01-30 10:50:37.884 WARNING (MainThread) [supervisor.homeassistant.core] Watchdog found Home Assistant failed, restarting...
2026-01-30 10:50:37.886 INFO (MainThread) [supervisor.docker.manager] Stopping addon_core_matter_server application
2026-01-30 10:50:37.969 INFO (MainThread) [supervisor.docker.manager] Starting homeassistant
2026-01-30 10:50:38.216 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready

System information

System Information

version core-2026.2.0.dev202601260257
installation_type Home Assistant OS
dev true
hassio true
docker true
container_arch aarch64
user root
virtualenv false
python_version 3.13.11
os_name Linux
os_version 6.12.47-haos-raspi
arch aarch64
timezone Europe/Prague
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
HACS Data ok
GitHub API Calls Remaining 5000
Installed Version 2.0.5
Stage running
Available Repositories 2665
Downloaded Repositories 3
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 17.1.dev20260129
update_channel dev
supervisor_version supervisor-2026.01.2.dev2902
agent_version 1.8.1
docker_version 29.1.3
disk_total 114.5 GB
disk_used 42.8 GB
nameservers 192.168.199.1
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization
board rpi5-64
supervisor_api ok
version_api ok
installed_addons Matter Server (8.2.0), Terminal & SSH (9.22.0), File editor (5.8.0), WireGuard (0.13.0), Advanced SSH & Web Terminal (22.0.3), Frigate Beta (HAOS 16) (897e8df), Frigate (0.16.3), Studio Code Server (6.0.1), Studio Code Server (da8ebf4)
Dashboards
dashboards 3
resources 0
views 2
mode storage
Network Configuration
adapters lo (disabled), end0 (enabled, default, auto), docker0 (disabled), hassio (disabled), veth094890b (disabled), veth41b2133 (disabled), veth4e68038 (disabled), veth92f8e11 (disabled), veth5776ac6 (disabled), veth6dbd04c (disabled)
ipv4_addresses lo (127.0.0.1/8), end0 (192.168.199.25/24), docker0 (172.30.232.1/23), hassio (172.30.32.1/23), veth094890b (), veth41b2133 (), veth4e68038 (), veth92f8e11 (), veth5776ac6 (), veth6dbd04c ()
ipv6_addresses lo (::1/128), end0 (fe80::b500:723d:b35e:90fb/64), docker0 (fe80::101d:16ff:fef2:bab7/64), hassio (fe80::e832:ecff:fee7:3ed/64), veth094890b (fe80::f89b:aeff:fea4:2221/64), veth41b2133 (fe80::28e8:64ff:fee9:8c82/64), veth4e68038 (fe80::acce:32ff:fe06:535b/64), veth92f8e11 (fe80::1061:24ff:fe18:407d/64), veth5776ac6 (fe80::382c:81ff:fe89:fc07/64), veth6dbd04c (fe80::a414:93ff:feea:b748/64)
announce_addresses 192.168.199.25, fe80::b500:723d:b35e:90fb
Recorder
oldest_recorder_run 19 January 2026 at 16:02
current_recorder_run 30 January 2026 at 13:27
estimated_db_size 36.38 MiB
database_engine sqlite
database_version 3.49.2

Supervisor diagnostics

No response

Additional information

In Core logs on the next container start:

2026-01-30 13:27:28.708 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions