Closed GR0DZ1LLA closed 8 months ago
After the update, when checking the screen of our system, do see if Home Assistant attempts to boot from "Slot B"? A boot menu should appear briefly with Slot B selected.
Ok I see it. It tries to boot from Slot A. Should I manually try Slot B?
FYI, I run HAOS on an APU2 that is head-less. Over serial, I can see this boot menu. It says Booting 'Slot A (OK=0 TRY=0)'
I tried the upgrade again while watching watch the boot process and it only selects Slot A.
Alright, I took a backup and then attempted the update again. When it went to reboot automatically, I interrupted the boot and manually selected Slot B and it worked. I now have 10.5 running. However, after a forced reboot, it booted Slot A automatically and I'm back to 10.4.
@agners any further help on this considering what i was able to do?
Ok I see it. It tries to boot from Slot A. Should I manually try Slot B?
FYI, I run HAOS on an APU2 that is head-less. Over serial, I can see this boot menu. It says
Booting 'Slot A (OK=0 TRY=0)'
Hm I see, do you have a serial console in Home Assistant? Probably not, afaik the serial console for the generic-x86-64 image is not enabled :cry:
You can setup an SSH access via port 22222, see SSH access to the host.
Using the access, can you check this file?
# cat /mnt/boot/EFI/BOOT/grubenv
➜ ~ cat /mnt/boot/EFI/BOOT/grubenv cat: can't open '/mnt/boot/EFI/BOOT/grubenv': No such file or directory ➜ ~
@agners I did this a while ago and am just remembering that I had to do this to get it to work on the APU4:
Connect to the APU Serial to the box, power on
The APU will not see this on first boot. Need to enter into the settings, and exit out. Upon the next reboot the drive will appear.
mount /dev/sda1 /mnt
grub-install --boot-directory=/mnt/boot --force /dev/sda
nano /mnt/boot/grub/grub.cfg
set root=(hd0,gpt1)
configfile (hd0,gpt1)/efi/boot/grub.cfg
umount /mnt
Is this why I can't get an upgrade to work effectively?
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. Please make sure to update to the latest Home Assistant OS version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Describe the issue you are experiencing
On HAOS 10.4, Settings suggest upgrade to 10.5. I do it, it reboots itself, still asks for upgrade to 10.5. Tried many times. Have gotten some help on Discord getting logs.
[32m23-09-21 10:41:45 INFO (MainThread) [supervisor.os.manager] Fetch OTA update from https://github.com/home-assistant/operating-system/releases/download/10.5/haos_generic-x86-64-10.5.raucb[0m [32m23-09-21 10:41:50 INFO (MainThread) [supervisor.os.manager] Completed download of OTA update file /data/tmp/hassos-10.5.raucb[0m [32m23-09-21 10:42:07 INFO (MainThread) [supervisor.os.manager] Install of Home Assistant Operating System 10.5 success[0m
Then after reboot: [32m23-09-21 10:44:12 INFO (MainThread) [supervisor.os.manager] Detect Home Assistant Operating System 10.4 / BootSlot A[0m
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?
10.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
System Information
Home Assistant Cloud
logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okHome Assistant Supervisor
host_os | Home Assistant OS 10.4 -- | -- update_channel | stable supervisor_version | supervisor-2023.09.2 agent_version | 1.5.1 docker_version | 23.0.6 disk_total | 54.3 GB disk_used | 5.0 GB healthy | true supported | true board | generic-x86-64 supervisor_api | ok version_api | ok installed_addons | Z-Wave JS (0.1.90), File editor (5.6.0), Advanced SSH & Web Terminal (15.0.8)Dashboards
dashboards | 1 -- | -- resources | 0 mode | auto-genRecorder
oldest_recorder_run | September 12, 2023 at 11:43 PM -- | -- current_recorder_run | September 21, 2023 at 10:44 AM estimated_db_size | 16.86 MiB database_engine | sqlite database_version | 3.41.2Additional information
No response