Closed Rockman18 closed 4 months ago
There usually are logs in home-assistant.log.1 or log.fault, do you see anything like this?
I've found home-assistant-rollback.log and attached it to my first message but not very usefull home-assistant.log.fault is 113MB... I don't know what is relevant here.
Same problem here!
same problem
Suddenly worked. To me, problem solved.
https://github.com/home-assistant/core/pull/116168 should fix tomlut's issue, but for everyone else who hasn't posted home-assistant.log.fault
, its impossible to tell if that will help. You might have a different problem
116168 should fix tomlut's issue, but for everyone else who hasn't posted
home-assistant.log.fault
, its impossible to tell if that will help. You might have a different problem
I downgrade to 2024.4.4 and now have same problem from new Beta, Fault is Clear nothing strange in log.
Just to add another data point, was getting the crash / rollback with Odroid-N2 (Home Assistant Blue) on Home Assistant OS. After the fix in Supervisor update 2024.04.4
the beta upgrade went through successfully.
Attached log below home-assistant.log.fault.txt
2024.5.0b1 is available that should fix the issue shown in tomlut and SeanPM5 logs
Still rollbacking again and again at each update try. But this time my fault.log stays empty.
If you can't get it to boot up (or it rolls back right away), you can use debugpy:
in configuration.yaml
but its much slower
If that still doesn't work, disable all custom components, and try upgrading
Took me like 50 tries but disabling local-tuya and one more hard reboot fixed it for me. Not bootlooping anymore
Thanks @bdraco
Still rollbacking again and again at each update try. But this time my fault.log stays empty.
Any change in b2?
I made the update just before b2 release. Quiet the same as @Scags104, I had to deactivate all my custom integrations. The update is ok now, I'm on b1. But I have to check all my custom integrations, I have a lot of :
I will try the b2 update later this evening
It seems that my dreame-vaccum integration is the root cause of my issue. It was the last integration I had not reactivated yet. I just tried to activate it again and my home assistant froze instantly.
You might be able to find the bad code in the integration if you use upgrade with it off/removed, than turn on debug mode and restart with
homeassistant:
debug: true
After restarting enable asyncio debug using the profiler service in the profiler integration https://my.home-assistant.io/redirect/config_flow_start/?domain=profiler https://www.home-assistant.io/integrations/profiler/#service-profilerset_asyncio_debug
Than setup the integration again
Watch the logs and report anything to the integration's GitHub
Than turn it back off until it's fixed and you can safely upgrade
https://github.com/Tasshack/dreame-vacuum/releases/tag/v1.0.3
Also there were some recent fixes for crashes in that integration in case it's a simple case of running an old version
https://github.com/Tasshack/dreame-vacuum/releases/tag/v1.0.3
Also there were some recent fixes for crashes in that integration in case it's a simple case of running an old version
I'm already on v1.0.3 but thanks. I will try to debug the integration code.
If you find something, and it's cheap to block the bad operation I'll take a look before beta is over.
xiaomi_miot
has fixed this issue in the latest version v0.7.18.
Since the source has been located, I'm going to close this issue so others don't pile on here given the title is quite generic and could be caused by many different problems, and each case should get its own investigation in a fresh issue.
For anyone reading this issue, if you have a similar problem:
RuntimeError: Non-thread-safe operation
If you can't get the UI to even come up instead add the following to configuration.yaml
and restart:
debugpy:
For 2024.5.x and later Home Assistant debug mode can also be enabled in configuration.yaml
homeassistant:
debug: true
Open a new issue with the results
Just updated today from 2024.4.4 to 2024.5.1. and realized that after doing so ecoflow cloud integration did not work correctly anymore. Especially delta max data did not arrive at the dashboard correctly and automation did not work correctly anymore. Since this is part of a working setup of my solar power equipment, I did no further tests and analysis but looking first of all for a quick way to go back to 20244.4., which fortunately was possible from the terminal window by typing: ha core update --version 2024.4.4 From this everything was ok again! So please have a close look to that newest update!
The problem
I try to update from 2024.4.4 to 2024.5.0b0 but after the update the system and plugins start and i don't know why but restart and rollback to 2024.4.4
I can't find any relevant logs 😞
[EDIT] After 4-5 tries, I'm in a boot loop.
What version of Home Assistant Core has the issue?
2024.5.0b0
What was the last working version of Home Assistant Core?
2024.4.4
What type of installation are you running?
Home Assistant OS
Integration causing the issue
No response
Link to integration documentation on our website
No response
Diagnostics information
home-assistant-rollback.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response