Closed dap35 closed 7 years ago
Logbook crashes Ha 0.39.3 even after just one day uptime. Deleted db when I did the update
Mar 04 21:27:51 HomeAssistant hass[9671]: File "/home/hass/.homeassistant/deps/cpuinfo/cpuinfo.py", line 170, in run_and_get_stdout Mar 04 21:27:51 HomeAssistant hass[9671]: p1 = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE) Mar 04 21:27:51 HomeAssistant hass[9671]: File "/usr/lib/python3.4/subprocess.py", line 859, in __init__ Mar 04 21:27:51 HomeAssistant hass[9671]: restore_signals, start_new_session) Mar 04 21:27:51 HomeAssistant hass[9671]: File "/usr/lib/python3.4/subprocess.py", line 1395, in _execute_child Mar 04 21:27:51 HomeAssistant hass[9671]: restore_signals, start_new_session, preexec_fn) Mar 04 21:27:51 HomeAssistant hass[9671]: OSError: [Errno 12] Cannot allocate memory Mar 04 21:30:30 HomeAssistant hass[9671]: 17-03-04 21:30:26 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting Mar 04 21:39:24 HomeAssistant systemd[1]: home-assistant.service: main process exited, code=killed, status=9/KILL Mar 04 21:39:25 HomeAssistant systemd[1]: Unit home-assistant.service entered failed state.
This appears to be a problem with Openzwave and cannot be solved by the HA devs. This has been happening as far back as April 2016 with HA version 0.18.2.
It happens when Zwave is trying to get the battery levels from some devices, in my case it is one of my Kwikset locks. The HA dev turbokongen closed that issue back in July 2016 as he stated the battery level will eventually be discovered by Zwave, and thus HA later on in the boot process or shortly there after.
I am having the same error and my Front Door lock battery is not registering, so I will post an update back here whether it eventually loads or not.
Here is a link to the original issue: https://github.com/home-assistant/home-assistant/issues/1872
UPDATE
Ok, my Kwikset lock battery updated within a few minutes after bootup completed, and I have not seen any additional errors or any problems with any of my Zwave devices functioning correctly.
A "hack" I use to get around such issues is fire up Open Zwave Control Panel, let it discover all devices ("Ready" State) and then copy the zwcfg.xml file to home-assistant's configuration directory.
I am no longer seeing this in either 0.40 or 0.40.1
Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (
hass --version
): 0.39.3Python release (
python3 --version
): 3.4.2Component/platform: homeassistant.components.sensor
Description of problem: getting zwave errors in log after upgrade then restart/reboot. Errors did not occur before upgrade.
Expected:
Problem-relevant
configuration.yaml
entries and steps to reproduce:Traceback (if applicable):
Additional info: