HA OS Server crash after version 15 update

Hi All,

After updating my HA OS from version 14.2 to version 15.0, it crashed and does nor start anymore.
There is an error that the CLI isn’t loaded properly, and I’m redirected to an emergency console.
I’ve checked the Home Assistant observer, and it only showed:
Supervisor: Disconnected

Luckily, I saw that the GRUB menu has a “SLOT A”, and a “SLOT B”, boot options, I’ve tried the “SLOT B”, and the server loaded with all my data!
Of course I immediately created a full backup.

I tried rebooting again from SLOT A, hoping that the successful boot from SLOT B fixed the issue, but it didn’t.
I also tried to do an upgrade to version 15 from SLOT B, but after a successful update and reboot, SLOT B is still showing version 14.2, and SLOT A is still broken.

I really don’t want to re-install the whole server (even with a backup),
Is there any way to make SLOT A recover from a working SLOT B?

I appreciate your help with the issue.

Cheers.

UPDATE:
The command “ha os info” shows the following:

boot_slots:

A:
state: inactive
status: bad
version: “15.0”

B:
state: booted
status: good
version: “14.2”

1 Like

It would probably help the devs to post that info on the github issue I opened - Home Assistant goes unreachable following update to OS 15 · Issue #3937 · home-assistant/operating-system · GitHub

Thanks.
I don’t have a github account. could you post a link there to this thread?

I’ll quote your post in the responses on Github

1 Like

Same here on thin client. It never got back online after the upgrade to 15…
Putty reports connection denied…

Same thing happened to me. Using an HP T620 thin client. Dead in the water. Tried a clean install, booting Ubuntu from USB drive. Same results.

Solution:

Managed to solve my problem as follows:

  • Booted to Ubuntu using ext USB drive
  • Fetched HAOS 14.2 from github archive
  • Installed HAOS 14.2
  • Upon reboot, go about init
  • Select restore from backup
  • Select recent backup file (had one on my local desktop)
  • File uploads, but then fails.
  • Reboot.
  • Again select restore from backup
  • This time the contents of the prior backup are available.
  • After reboot everything is back to normal running 14.2

Pi 5 8GB
On first try to upgrade, my Pi got stuck, after 10 minutes i powercycled it and it came back to 14.2
Did a fresh back and retried update again and it worked.

Same problem on two separate installations on a Dell Wyse thin client.
It reverted to v14.2 after I hard started it about 5 times. I wish I knew what I did to tell you how to recover. Anyways - DON’T INSTALL v15!

2 Likes

@benhomey ,
After 3 failed reboots, HA automatically changes the boot slot.
If you tried the command ‘ha os info’, I’m sure it would show one bad slot.

You can implement my solution to clone the working slot (which you are currently using), and repair the bad slot.

This way you’ll have a backup slot, my guess is you currently don’t have one.

I have this, so what now?

➜  ~ ha os info                
board: generic-x86-64
boot: A
boot_slots:
  A:
    state: booted
    status: good
    version: "14.2"
  B:
    state: inactive
    status: bad
    version: "15.0"
data_disk: KINGSTON-SA400S37120G-50026B76826C4469
update_available: true
version: "14.2"
version_latest: "15.0"

This is a big clusterf*ck. I have Home Assistant Blue, so an Odroid N2+ board which does not have grub and no second boot slot.
I had read the howto to restore HAOS 14.2. now retoring my full backup!
So better quality checking because this just sucks

1 Like

I too have HABlue (Odroid N2+), unplugged and plugged back in multiple times, it isn’t restoring to 14.2 (nor booting). Not sure how to restore at this point. Can you post a link how to do this.

1 Like

My update from 14.2 to 15.0 failed as well. Typed reboot in the console, waited 15 minutes, hard powered off and waited an additional 30 minutes. Then powered on and booted into Slot A automatically (still at 14.2). Slot B is now bad. This Github thread suggests a kernel regression with the ‘amdgpu’ driver in the HP T620 thin client. HP T620 stuck after HAOS15 update · Issue #3944 · home-assistant/operating-system · GitHub

You have to reinstall haos in the device. Everything will be wiped so I hope you have a backup somewhere else. Then follow the next howto:

Same Problem here. Pi 5, 8GB. On 2nd try it worked.

I was really hoping for a better answer, and my backups are on Blue device, such a rookie mistake!!! Anyway to get access to the file system to pull back ups? Might be a good time to grab a Yellow.

Uggg…

Guys, I have a Dell Wyse running HS OS, I’ve never had any problems with upgrades, unfortunately this version 15 broke slot A and I’m having to run it through slot B on version 14.2, it’s hard to do the upgrade, but unfortunately this version is not reliable.

Today I only have slot B running version 14.2 and slot A is broken with version 15, at another time I will try to redo the installation from scratch and recover from the backups.

No need to re-install !!!
The issue with the Dell / HP thin clients already been identified, and there is a test patch.
I’m sure that soon there will be a new build that upgrades the 14.2 to 15.x on your Dell Wyse.

I recommend having some patient, and staying on 14.2 for now.
If you want to manually fix the issue, and have 15.0 on your Dell, read my post here

1 Like