Hey guys,
I recently opened another thread because my HomeAssistant VM broke down with no apparent cause here.
However after trying to resolve this and to update to HomeAssistant Core 2025.02.05 I cannot reach my instance at all because the core is not starting.
I can connect to the VM via ssh and these are the logs I can see for the core. So it looks like some python package is missing?
How can that happen and how can I solve that without the need to create a new VM again?
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun home-assistant (no readiness notification)
s6-rc: info: service legacy-services successfully started
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/__main__.py", line 12, in <module>
from .backup_restore import restore_backup
File "/usr/src/homeassistant/homeassistant/backup_restore.py", line 6, in <module>
from dataclasses import dataclass
File "/usr/local/lib/python3.13/dataclasses.py", line 5, in <module>
import inspect
File "/usr/local/lib/python3.13/inspect.py", line 146, in <module>
import dis
File "/usr/local/lib/python3.13/dis.py", line 8, in <module>
from opcode import *
File "/usr/local/lib/python3.13/opcode.py", line 12, in <module>
import _opcode
ImportError: Error loading shared library /usr/local/lib/python3.13/lib-dynload/_opcode.cpython-313-x86_64-linux-musl.so: Exec format error
[10:11:55] INFO: Home Assistant Core finish process exit code 1
[10:11:55] INFO: Home Assistant Core service shutdown
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
Best wishes!