Hi,
After updating Home Assistant via Hass.io to the latest version (0.85) I can’t get the home assisstant to run again.
Addons runs as normal. I.e. the samba share, ssh, ESPhome etc.
In the logs the following is presented:
19-01-10 20:44:09 INFO (MainThread) [hassio.api.security] /homeassistant/update access from core_ssh
19-01-10 20:44:09 INFO (MainThread) [hassio.homeassistant] Update Home Assistant to version 0.85.0
19-01-10 20:44:09 INFO (SyncWorker_5) [hassio.docker.interface] Update Docker 0.84.3 with homeassistant/raspberrypi2-homeassistant:0.85.0
19-01-10 20:44:09 INFO (SyncWorker_5) [hassio.docker.interface] Pull image homeassistant/raspberrypi2-homeassistant tag 0.85.0.
19-01-10 20:51:05 INFO (SyncWorker_5) [hassio.docker.interface] Tag image homeassistant/raspberrypi2-homeassistant with version 0.85.0 as latest
19-01-10 20:51:05 INFO (SyncWorker_5) [hassio.docker.interface] Clean homeassistant/raspberrypi2-homeassistant Docker application
19-01-10 20:51:06 INFO (SyncWorker_5) [hassio.docker.interface] Cleanup Docker images: [‘homeassistant/raspberrypi2-homeassistant:0.84.3’]
19-01-10 20:51:45 INFO (MainThread) [hassio.homeassistant] Successful run Home Assistant 0.85.0
19-01-10 20:52:16 INFO (MainThread) [hassio.api.security] /supervisor/logs access from core_ssh
19-01-10 20:53:15 INFO (MainThread) [hassio.api.security] /homeassistant/start access from core_ssh
19-01-10 20:53:19 INFO (SyncWorker_18) [hassio.docker.homeassistant] Start homeassistant homeassistant/raspberrypi2-homeassistant with version 0.85.0
19-01-10 20:53:29 ERROR (MainThread) [hassio.homeassistant] Home Assistant has crashed!
19-01-10 20:53:34 INFO (MainThread) [hassio.api.security] /supervisor/logs access from core_ssh
If I run the home assistant check command the following appear:
Error: Traceback (most recent call last):
File “/usr/local/lib/python3.6/runpy.py”, line 193, in _run_module_as_main
“main”, mod_spec)
File “/usr/local/lib/python3.6/runpy.py”, line 85, in _run_code
exec(code, run_globals)
File “/usr/local/lib/python3.6/site-packages/homeassistant/main.py”, line 10, in
from typing import List, Dict, Any # noqa pylint: disable=unused-import
File “”, line 971, in _find_and_load
File “”, line 955, in _find_and_load_unlocked
File “”, line 665, in _load_unlocked
File “”, line 674, in exec_module
File “”, line 779, in get_code
File “”, line 487, in _compile_bytecode
ValueError: bad marshal data (invalid reference)
I have tried to restart the service, and also to update once more from the ssh addon. With the same results.
Any idea on how to fix this issue?
Update 190111: I tried to downgrade to an earlier version, with the same result. Seems like the file "/usr/local/lib/python3.6/runpy.py and /usr/local/lib/python3.6/site-packages/homeassistant/main.py is corrupted somehow.