-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Boot Loop Issue #2092
Comments
Those messages are likely caused by a USB device. They should not be fatal. Can you try to disconnect the USB devices one by one to see which one is causing that?
However, even if the NTP is not accessible, this should not lead to a system reboot afterwards. The system reboots automatically if Docker cannot start properly. This can happen if there is data corruption on the data partition. This partition is shared between the two instances (A/B), so that would explain why both options fail. One method to debug it from this point is by pressing e at the GRUB menu and appending the string Since data corruption is likely, your best bet is probably to replace the SSD and start with a new installation. |
@agners Ok the last couple of messages I got on the docker service said I am assuming that my drive is just full to the max and that is why its boot looping? Is that possible? |
I removed an old backup from march and now it is booting again. I am surprised that just running out of space causes the system to constantly boot loop. |
Having no space can be very problematic for some services. The system reboots if Docker cannot start, as the container engine is crucial for the whole operation. It seems that Docker is one of these services. You should have received a warning that there is not much space left well before that from the Supervisor. The new Repairs should show it if I am not mistaken. That said, I agree ideally the system should act more gracefully. Maybe stop installing any add-ons or making backups when the disk is around 90% full. |
Same issue here. Updated OS from 8.4 to 8.5 on an HP t620 Thin Client. SSD is 256Gb and had plenty of free space (it was fresh installed 1 month ago with few sensors).
then it started stopping all the services and rebooted it keeps rebooting forever It was my first attempt with HassOD but the lack of control on the base OS compared to a debian installation I had before is something I don't like |
Hm, so it seems that systemd could not start up Docker successfully. Most likely this is due to corrupted key.json, see also #1706. With 9.0, these type of issues will get detected automatically and the Docker service should be able to recover from it..
Boot looping is definitely not ideal, and 9.0 will boot into a rescue mode if three boot attempts as well as the fallback OS partition fails to boot (see #2096 and #2112). That said, HAOS is designed to be largely stateless and without configuration. If you prefer full control over the OS, Debian is likely the better choice for you. |
I am still running 8.4 and hesitant to try to update 8.5 as it may mean another rebuild and at the moment I have a sick wife and not a lot of time so am just keeping with the status quo. Is there a solution to this issue? Thank you |
These are exceptional cases, in @igloo15 case the culprit was likely lack of space, in your case I am not entirely sure. According to analytics we have 52310 installations on 8.5, almost all of them seem not to run into issues, I am sorry that it happened to you. Despite having not all the information, I think 9.0 will be a lot more resilient thanks to auto fixes in place for various of these issues. However, a full backup (and download it) before an update is always the safest step (like with any computer system). |
With #2097 HAOS will boot even when absolutely no space is available. This will be part of HAOS 9.0. Since that seems to be the culprit of the original report, I am closing this issue. |
Describe the issue you are experiencing
I came home from work and noticed my home assistant was not working. I checked on the machine and rebooted it. Upon rebooting the system began to boot loop.
I hooked up a monitor to the intel nuc machine and viewed the boot logs. It seems that as the Network Manager Scripts Dispatcher starts it begins to get errors.
Unable to read configuration index 0 descriptor/all
Then after a few of those messages it says
Finished Network Manager Service
. Followed after that is a message sayingNetwork Target is Online
thenWaiting Until Kernel Time Synchronized
with a timer counting to 1 minute 30 seconds. When it hits 1 minute 30 seconds a ton of text flashes by and it reboots.There were two slots A & B and I tried both of them but both did the same thing.
What operating system image do you use?
generic-x86-64 (Generic UEFI capable x86-64 systems)
What version of Home Assistant Operating System is installed?
latest
Did you upgrade the Operating System.
No
Steps to reproduce the issue
...
Anything in the Supervisor logs that might be useful for us?
Anything in the Host logs that might be useful for us?
System Health information
No response
Additional information
Intel Nuc machine
Home Assistant 2022.8.6
Two Coral USB devices
One USB Zigbee Controller
One USB Zwave Controller
The text was updated successfully, but these errors were encountered: