Blocked during onboarding on a new HAOS install in VM

Hi all,

I’ve successfully set up a VM with libvirt and qemu on my homelab server with the latest HAOS 11.2 image.

However, I can’t complete the onboarding process: after selecting the home address, the next screen asks for country with a error message on top: “Invalid time zone passed in.”

And at this point, clicking the next button does nothing.

I also tried to access the serial console of the VM and can login with root without a password.

# ls /etc/localtime -l
lrwxrwxrwx    1 root     root            29 Dec  4 15:31 /etc/localtime -> ../usr/share/zoneinf│ haos_generic-x86-64-11.2.img  
# ha info
arch: amd64
channel: stable
docker: 24.0.7
- reboot
- shutdown
- services
- network
- hostname
- timedate
- os_agent
- haos
- resolved
- journal
- disk
- mount
hassos: "11.2"
homeassistant: 2023.12.3
hostname: homeassistant
logging: info
machine: generic-x86-64
operating_system: Home Assistant OS 11.2
state: running
supervisor: 2023.12.0
supported: true
- amd64
- i386
timezone: America/Los_Angeles

Please let me know how to debug further, thanks!

Found the reason.

The time zone is read in the frontend from the browser and sent to the server.

“Etc/Unknown” says that the browser can’t get the correct time zone for some reason.

It turns out that I changed my system time zone after start my browser (was trying to fix an inaccurate ip-based time zone update service).

The issue is resolved after restarting the browser.