homebridge-tcc icon indicating copy to clipboard operation
homebridge-tcc copied to clipboard

No plugin was found on Synology NAS

Open tatechaffin opened this issue 1 year ago • 6 comments

Current Situation

There is an issue loading the TCC plugin on the Synology NAS. It works perfectly on my Macbook Homebridge, but I get the following errors when loading it on the NAS.

Logs

====================
[1/28/2024, 10:43:37 PM] ERROR LOADING PLUGIN homebridge-tcc:
[1/28/2024, 10:43:37 PM] Error: /opt/lib/libpthread.so.0: undefined symbol: __libc_vfork, version GLIBC_PRIVATE
    at Object.Module._extensions..node (node:internal/modules/cjs/loader:1327:18)
    at Module.load (node:internal/modules/cjs/loader:1091:32)
    at Function.Module._load (node:internal/modules/cjs/loader:938:12)
    at Module.require (node:internal/modules/cjs/loader:1115:19)
    at require (node:internal/modules/helpers:130:18)
    at bindings (/volume1/homebridge/node_modules/homebridge-tcc/node_modules/bindings/bindings.js:112:48)
    at Object.<anonymous> (/volume1/homebridge/node_modules/homebridge-tcc/node_modules/node-expat/lib/node-expat.js:4:34)
    at Module._compile (node:internal/modules/cjs/loader:1241:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
    at Module.load (node:internal/modules/cjs/loader:1091:32)

Configuration

{
            "name": "Thermostat",
            "username": "****",
            "password": "****",
            "usePermanentHolds": true,
            "sensors": "all",
            "refresh": 600,
            "storage": "fs",
            "debug": true,
            "platform": "tcc",
            "_bridge": {
                "username": "****",
                "port": ****
            }

Environment

  • OS: DSM
  • Software: Homebridge 3.1.1
  • Node: 20.9.0
  • npm: 10.1.0

Process Supervisor

hb-service

Additional Context

No response

tatechaffin avatar Jan 29 '24 04:01 tatechaffin

This plugin uses native modules and needs this package installed before homebridge-tcc

https://github.com/homebridge/homebridge-syno-spk/wiki/DSM-7:-Enable-Compiling-Of-Native-Modules

NorthernMan54 avatar Jan 29 '24 08:01 NorthernMan54

I did enable that and that fixed the install problem that I was having initially, but I’m still having the issue loading the plugin in the logs above. I have uninstalled and reinstalled the plugin several times, as well as rebooting the NAS, stopping and starting the Homebridge service, and restarting Homebridge from the UI.

tatechaffin avatar Jan 29 '24 11:01 tatechaffin

Besides suggesting to uninstall the plugin and install again I don’t have anything to suggest

NorthernMan54 avatar Jan 30 '24 01:01 NorthernMan54

I'm seeing this exact same thing (install goes okay), did you ever figure anything out @tatechaffin?

carlylemiii avatar Apr 05 '24 18:04 carlylemiii

I'm seeing this exact same thing (install goes okay), did you ever figure anything out @tatechaffin?

Never figured anything out, ended up installing it on a Raspberry Pi and it runs fine on that.

tatechaffin avatar Apr 06 '24 02:04 tatechaffin

Having similar issues. Finally got the plugin to install but now it won't run. When Homebridge restarts I get the following errors:

[4/7/2024, 4:42:57 PM] --- [4/7/2024, 4:42:57 PM] ==================== [4/7/2024, 4:42:57 PM] ERROR LOADING PLUGIN homebridge-tcc: [4/7/2024, 4:42:57 PM] Error: /opt/lib/libpthread.so.0: undefined symbol: __libc_vfork, version GLIBC_PRIVATE at Object.Module._extensions..node (node:internal/modules/cjs/loader:1327:18) at Module.load (node:internal/modules/cjs/loader:1091:32) at Function.Module._load (node:internal/modules/cjs/loader:938:12) at Module.require (node:internal/modules/cjs/loader:1115:19) at require (node:internal/modules/helpers:130:18) at bindings (/volume1/homebridge/node_modules/homebridge-tcc/node_modules/bindings/bindings.js:112:48) at Object. (/volume1/homebridge/node_modules/homebridge-tcc/node_modules/node-expat/lib/node-expat.js:4:34) at Module._compile (node:internal/modules/cjs/loader:1241:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1295:10) at Module.load (node:internal/modules/cjs/loader:1091:32) [4/7/2024, 4:42:57 PM] ====================

Demoleon63 avatar Apr 07 '24 21:04 Demoleon63