Closed freeman59 closed 1 month ago
Hi @freeman59 If I understand your post correct, all issues starts when installing/updating some custom components via HACS?
Hello, I have the same configuration HA on a VM on a synology NAS. I use a conbee 2 connected to a USB hub. The issue is not when I try to install an integration but when I try to install updates of home assistant code and home assistant operating system. Right now I am not even trying to install the 2024.8.3 ot the 13.1 because I know that HA will crash. Best case scenario HA will stop recognizing my conbee2 and all my zigbee devices will be down. It you could help that would be great because I have the issue for a couple of months now and I dont know why.
Hi @mib1185
Well not only. as my HA was not reponding, I tryied so much configuration with different HAOS and different HA Save. All time, HA works but when I try to update some integration, from HA or HACS, after rebooting, HA stuck and not responding anymore. I can reboot the VM, HA works for minute and crash few minutes after
I tried from old save from 2 days and 10 or 30 days ago, I tried differents thing like updating HACS to version 2.0.0 before 2024.8.3, tried 2024.8.3 update before updating others integration (from HA or HACS), but whatever I do, it can freeze on the next reboot, sometime works but freeze on the next one ... I cannot figure from where is the problem
You can't update single integrations in HA, but only HA core at all (eq. 2024.8.3) or add-ons or the HA-OS (eq. 13.1).
As first step, please restart HA in safe mode after you've restored a backup and check if the crash still occur.
Further, check and provide the /config
folder for a ....log.1
file (this is the log file from last boot) after a crash - you'll also maybe find a ...log.fail
which might contain details about the last HA crash.
You can't update single integrations in HA, but only HA core at all (eq. 2024.8.3) or add-ons or the HA-OS (eq. 13.1).
As first step, please restart HA in safe mode after you've restored a backup and check if the crash still occur.
Further, check and provide the
/config
folder for a....log.1
file (this is the log file from last boot) after a crash - you'll also maybe find a...log.fail
which might contain details about the last HA crash.
Hi, thanks for your help. I restarted my original HA, I managed to get it restarted on Safe Mode so I have downloaded the log.fault (renamed in CSV to upload here)
Can you see something?
Actually it works in safe mode so, I suppose the problem came from an integration like you said
Thanks
I'm not sure if there are old entries in the .log.fault
file 🤔 would be good to delete it first and fetch a new one, after a crash occur. Further did you also find a .log.1
file? If yes, please provide it (or at least the last ~100 lines).
Actually it works in safe mode so, I suppose the problem came from an integration like you said
This would let me assume, that some of your custom integrations causes the crashes. To ensure, please let your HA run for a while in safe mode (according your initial post, I think an hour should be sufficient to proof, that a custom integration is the root cause)
thanks @mib1185
I managed to reboot as normal after deleting files as asked, launch normal until it freeze, reboot nas, reload HA in safe mode, downloaded file and here we go :
home-assistant.log.fault.csv home-assistant.log.1.csv
Hope you'll find something interesting for my pain
based on this logs (many errors related to different custom components, also the log.fault
shows some custom components involved), I would suggest to disable all custom integrations, than re-enable one-by-one to figure out, which one causes the crash. Further since you said "Actually it works in safe mode[...]" it is most likely caused by a custom component.
@mib1185 What is the best way to restart HA without any components? And do you mean HA integrations (= plugins like Philips Hue, kind of things) including HACS integrations, right?
Do I need first to disable every components from the safe mode then restart and activate them 1 by 1 with a restart for each ?
thanks !
Just restart in safe mode, than disable all "not loaded" integrations under "settings -> devices and services" and if applicable comment all custom component configurations in your configuration.yaml
.
For any further support on this, you should try our Community Forum or join our Discord chat server.
We use GitHub for tracking issues with Home Assistant Core itself, not for providing support, especial not for custom components, which are not maintained by the HA project.
Thanks 👍
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant 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.
The problem
Hi there, I’m facing a big problem with HA since 2 days. My VM on Synology doesn’t respond at all so I had no choice to reinstall HA with a save from 25/08 or 24/08 either.
I thought first that the problem came from HACS 2.0.0 because I managed to restart this VM once and I could see that my dashboard was exploded because HACS no longer seems to manage themes and custom maps.
I think I’ve reinstalled HA more than 20 time yesterday using HAOS 13.1, 13.0 or 12.4 and managing 3 saves with no luck.
My HA start well (but I need to wait more than usual. It works but each time I try to update some integrations, I got lot of problems … I start reloading HA then I have a connexion lost
I've made some test : each time I reinstall the HAOS and put my save, I have lot of update to do, I started to update 2024.8.3 then update some integration, restart, after all, I managed to update some HACS integration but not installing HACS 2.0.0 then restart ... HA start loading and few minutes after, lost connexion. I can see the VM (from VM Manager on Synology) that the CPU go to 1% and nothing work. I can restart it but all the time, HA lost connexion after few minutes and I'm stuck.
I talked about my problem to the Home Assistant - groupe francophone FR on facebook (topic in French : https://www.facebook.com/groups/homeassistantgroupefrance/posts/1519094482314122/?comment_id=1519425035614400&reply_comment_id=1519431588947078¬if_id=1724746472097952¬if_t=group_comment_mention)
and someone have the same problem : each time we manage to update, HA freeze. She can manage to reboot the NAS and HA can restart ... but that's a new problem, cause it's only since 2024.8.2 or 2024.8.3 !
Hope you can help
regards
What version of Home Assistant Core has the issue?
2024.8.2 and 2024.8.3
What was the last working version of Home Assistant Core?
2024.8.1
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Home Assistant himself
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response