Skip to content
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

System Corrupt after updating from 8.4 to HAOS 8.5 #2076

Closed
bschatzow opened this issue Aug 23, 2022 · 11 comments
Closed

System Corrupt after updating from 8.4 to HAOS 8.5 #2076

bschatzow opened this issue Aug 23, 2022 · 11 comments
Labels

Comments

@bschatzow
Copy link

Describe the issue you are experiencing

Lots of errors in the log, system unstable.

What operating system image do you use?

rpi3-64 (Raspberry Pi 3 64-bit OS)

What version of Home Assistant Operating System is installed?

8.5

Did you upgrade the Operating System.

Yes

Steps to reproduce the issue

  1. Run 8.4
  2. Update to 8.5

...

Anything in the Supervisor logs that might be useful for us?

22-08-23 06:05:17 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
    resp = await request_handler(request)
  File "/usr/local/lib/python3.9/site-packages/sentry_sdk/integrations/aiohttp.py", line 121, in sentry_app_handle
    reraise(*_capture_exception(hub))
  File "/usr/local/lib/python3.9/site-packages/sentry_sdk/_compat.py", line 54, in reraise
    raise value
  File "/usr/local/lib/python3.9/site-packages/sentry_sdk/integrations/aiohttp.py", line 111, in sentry_app_handle
    response = await old_handle(self, request)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
  File "/usr/src/supervisor/supervisor/api/middleware/security.py", line 138, in system_validation
    return await handler(request)
  File "/usr/src/supervisor/supervisor/api/middleware/security.py", line 204, in token_validation
    return await handler(request)
  File "/usr/src/supervisor/supervisor/api/utils.py", line 60, in wrap_api
    answer = await method(api, *args, **kwargs)
  File "/usr/src/supervisor/supervisor/api/store.py", line 177, in store_info
    ATTR_ADDONS: [
  File "/usr/src/supervisor/supervisor/api/store.py", line 178, in <listcomp>
    self._generate_addon_information(self.sys_addons.store[addon])
  File "/usr/src/supervisor/supervisor/api/store.py", line 113, in _generate_addon_information
    ATTR_ADVANCED: addon.advanced,
  File "/usr/src/supervisor/supervisor/addons/model.py", line 222, in advanced
    return self.data[ATTR_ADVANCED]
  File "/usr/src/supervisor/supervisor/store/addon.py", line 19, in data
    return self.sys_store.data.addons[self.slug]
KeyError: 'df843657_spotify'
Lots of similar errors to:

2022-08-23 06:10:46.872 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of binary_sensor platform synology_dsm is taking over 10 seconds.

And this:
22-08-23 06:05:58 ERROR (MainThread) [supervisor.homeassistant.api] Error on call https://172.30.32.1:8123/api/config:

Anything in the Host logs that might be useful for us?

N/A

System Health information

Can't get this

Additional information

System is now unstable. Can't get more info.

@bschatzow bschatzow added the bug label Aug 23, 2022
@ronjtaylor
Copy link

ronjtaylor commented Aug 24, 2022

I am running an Intel NUC i3 with 8GB RAM and a WD Green SSD m2.2280. All was running fine on 8.4 but when I updated to the 8.5 (from settings -> updates) it boots but goes into a boot loop when it is trying to load docker. I am looking at it on a console monitor connected to the HDMI port but the display is too fast and it reboots/crashes before I can see it.
How do I fix this?
Thank you

@ocalvo
Copy link
Contributor

ocalvo commented Aug 24, 2022

I am running an Intel NUC i3 with 8GB RAM and a WD Green SSD m2.2280. All was running fine on 8.4 but when I updated to the 8.5 (from settings -> updates) it boots but goes into a boot loop when it is trying to load docker. I am looking at it on a console monitor connected to the HDMI port but the display is too fast and it reboots/crashes before I can see it. How do I fix this? Thank you

If you have a backup, you could try to repave the boot drive (WD Green SSD m2.2280) with version 8.5 and then restore the backup.

@ronjtaylor
Copy link

Yes I backed up HA ( full backup) at Midnight last night with an automation and luckily copied the backup to another device (a USB SSD).
Just to be clear I am assuming that by "repave" you mean download the image and rebuild then load backup?
Could you please clarify so I don't stuff it.
Thank you

@ocalvo
Copy link
Contributor

ocalvo commented Aug 24, 2022

Yes I backed up HA ( full backup) at Midnight last night with an automation and luckily copied the backup to another device (a USB SSD).
Just to be clear I am assuming that by "repave" you mean download the image and rebuild then load backup?
Could you please clarify so I don't stuff it.
Thank you

Yes, by repave I mean download the OS image and flash it to the disk.

@ronjtaylor
Copy link

@ronjtaylor
Copy link

I rolled back to 8.4

@agners
Copy link
Member

agners commented Aug 24, 2022

@ronjtaylor your problem is unlikely related to the original posters issue, as yours is a different platform. FWIW, on my end I successfully upgraded a Gen11 Intel NUC to 8.5. If you continue to have that problem on upgrade, please open a new issue.

The documentation is now referencing the 8.5 image.

@agners
Copy link
Member

agners commented Aug 24, 2022

@bschatzow the issue posted doesn't seem OS related. I am not sure what I should tell, but https://analytics.home-assistant.io/ shows that 16k people updated to OS, and judging from the issues posted in this repository it seems for most to be working 😅

My best guess continues to be power/SSD/memory issues... These type of problems can lead to all kind of follow up issues.

I'd recommend to upgrade to a more capable Raspberry Pi 4 or even Intel based system.

@agners agners added the board/raspberrypi Raspberry Pi Boards label Aug 24, 2022
@ronjtaylor

This comment was marked as off-topic.

@niioannou
Copy link

I have installed version 8.4 on a Raspberry Pi 2 and everything works fine. The problem is that the upgrade to 8.5 keeps failing.
What am I suppose to do ?
Note that I do not like to reinstall the image from scratch.

Thank you

@github-actions
Copy link

github-actions bot commented Dec 2, 2022

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.

@github-actions github-actions bot added the stale label Dec 2, 2022
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants