-
-
Notifications
You must be signed in to change notification settings - Fork 992
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
OS stuck on 12.3 - unable to update OS #3633
Comments
Try to upgrade to 12.4 I stuck on it. |
Same issue with rpi5 stuck on version and not able to update since Home operation system 12.3 |
I'm stuck on 12.4, all subsequent version causes a reboot after about 1 minute |
Already tried, boot slot B reports versione 12.4 but still impossibile to boot from that slot/version :( |
I was experiencing a similar issue and managed to resolve it.
My resolution has been posted here. |
I've been at 11.2 (or 11.5) for a year with similar log output to OP. If I update through the GUI the OS downgrades to 11.2 and running ha os update --version from the CLI won't go beyond 11.5 on a RPi CM4. Most of the advice I've received on reddit and the community forum is to wipe and start from scratch (not optimal). |
I see your solution, but I'm on a Raspberry Pi 4 with HASSIO. If I connect a monitor I don't see anything, the system is designed to be headless, even if I reboot the screen is blank. So I can not select the boot slot manually at start, but only with HA CLI commands. Even trying, I can't restart on boot slot B. As I wrote in the first message: "I tried the command 'ha os boot-slot B' or 'ha os boot-slot other' but after the reboot the active slot is always A with OS 12.3." |
Made progress after nearly breaking my install. Using the below commands I was able to kill the system but once a new image was downloaded (core rebuild?) the system came up under 11.2. I was then able to update to 11.5 via the GUI and after an hour it prompted me to update to 13.2 (the latest stable). I'm now at the same point as others in that I can see 13.2 (or some 12.x rev) in the alternate slot but cannot boot to it (even with keyboard and monitor attached). ha su repair Doing a non-specific 'ha os update' from the CLI gets me to the output below showing 13.2 running but the current version is 11.2 (which is also reflected in the GUI): [core-ssh ~]$ ha os info So I have no idea what version is actually running now. Is there some lock file that contains the actual OS version (thinking cat /proc/version or something)? |
Thank you for the suggestion, but I tried without success... |
Describe the issue you are experiencing
My system is unable to update OS from 12.3, I tried with every update from 12.4 to 13.2. I try to update from command line and also from Lovelace, but the system reboots always on 12.3. There are no errors on the logs. I searched Home Assistant Log and Supervisor log. I looked into journalctl and found anything. My system is RPi 4 32bit, with OS/boot on SD and data on external SSD. I found that with ha os info I have both boot slots in "good" state, slot A is active with version 12.3 and slot B is inactive with 13.2. I tried the command 'ha os boot-slot B' or 'ha os boot-slot other' but after the reboot the active slot is always A with OS 12.3. 'rauc status' is similar to 'ha os info': kernel.0 with bootname A is good and booted, kernel.1 with bootname B is good and inactive.
What operating system image do you use?
rpi4 (Raspberry Pi 4/400 32-bit OS)
What version of Home Assistant Operating System is installed?
12.3
Did the problem occur after upgrading the Operating System?
Yes
Hardware details
RPi 4 32bit, with OS/boot on SD and data on external SSD. UPS and SDR dongle attached via USB, already tried to update without those connected.
Steps to reproduce the issue
a. From Lovelace, go to Settings and update OS
b. from HA CLI -> ha os update OS ha os boot-slot B OR ha os boot-slot other
Anything in the Supervisor logs that might be useful for us?
Anything in the Host logs that might be useful for us?
System information
System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
Sonoff
Additional information
from journactl -u rauc.service -> slot B is marked ad bad but rauc status says its good!
Oct 11 03:09:08 homeassistant rauc[501]: Marked slot kernel.0 as active
Oct 11 03:09:08 homeassistant rauc[501]: rauc mark: activated slot kernel.0
Oct 11 03:09:08 homeassistant rauc[501]: Marked slot kernel.0 as good
Oct 11 03:09:08 homeassistant rauc[501]: rauc mark: marked slot kernel.0 as good
Oct 14 20:16:20 homeassistant rauc[501]: Marked slot kernel.0 as active
Oct 14 20:16:20 homeassistant rauc[501]: rauc mark: activated slot kernel.0
Oct 14 20:16:20 homeassistant rauc[501]: Marked slot kernel.0 as good
Oct 14 20:16:20 homeassistant rauc[501]: rauc mark: marked slot kernel.0 as good
-- Boot 8e8f57110a8d436eae4fef4b555bb1fd --
Oct 15 15:21:15 homeassistant rauc[505]: Marked slot kernel.0 as active
Oct 15 15:21:15 homeassistant rauc[505]: rauc mark: activated slot kernel.0
Oct 15 15:21:15 homeassistant rauc[505]: Marked slot kernel.0 as good
Oct 15 15:21:15 homeassistant rauc[505]: rauc mark: marked slot kernel.0 as good
-- Boot 56f86622923845c2b75a7156ec217478 --
Oct 16 14:54:52 homeassistant rauc[497]: Marked slot kernel.0 as active
Oct 16 14:54:52 homeassistant rauc[497]: rauc mark: activated slot kernel.0
Oct 16 14:54:52 homeassistant rauc[497]: Marked slot kernel.0 as good
Oct 16 14:54:52 homeassistant rauc[497]: rauc mark: marked slot kernel.0 as good
-- Boot b6a93b74211c4e4c9d7cb82c3b78f741 --
Oct 17 07:31:26 homeassistant rauc[502]: Marked slot kernel.0 as active
Oct 17 07:31:26 homeassistant rauc[502]: rauc mark: activated slot kernel.0
Oct 17 07:31:26 homeassistant rauc[502]: Marked slot kernel.0 as good
Oct 17 07:31:26 homeassistant rauc[502]: rauc mark: marked slot kernel.0 as good
Oct 17 08:18:08 homeassistant rauc[502]: Using deprecated 'Install' D-Bus Method (replaced by 'InstallBundle')
Oct 17 08:18:08 homeassistant rauc[502]: Active slot bootname: A
Oct 17 08:18:08 homeassistant rauc[502]: input bundle: /mnt/data/supervisor/tmp/hassos-13.2.raucb
Oct 17 08:18:08 homeassistant rauc[502]: Installation ab446511 started
Oct 17 08:18:08 homeassistant rauc[502]: installing /mnt/data/supervisor/tmp/hassos-13.2.raucb: started
Oct 17 08:18:08 homeassistant rauc[502]: Reading bundle: /mnt/data/supervisor/tmp/hassos-13.2.raucb
Oct 17 08:18:08 homeassistant rauc[502]: installing /mnt/data/supervisor/tmp/hassos-13.2.raucb: Checking and mounting bundle...
Oct 17 08:18:08 homeassistant rauc[502]: Detected CRL but CRL checking is disabled!
Oct 17 08:18:08 homeassistant rauc[502]: Verifying bundle signature...
Oct 17 08:18:08 homeassistant rauc[502]: Verified inline signature by 'O = HassOS, CN = HassOS GitHub-1'
Oct 17 08:18:08 homeassistant rauc[502]: Mounting bundle '/mnt/data/supervisor/tmp/hassos-13.2.raucb' to '/run/rauc/bundle'
Oct 17 08:18:08 homeassistant rauc[502]: Configured loop device '/dev/loop0' for 145563648 bytes
Oct 17 08:18:08 homeassistant rauc[502]: Configured dm-verity device '/dev/dm-0'
Oct 17 08:18:08 homeassistant rauc[502]: Running bundle hook install-check
Oct 17 08:18:08 homeassistant rauc[502]: Checking image type for slot type: raw
Oct 17 08:18:08 homeassistant rauc[502]: Image detected as type: *.img
Oct 17 08:18:08 homeassistant rauc[502]: Checking image type for slot type: raw
Oct 17 08:18:08 homeassistant rauc[502]: Image detected as type: *.img
Oct 17 08:18:08 homeassistant rauc[502]: Marking target slot kernel.1 as non-bootable...
Oct 17 08:18:09 homeassistant rauc[502]: Marked slot kernel.1 as bad
Oct 17 08:18:09 homeassistant rauc[502]: installing /mnt/data/supervisor/tmp/hassos-13.2.raucb: Updating slots...
Oct 17 08:18:09 homeassistant rauc[502]: installing /mnt/data/supervisor/tmp/hassos-13.2.raucb: Checking slot boot.0
Oct 17 08:18:09 homeassistant rauc[502]: Updating slot boot.0
Oct 17 08:18:09 homeassistant rauc[502]: Updating /dev/disk/by-partlabel/hassos-boot with 'install' slot hook
Oct 17 08:18:09 homeassistant rauc[502]: installing /mnt/data/supervisor/tmp/hassos-13.2.raucb: Updating slot boot.0
The text was updated successfully, but these errors were encountered: