Hi,
I have a NUC-like device (Dell Wyse Z90DE7 thin client). I have been trying to get Hass.io up and running on it. I have been flashing the NUC image from the main Hass.io page. Every time it boots, it takes a very long time. It takes 12 to 15 minutes on “Docker Application container Engine” during startup even after the first startup.
Immediately after flashing the device, I can boot up Hass normally once and restore from snapshot. I used it like this and had a very long uptime, and everything was snappy and worked properly (ZHA, my in-development Firmata component, other docker containers, etc.). However, once I either reboot the hardware or just Home Assistant, it fails to successfully start Home Assistant.
This exact HA configuration had been running for months perfectly fine on a Debian VM on another machine, so I am doubtful it is an issue with my configuration.
I thought this may be an issue with the small 16GB MLC SSD in the thin client, but I booted into another OS and did some SMART and basic long/large read/write tests and everything came out fine. The flash is also not particularly slow, so I am unsure why it takes so long to boot each time.
The issue appears to be with the Hass.io backend. Troubleshooting with the hassio command was not helpful because it is making HTTP requests to some other service that I could not quickly find a log for. When I run something like hassio ha restart --log-level trace
after a failure, I see a 400 Bad Request error with the message as “null.”
I tried not using my snapshot and changing some settings/adding entities and restarted and the issue persisted with Hass.io failing to load as a component and the CLI giving bad requests.
I did see some issues in journalctl
related to Docker and of course Home Assistant itself. I have not been able to find the log for the Hass.io backend. I have attached the log and redacted a lot of the details to names of things, mac addresses, etc. (this also makes it easier to read). The errors start with my Firmata component, so I tried again without it and I got basically the same result.
You will see an error related to trying to connect to Hue hubs. There are Hue hubs on my network, but I have set it to ignore in discovery
yet it still insists on connecting (this is some other unrelated issue with Home Assistant).
At this point I have reflashed Hass.io onto my device 3 or 4 times to try things and debug this. If there are any more steps I can take to debug, please let me know! I really want to get to the bottom of this! I really like Hass.io!