Skip to content

migrate-storage-driver hangs when have internet access but no DNSΒ #4535

@diablodale

Description

@diablodale

Describe the issue you are experiencing

How to improve migrate-storage-driver success?
Test probe πŸ“‘ for DNS and abort if not available instead of hanging forever when no DNS is available.

What operating system image do you use?

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

What version of Home Assistant Operating System is installed?

17.1

Did the problem occur after upgrading the Operating System?

No

Hardware details

  • RPi 4
  • usb3 SATA adapter to SDD as data disk

Steps to reproduce the issue

Today I made a derp πŸ™ƒ when I attempted the migrate-storage-driver on my HA. I read the notes that it needed backup, internet access, etc. I ran the command, reboot, and waited ~2 hours. The HA was pingable, but nothing else.

The derp was that I use AdGuard as an HA addon app. That or any other DNS server that runs on HA is an easy way for the migration to fail. When the migrate reboots, HA OS gets DHCP from the LAN, which has the IP for the HA computer that usually runs AdGuard. But during this migration it isn't... no DNS available. Today's migration code does not progress or abort. It hangs forever.

I went to my DNS router by IP and saw zero traffic to the HA computer. And then I realized it was DNS. I pulled power from my RPi4 HA. Reconfigured my LAN router to use itself as DNS via DHCP. Plugged in HA RPi4 and immediately many Mbit/sec traffic and in a few minutes HA was up and running.

I suggest some test DNS probes after the initial reboot for migration. And if they fail then abort the migration instead of hanging forever. πŸ‘

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

I saw no logs about it have DNS problems. I saw only the few migration log entries showing success after I reconfig'd DNS.

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

no

System information

System Information

version core-2026.2.1
installation_type Home Assistant OS
dev false
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/Berlin
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
HACS Data ok
GitHub API Calls Remaining 4993
Installed Version 2.0.5
Stage running
Available Repositories 2719
Downloaded Repositories 7
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
update_channel stable
supervisor_version supervisor-2026.02.1
agent_version 1.8.1
docker_version 29.1.3
disk_total 117.3 GB
disk_used 21.6 GB
nameservers fd98:5c74:ff05:0:3e37:12ff:fe60:a29d, 2001:9e8:af0:de00:3e37:12ff:fe60:a29d, fd98:5c74:ff05:0:659b:30ba:89c2:9470, 192.168.2.1
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization
board rpi4-64
supervisor_api ok
version_api ok
installed_addons AdGuard Home (6.1.0), Z-Wave JS (0.29.1), Terminal & SSH (10.0.1), ESPHome Device Builder (2026.1.5), SQLite Web (5.0.0), Home-Assistant-Matter-Hub (3.0.4), Tailscale (dev)
Dashboards
dashboards 4
resources 5
views 3
mode storage
Network Configuration
adapters lo (disabled), end0 (enabled, default, auto), docker0 (disabled), hassio (disabled), veth6e27b7b (disabled), veth4cf587b (disabled), veth74cb7eb (disabled), vethadeeceb (disabled), vethfb5148a (disabled), veth3f6efca (disabled), vethaf645db (disabled), vethc68ca64 (disabled)
ipv4_addresses lo (127.0.0.1/8), end0 (192.168.2.6/24), docker0 (172.30.232.1/23), hassio (172.30.32.1/23), veth6e27b7b (), veth4cf587b (), veth74cb7eb (), vethadeeceb (), vethfb5148a (), veth3f6efca (), vethaf645db (), vethc68ca64 ()
ipv6_addresses lo (::1/128), end0 (2001:9e8:af0:de00:9a7a:e123:dae7:c8e/64, fd98:5c74:ff05:0:659b:30ba:89c2:9470/64, fe80::ead6:a544:37e7:5920/64), docker0 (fe80::9c7d:14ff:fe48:6aa7/64), hassio (fe80::a8f4:7cff:fed0:8023/64), veth6e27b7b (fe80::d091:e6ff:fe42:1697/64), veth4cf587b (fe80::486b:8eff:fe88:29b7/64), veth74cb7eb (fe80::8803:f0ff:fe10:e67e/64), vethadeeceb (fe80::8cf:baff:fecb:7743/64), vethfb5148a (fe80::448c:b9ff:feca:d1c1/64), veth3f6efca (fe80::68c5:e6ff:fed6:38f8/64), vethaf645db (fe80::4429:99ff:fe41:999e/64), vethc68ca64 (fe80::ac41:13ff:feb9:1852/64)
announce_addresses 192.168.2.6, 2001:9e8:af0:de00:9a7a:e123:dae7:c8e, fd98:5c74:ff05:0:659b:30ba:89c2:9470, fe80::ead6:a544:37e7:5920
Recorder
oldest_recorder_run February 7, 2026 at 9:39 PM
current_recorder_run February 13, 2026 at 7:57 PM
estimated_db_size 454.41 MiB
database_engine sqlite
database_version 3.49.2

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-more-infoWaiting for more details from the reporter

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions