-
-
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
Bootloop when updating to latest HA OS 11.4 on Raspberry Pi 4 #3059
Comments
The update from 11.3 to 11.4 shouldn't have any effect on Raspberry Pi - the only change reflected in the OS images is #3043 adding a bunch of firmware files, but that hardly makes a difference. What makes you think the device is in bootloop if you have no access to the output? Are you using the SSD as a data disk or as the main system disk? |
@sairon |
This comment was marked as off-topic.
This comment was marked as off-topic.
I managed to connect the SSD to my PC and download the backup files, 4 days old but it's something... What should I do now? Reflash/reformat the SSD with Homeassistant and then once installed, restore from the backup? Will I get back everything? Like automations, zigbee2mqtt devices etc? I cba to re-pair everything once again |
same for me on a pi4 and pi5... |
You'll get everything back as far back as your most recent full backup and any addon backups done after that. If you can see your config folder on the pc I'd copy that also. That way you can manuy restore scripts and automations if necessary. I'm not qualified enough to tell you if you should reinstall and restore yet. Someone may know of a way to get you going without doing that. |
Alright, thank you. Yeah I've copied everything, including the homeassistant folder with the config, automations scripts etc just in case.. I'll wait few hours and see if anyone knows how to solve this without having to reinstall and restore. |
Here's my homeassistant.log.1 from a failed boot Not sure if it will help because after it didn't boot correctly I was frequently unplugging and plugging my pi back in. edit: |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
In the case of RPi 5 that @EnzoD86 provided the screenshot from, it is most likely broken |
Same here, 11.2 to 11.4 stuck in bootloop or just dont boot anymore. Used my sd clone that ive done last week and it work again, ill do another clone and roll the yerterdays backup on it after work to get everything back. Using rpi4 4gb. |
I redid my SSD and installed 11.4 on top of a fresh 11.3 flash. Everything went fine. I restored my backup but my zwave stuff wasn't working. I rebooted and was stuck in the bootloop again. I then went back to my working sd from last night. I can only assume that the only reason the sd worked last night is because I didn't reboot after the upgrade to 11.4. I ordered a micro hdmi cable so I can be more helpful in the future. |
And Could that be related? |
Probably, can't debug though since I don't have any micro HDMI cable atm |
I just tried to flash a fresh copy of 11.4 to my SSD and boot it with the RBPi4 wihtout any success. Since I don't have micro HDMI cable I can't give any logs. But as soon as I flashed 11.3 to the same SSD and booted the RBPi4 it worked, got access to http://homeassistant.local:8123/ So something is indeed wrong with 11.4. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
The original poster reported this on a Raspberry Pi 4, so let this issue be about Raspberry Pi 4 only. On the Raspberry Pi 5 the update system is different so this is a different issue and handled by #3065. @dyarfaradj what type of USB SSD adapter do you use? Also for other users affected on Raspberry Pi 4: Are you booting from a USB SSD? If so, which model are you using? |
got the issue booting from a micro sd |
I'm using this one ORICO 2,5" type C USB 3.1 (Gen 2 6 Gbps) bought from Amazon. |
Any chance boot issues like this one on pi4 will be fixed in the upcoming 11.5 release? |
@dyarfaradj @akm0012 @C0MTRAYA |
@erkr ive just read the patch note, issue 3059 dosent seems to be mentionned. Once ill get home ill clone my setup on a dummy sd card and ill try to updare, i will let you know |
I hope that the closed issue for PI5 was related: #3065 and solved this one as well 🤞 |
@erkr unfortunatly, it did not fixed the issue for me. for what is worth, heres what i get from the console |
So it's not fixed for RB Pi 4 I guess. I can't be bothered to test again since it was a hassle to restore the backup, all settings and re-pair all of my zigbee devices. I'll wait til I see a PR fixing this specific issue |
@dyarfaradj yeah i have a test card pricesly for testing purpose: if it dont work i can just swap back one of my mains cards and bother to clone the test card later with a working setup for further testing (the number of times I uodated just before going to work only to find something went wrong.. having to wait all day for troubleshooting lol), (that plus two max endurance sd cards cloned weekly, in case of sd corruption..) |
@C0MTRAYA Great idea! I wish I had done this as well. I've always updated to latest HA Core and HA OS and never had any issues til now. So I'll be more careful and take regularly backups. Lets hope this issue gets fixed |
@C0MTRAYA I really appreciate this! Have to think how to test these kind of issues on my production system as well. For now I will stick on 11.1 ;-( |
I made a full backup and took my chances. I'm glad my upgrade from 11.1 to 11.5 succeeded. My setup uses an ugreen usb3.0 to SSB adapter. |
so I've deleted the boot partition and formatted my test card, installed a fresh install on 11.5 and it booted (which wasn't on 11.4), restaured from a full backup... and: |
@C0MTRAYA not much I have done, glad it works for you now! I just upgraded HASOS and no full reboot since the update yet, I now realise that it's a risk as well 😳 |
yeah that was the pb on the first place :/ couldn't boot after shutdown; hope the best for you! if it still dont boot you might try what I did |
Full reboot worked as well 😅 |
On Pi 5. Upgraded from 11.3 to 11.5. Update with a full system reboot went fine. Now I'm gun shy on doing updates quickly. I do regular backups but..... |
Adding a comment here, kinda related... I updated my NUC from HAOS 11.4 to 11.5 last night and also had a hectic boot loop going. Many restarts / power cycling later it's finally stable. It's a shame we don't get Supervisor logs backed up like HA Core ones from the previous boot. The only thing I see just before the last restart in my HA Core log is:
|
There hasn't been any activity on this issue recently. To keep our backlog manageable we have to clean old issues, as many of them have already been resolved with the latest updates. |
Describe the issue you are experiencing
Yesterday when I updated my Raspberry pi 4 8GB with SSD to latest HA OS 11.4 from 11.3 it resulted in a bootloop.
I've tried to restart the Rbpi4 multiple times, I've tried using different USB port for the SSD. I don't have any microHDMI adapter so I can't connect to it.
It's a 256GB SSD and I barely used any space on it, so can't be due to no space left..
What can I do to save the homeassistant configs/files? How can I retrieve a backup from the SSD? Can I read it somehow through my PC?
Is there anything else I can do?
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?
11.4
Did you upgrade the Operating System.
Yes
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 information
Raspberry Pi 4 8GB (SSD)
Additional information
No response
The text was updated successfully, but these errors were encountered: