Hi, i just updated my ha from 2023.8. to 2023.9. and now i can’t start it
It always fails with
Traceback (most recent call last):
File “/srv/homeassistant/bin/hass”, line 8, in
sys.exit(main())
^^^^^^
File “/srv/homeassistant/lib/python3.11/site-packages/homeassistant/main.py”, line 181, in main
args = get_arguments()
^^^^^^^^^^^^^^^
File “/srv/homeassistant/lib/python3.11/site-packages/homeassistant/main.py”, line 81, in get_arguments
from . import config as config_util
File “/srv/homeassistant/lib/python3.11/site-packages/homeassistant/config.py”, line 20, in
from . import auth
File “/srv/homeassistant/lib/python3.11/site-packages/homeassistant/auth/init.py”, line 10, in
import jwt
File “/srv/homeassistant/lib/python3.11/site-packages/jwt/init.py”, line 1, in
from .api_jwk import PyJWK, PyJWKSet
File “/srv/homeassistant/lib/python3.11/site-packages/jwt/api_jwk.py”, line 7, in
from .algorithms import get_default_algorithms, has_crypto, requires_cryptography
File “/srv/homeassistant/lib/python3.11/site-packages/jwt/algorithms.py”, line 12, in
from .utils import (
File “/srv/homeassistant/lib/python3.11/site-packages/jwt/utils.py”, line 7, in
from cryptography.hazmat.primitives.asymmetric.ec import EllipticCurve
File “/srv/homeassistant/lib/python3.11/site-packages/cryptography/hazmat/primitives/asymmetric/ec.py”, line 11, in
from cryptography.hazmat._oid import ObjectIdentifier
File “/srv/homeassistant/lib/python3.11/site-packages/cryptography/hazmat/_oid.py”, line 9, in
from cryptography.hazmat.bindings._rust import (
ImportError: libssl.so.3: cannot open shared object file: No such file or directory
No idea what could have caused that.
Things i tried:
my conclusion is based on my assumption, if the libraries (libsssl.so.3) are not there, HASS will not start. Deb 11 doesn´t bring the required libraries - try to run"find / -name libssl.so.3" or so
Why should it not be compatible?
However, as in the past, you have to take care of the dependencies and the latest version yourself. Rust, Python, ffmpeg and now openssl… this is the combination of Debian and home assistant core. Unfortunately
but I think that is it a big issue, libssl.so.3 is not available for Deb 11 and Raspberry OS at the moment is based on Deb 11. So we cannot upgrade to Home Assistant 2023.09 and on the release notes there aren’t any alert
my workaround for home assistant CORE on a rpi3b+ with raspbian (deb11):
upgraded system to deb 12 with the following etc/apt/sources.list:
deb http://raspbian.raspberrypi.org/raspbian/ bookworm main contrib non-free rpi
deb http://deb.debian.org/debian bookworm InRelease
deb http://deb.debian.org/debian bookworm-updates InRelease
deb http://security.debian.org/debian-security bookworm-security InRelease
upgraded system to deb 12 with the following etc/apt/sources.list.d/raspi.list: deb http://archive.raspberrypi.org/debian/ bookworm main ui
then I did the usual home assistant update from 7.3 to 9.2, which took quite a while, but finally worked.
I might have this same issue too. I was upgrading from 2023.4 to 2023.9. After upgrad, HA cannot start. In the long log I see this error information could be the problem:
ImportError: libssl.so.3: cannot open shared object file: No such file or directory
And I tried to downgrade to 2023.6, still cannot start. Finally I downgrade back to 2023.4. Everything comes back and runs normal now.
Running CORE on Hassbian (original version upgraded along times).
Also upgraded to Bookworm and so far, everything works fine.
Had to reinstall Glances since Bookworm doesn’t allow Python packages anymore, but installed it using pipx and it’s all good.