Creating a bug report/issue
I have searched the existing open and closed issues
Required Information
- DietPi version |
- G_DIETPI_VERSION_CORE=9
G_DIETPI_VERSION_SUB=6
G_DIETPI_VERSION_RC=1
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’
- Distro version | bookworm 1
- Kernel version | Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
- Architecture | armhf
- SBC model | RPi 4 Model B (aarch64)
- Power supply used | 5V 1A
- SD card used | SanDisk ultra + SSD
Additional Information (if applicable)
Home Assistant
- Was the software title installed freshly or updated/migrated?
Update to 2024.8 - Can this issue be replicated on a fresh installation of DietPi?
Cannot test this at the moment.
← If you sent a “dietpi-bugreport”, please paste the ID here → - Bug report ID |
echo $G_HW_UUID
Steps to reproduce
- Updated to (and tried to reinstall the entire setup with (dietpi-software reinstall 157):
Requirement already satisfied: homeassistant in ./.pyenv/versions/3.12.3/lib/python3.12/site-packages (2024.8.0) - Homeassistant failing to start it’s service with the following errors:
File │
│ "/home/homeassistant/.pyenv/versions/3.12.3/lib/python3.12/site-packages/jwt/utils.py", line 7, in <module> │
│ Aug 08 23:42:20 DietPi Home Assistant[15374]: from cryptography.hazmat.primitives.asymmetric.ec import │
│ EllipticCurve │
│ Aug 08 23:42:20 DietPi Home Assistant[15374]: File │
│ "/home/homeassistant/.pyenv/versions/3.12.3/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/e │
│ c.py", line 11, in <module> │
│ Aug 08 23:42:20 DietPi Home Assistant[15374]: from cryptography.exceptions import UnsupportedAlgorithm, _Reasons │
│ Aug 08 23:42:20 DietPi Home Assistant[15374]: File │
│ "/home/homeassistant/.pyenv/versions/3.12.3/lib/python3.12/site-packages/cryptography/exceptions.py", line 9, in │
│ <module> │
│ Aug 08 23:42:20 DietPi Home Assistant[15374]: from cryptography.hazmat.bindings._rust import exceptions as │
│ rust_exceptions │
│ Aug 08 23:42:20 DietPi Home Assistant[15374]: ImportError: libssl.so.1.1: cannot open shared object file: No such │
│ file or directory │
│ Aug 08 23:42:20 DietPi systemd[1]: home-assistant.service: Main process exited, code=exited, status=1/FAILURE
Expected behaviour
- Home Assistant service should be starting as usual
Actual behaviour
Homeassistant failing to start it’s service with the following errors:
File │
│ "/home/homeassistant/.pyenv/versions/3.12.3/lib/python3.12/site-packages/jwt/utils.py", line 7, in <module> │
│ Aug 08 23:42:20 DietPi Home Assistant[15374]: from cryptography.hazmat.primitives.asymmetric.ec import │
│ EllipticCurve │
│ Aug 08 23:42:20 DietPi Home Assistant[15374]: File │
│ "/home/homeassistant/.pyenv/versions/3.12.3/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/e │
│ c.py", line 11, in <module> │
│ Aug 08 23:42:20 DietPi Home Assistant[15374]: from cryptography.exceptions import UnsupportedAlgorithm, _Reasons │
│ Aug 08 23:42:20 DietPi Home Assistant[15374]: File │
│ "/home/homeassistant/.pyenv/versions/3.12.3/lib/python3.12/site-packages/cryptography/exceptions.py", line 9, in │
│ <module> │
│ Aug 08 23:42:20 DietPi Home Assistant[15374]: from cryptography.hazmat.bindings._rust import exceptions as │
│ rust_exceptions │
│ Aug 08 23:42:20 DietPi Home Assistant[15374]: ImportError: libssl.so.1.1: cannot open shared object file: No such │
│ file or directory │
│ Aug 08 23:42:20 DietPi systemd[1]: home-assistant.service: Main process exited, code=exited, status=1/FAILURE
Extra details
I’ve just recently migrated to bookworm so recent update of HA is rather unfortunate (just before todays update all was working fine). Would appreciate some pointers were to look / what to do. Reached a wall here.
Edit: I’ve migrated to bookworm through
bash <(curl -sSf 'https://raw.githubusercontent.com/MichaIng/DietPi/master/.meta/dietpi-bookworm-upgrade')
happy to take as a temporary solution downgrading to HA 2024.7