homebridge-appletv-enhanced: v1.5.1 libssl.so.3: cannot open shared object file
Preconditions
- Requirements fulfilled
- The bug is not a known issue
- The bug has not been solved in the past or the solution that was provided in the past does not work on my system
- There is currently no other opened issue that describes this bug
- I cannot find any solution to the problem in GitHub discussions
- I am certain that the problem that I am having is a bug
Analysis
Error on startup after Update from 1.5.0 to 1.5.1
Expected Behavior
Normal Startup.
Steps To Reproduce
Upgrade from 1.5.0 to 1.5.1 via Hombridge GUI
Logs
[29.7.2024, 12:39:26] Error: Unable to execute request 1O: Traceback (most recent call last):
File "/var/lib/homebridge/appletv-enhanced/.venv/bin/atvscript", line 5, in <module>from pyatv.scripts.atvscript import main
File "/var/lib/homebridge/appletv-enhanced/.venv/lib/python3.9/site-packages/pyatv/__init__.py", line 26, in <module>
from pyatv.protocols import PROTOCOLS
File "/var/lib/homebridge/appletv-enhanced/.venv/lib/python3.9/site-packages/pyatv/protocols/__init__.py", line 10, in <module>
from pyatv.protocols import airplay as airplay_proto
File "/var/lib/homebridge/appletv-enhanced/.venv/lib/python3.9/site-packages/pyatv/protocols/airplay/__init__.py", line 28, in <module>
from pyatv.protocols import mrpFile "/var/lib/homebridge/appletv-enhanced/.venv/lib/python3.9/site-packages/pyatv/protocols/mrp/__init__.py", line 14, in <module>
from pyatv.auth.hap_srp import SRPAuthHandler
File "/var/lib/homebridge/appletv-enhanced/.venv/lib/python3.9/site-packages/pyatv/auth/hap_srp.py", line 10, in <module>from cryptography.exceptions import InvalidSignature
File "/var/lib/homebridge/appletv-enhanced/.venv/lib/python3.9/site-packages/cryptography/exceptions.py", line 9, in <module>from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions
ImportError: libssl.so.3: cannot open shared object file: No such file or directory
at /usr/lib/node_modules/homebridge-appletv-enhanced/node_modules/@sebbo2002/node-pyatv/src/lib/tools.ts:189:15
at Generator.next (<anonymous>)
at o (/usr/lib/node_modules/homebridge-appletv-enhanced/node_modules/@sebbo2002/node-pyatv/dist/lib/index.cjs:1:984)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
[29.7.2024, 12:39:27] Got SIGTERM, shutting down Homebridge...
[29.7.2024, 12:39:27] AssertionError [ERR_ASSERTION]: Cannot generate setupURI on an accessory that isn't published yet!
at Bridge.Accessory.setupURI (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1004:11)
at Server.setServerStatus (/usr/lib/node_modules/homebridge/src/server.ts:143:45)
at Server.teardown (/usr/lib/node_modules/homebridge/src/server.ts:187:10)
at signalHandler (/usr/lib/node_modules/homebridge/src/cli.ts:94:12)
at process.emit (node:events:519:28)
at process.emit (/usr/lib/node_modules/homebridge/node_modules/source-map-support/source-map-support.js:516:21)
Configuration
{
"name": "Apple TV Enhanced",
"deviceStateDelay": 0,
"avadaKedavraAppAmount": 15,
"disableVolumeControlRemote": false,
"setTopBox": false,
"discover": {
"multicast": true
},
"forceVenvRecreate": false,
"logLevel": 3,
"updateCheckLevel": "stable",
"deviceSpecificOverrides": [
{
"overrideMediaTypes": false,
"overrideDeviceStates": false,
"overrideDeviceStateDelay": false,
"deviceStateDelay": 0,
"overrideRemoteKeysAsSwitch": false,
"overrideAvadaKedavraAppAmount": false,
"avadaKedavraAppAmount": 15,
"overrideCustomInputURIs": false,
"overrideDisableVolumeControlRemote": false,
"disableVolumeControlRemote": false,
"overrideSetTopBox": false,
"setTopBox": false
}
],
"platform": "AppleTVEnhanced"
}
Operating System
Linux
Operating System: Bits
64-bit
Operating System: Distribution
Raspbian GNU
Operating System: Distribution Version
Linux Bullseye (11)
Docker
no
Docker Image
None
Docker Image Tag
No response
Homebridge Version
1.8.4
Homebridge Config UI Version
4.56.4
Homebridge Storage Path
/var/lib/homebridge
Homebridge Apple TV Enhanced Version
1.5.1
Node Version
v20.16.0
NPM Version
10.8.1
Python Version
3.9.2
PIP Version
20.3.4
HDMI Hops
No response
Audio Output
no
Same Subnet
yes
Additional Context
A downgrade to 1.5.0 fixed it
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (7 by maintainers)
No the software. OpenSSL to be specific. However, the required OpenSSL version should be included in recent Debian / Raspian releases. So just update the OS to a current version.
fyi, the next release will be updating the platform dependency to the latest version to officially support Python 3.12. However, the newest version of pyatv requires cryptography==43.0.0 which was causing problems with your outdated systems. I think it is time to update your systems.
@maxileith v1.5.2-0 solved it for me too. thanks
@maxileith v1.5.2-0 solved it for me! Cheers!