Open justlen1 opened 5 days ago
I went ahead and installed Entware on the Synology as recommended on the Homebridge Github page and ran a Python install to 3.11. HomeBridge is still reporting 3.8.
I may be getting in over my head here.
I am not familiar with Synology. Make sure that a compatible python executable is in the PATH in the environment that homebridge is running in.
If you are using docker you can just update to the latest version of the image.
I went ahead and ripped out the Synology Homebridge and set it up again as a Portainer container. It loads up perfectly. I'm having some issues setting my apple TVs back up (one is giving me the standard pairing URL and the other is telling me to enter the homekit code manually but the Apple Home app isn't seeing the accessory) but I will dig through the issues and see if there's a fix.
It does appear that utilizing the plugin via a direct Synology instance doesn't work well as it is difficult to manage the Node.js and Python versions in Synology. Might be easier to just put womething in the readme that it's not a recommended configuration.
I'm also getting this error, I've installed python 3.11 as per documentation .. I've deleted python 3.8 as well.. but on synology I'm still getting this error. Please help. Also I've installed the package from the DSM store and not as docker container.
I'm also getting this error, I've installed python 3.11 as per documentation .. I've deleted python 3.8 as well.. but on synology I'm still getting this error. Please help. Also I've installed the package from the DSM store and not as docker container.
After days of beating my head against the wall I installed it as a Docker container. It took about 15 min and has been rock solid ever since. A backup/restore of my Homebridge config between versions allowed me to retain all my other plugins and configuration.
Preconditions
Current Situation
My plug-in recently stopped updating the HomeKit accessories. Running on Synology.
I first downgraded the plugin (to 1.92.10) to see if that was the issue. When there was no changed I deleted the plugin, deleted the accessories from HomeKit then reinstalled. After reinstalling i see no links or codes in the terminal logs to re-setup my AppleTVs.
I suspected that part of the issue may be Python and OpenSSL. I do have Python 3.11.10-9 installed via the Synology Package Center, yet HomeBridge is reporting 3.8.15 (in the Additional Context below). HomeBridge is reporting OpenSSL 1.1.1 even though the current version of Synology DSM states it includes OpenSSL 3.
Also, when it was previously running I was getting frequent Avahi errors; I do not know it that is pertinent.
Logs
Configuration
Operating System
Linux
Operating System: Bits
64-bit
Operating System: Distribution
Synology
Operating System: Distribution Version
DSM 7.2.1-69057 Update 6
Docker
no
Docker Image
None
Docker Image Tag
No response
Homebridge Version
1.8.5
Homebridge Config UI Version
4.63.0
Homebridge Storage Path
/volume1/homebridge
Homebridge Apple TV Enhanced Version
1.10.1
Node Version
v20.9.0
NPM Version
10.8.2
Python Version
3.8.15
PIP Version
No module named pip
HDMI Hops
None
Audio Output
no
Same Subnet
yes
Additional Context
From Homebridge Terminal:
Homebridge Terminal for Synology DSM
Node.js Version: v20.9.0 Node.js Path: /var/packages/Node.js_v20/target/usr/local/bin/node Plugin Path: /volume1/homebridge/node_modules
Update Node.js: hb-service update-node
Install Plugin: hb-service add homebridge-plugin-name Remove Plugin: hb-service remove homebridge-plugin-name
homebridge@Vault:/volume1/homebridge $ python3 --version Python 3.8.15 homebridge@Vault:/volume1/homebridge $ python3 -m pip --version /bin/python3: No module named pip homebridge@Vault:/volume1/homebridge $ openssl version OpenSSL 1.1.1u 30 May 2023 homebridge@Vault:/volume1/homebridge $ apt bash: apt: command not found