I recently installed Home Assistant Operating System using VirtualBox on Windows 10. I was able to log in using “root”, and afterwards downloaded the Mobile App for my iPhone where I created a username and added my TP-Link HS110 Smart Plug.
I wanted to download the File Editor so I could try changing the configuration file. However, when I went into “Supervisor-> Add-on’s -> File Editor -> Install”, it came up with an error regarding the supervisor.
I then decided to restart HA through the browser “xxx:8123” and managed to log in fine. Lastly, I rebooted my Virtual Machine and now I get the following error:
I have tried re-creating a new VM but I have the same result. I also haven’t been able to find answers online or in the forums yet that I could understand for my application.
So… yesterday it randomly started working again when I commenced my work day, and I didn’t touch it for the whole day.
Today, this error came up again and while experimenting I simply typed in “exit” in the console, and then logged in again as “root”. It launched Home Assistant again fine.
I find it strangely unstable that it does this, but hopefully this is a reliable interim solution.
These commands fixed the boot issue, thanks @acognard
systemctl daemon-reload
systemctl restart systemd-timesyncd.service
systemctl status systemd-timesyncd.service
If anyone cares to replicate, I ran into this on a fresh proxmox/VM install of hassos_ova-5.13.qcow2. First login to HA for setup was no problem. I added two USB devices to the VM and rebooted and ran into the issue.
The HA-cli is a container. When you reboot the host, everything needs to start up again. When you login as root immediately after a reboot the ha cli is not running yet. You then “exited” and logged in again once the HA cli was running.
There is no reason to login here anyway, as this does not start Home Assistant.