Hi everyone,
I use haos in Virtualbox. Months ago (in Jun) i had issues updating core to newer version than 2022.6.7 (core won’t start)
By chance using HA in virtualbox allow me to take snapshots preventing this kind of painful catastrophic failures.
Since Jun i kept OS up to date (9.2), but i want to update the core still stuck in 2022.6.7.
So once again, i tried to update the core.
And once again i got the same errors when the core try to start (full log below).
First of all Error loading shared library libopenjp2.so.7
. I first try to manually install libopenjp2, Haaahahahahha ! I realized that even with ssh i can’t install anything in the OS (or i d’ont know how to do it).
If someone can give me some help.
[core-ssh ~]$ ha core info
arch: amd64
audio_input: null
audio_output: null
boot: true
image: ghcr.io/home-assistant/qemux86-64-homeassistant
ip_address: XXX.YYY.ZZZ.WWW
machine: qemux86-64
port: XXXX
ssl: false
update_available: false
version: 2022.10.4
version_latest: 2022.10.4
watchdog: true
[core-ssh ~]$ ha os info
board: ova
boot: A
data_disk: /dev/sda8
update_available: false
version: "9.2"
version_latest: "9.2"
[core-ssh ~]$ ha core logs
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
2022-10-20 21:44:59.666 ERROR (MainThread) [homeassistant.setup] Setup failed for image: Unable to import component: Error loading shared library libopenjp2.so.7: No such file or directory (needed by /config/deps/lib/python3.10/site-packages/PIL/_imaging.cpython-310-x86_64-linux-gnu.so)
2022-10-20 21:44:59.695 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of person. Setup failed for dependencies: image
2022-10-20 21:44:59.697 ERROR (MainThread) [homeassistant.setup] Setup failed for person: (DependencyError(...), 'Could not setup dependencies: image')
2022-10-20 21:45:01.580 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of onboarding. Setup failed for dependencies: person
2022-10-20 21:45:01.583 ERROR (MainThread) [homeassistant.setup] Setup failed for onboarding: (DependencyError(...), 'Could not setup dependencies: person')
2022-10-20 21:45:01.590 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of frontend. Setup failed for dependencies: onboarding
2022-10-20 21:45:01.593 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: (DependencyError(...), 'Could not setup dependencies: onboarding')
2022-10-20 21:45:02.426 ERROR (MainThread) [homeassistant.setup] Error during setup of component zeroconf
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 235, in _async_setup_component
result = await task
File "/usr/src/homeassistant/homeassistant/components/zeroconf/__init__.py", line 189, in async_setup
aio_zc = await _async_get_instance(hass, **zc_args)
File "/usr/src/homeassistant/homeassistant/components/zeroconf/__init__.py", line 130, in _async_get_instance
zeroconf = HaZeroconf(**zcargs)
File "/config/deps/lib/python3.10/site-packages/zeroconf/_core.py", line 447, in __init__
listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p)
File "/config/deps/lib/python3.10/site-packages/zeroconf/_utils/net.py", line 346, in create_sockets
normalized_interfaces = normalize_interface_choice(interfaces, ip_version)
File "/config/deps/lib/python3.10/site-packages/zeroconf/_utils/net.py", line 158, in normalize_interface_choice
result += ip6_addresses_to_indexes(choice)
File "/config/deps/lib/python3.10/site-packages/zeroconf/_utils/net.py", line 124, in ip6_addresses_to_indexes
result.append(ip6_to_address_and_index(adapters, iface))
File "/config/deps/lib/python3.10/site-packages/zeroconf/_utils/net.py", line 93, in ip6_to_address_and_index
raise RuntimeError('No adapter found for IP address %s' % ip)
RuntimeError: No adapter found for IP address fe80::7215:313b:16a7:42e7%2
2022-10-20 21:45:02.587 ERROR (MainThread) [homeassistant.setup] Setup failed for ssdp: Unable to import component: cannot import name 'determine_source_target' from 'async_upnp_client.ssdp' (/config/deps/lib/python3.10/site-packages/async_upnp_client/ssdp.py)
2022-10-20 21:45:05.125 ERROR (MainThread) [homeassistant.setup] Error during setup of component cloud
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 235, in _async_setup_component
result = await task
File "/usr/src/homeassistant/homeassistant/components/cloud/__init__.py", line 290, in async_setup
cloud.register_on_initialized(_on_initialized)
AttributeError: 'Cloud' object has no attribute 'register_on_initialized'
2022-10-20 21:45:15.620 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of hacs. Setup failed for dependencies: frontend
2022-10-20 21:45:15.628 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration hacs: (DependencyError(...), 'Could not setup dependencies: frontend')
2022-10-20 21:45:15.648 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of upnp. Setup failed for dependencies: ssdp
2022-10-20 21:45:15.651 ERROR (MainThread) [homeassistant.setup] Setup failed for upnp: (DependencyError(...), 'Could not setup dependencies: ssdp')
2022-10-20 21:45:15.654 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of map. Setup failed for dependencies: frontend
2022-10-20 21:45:15.657 ERROR (MainThread) [homeassistant.setup] Setup failed for map: (DependencyError(...), 'Could not setup dependencies: frontend')
2022-10-20 21:45:15.659 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of my. Setup failed for dependencies: frontend
2022-10-20 21:45:15.663 ERROR (MainThread) [homeassistant.setup] Setup failed for my: (DependencyError(...), 'Could not setup dependencies: frontend')
2022-10-20 21:45:15.674 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of logbook. Setup failed for dependencies: frontend
2022-10-20 21:45:15.678 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: (DependencyError(...), 'Could not setup dependencies: frontend')
2022-10-20 21:45:15.949 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mobile_app. Setup failed for dependencies: person
2022-10-20 21:45:15.957 ERROR (MainThread) [homeassistant.setup] Setup failed for mobile_app: (DependencyError(...), 'Could not setup dependencies: person')
2022-10-20 21:45:21.951 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: cloud, frontend, logbook, map, mobile_app, my, person, ssdp, zeroconf
2022-10-20 21:45:21.952 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: (DependencyError(...), 'Could not setup dependencies: cloud, frontend, logbook, map, mobile_app, my, person, ssdp, zeroconf')