homebridge-foscamcamera
homebridge-foscamcamera copied to clipboard
Error: Error relocating
What is wrong here?
[2018-1-30 15:20:12] ==================== [2018-1-30 15:20:12] ERROR LOADING PLUGIN homebridge-foscamcamera: [2018-1-30 15:20:12] Error: Error relocating /homebridge/node_modules/foscam-binary-client/build/Release/FoscamG726.node: alaw2linear: symbol not found at Object.Module._extensions..node (module.js:672:18) at Module.load (module.js:556:32) at tryModuleLoad (module.js:499:12) at Function.Module._load (module.js:491:3) at Module.require (module.js:587:17) at require (internal/module.js:11:18) at Object.
(/homebridge/node_modules/foscam-binary-client/lib/FoscamStreamLayer.js:5:20) at Module._compile (module.js:643:30) at Object.Module._extensions..js (module.js:654:10) at Module.load (module.js:556:32) [2018-1-30 15:20:12] ====================
Same Problem here
Anybody have a Solution to this Problem? The Plugin seems to be Broken. Getting an Error when loading the Plugin
@oynek My problem was caused by using Alpine Linux as the base System for a Docker Image which is using musl libc what causes the compatibility issues. (Thanks to @oznu for finding the Problem).
The Solution was switching to a Debian base which is using glibc. The Developer @oznu provided a Debian version of his Docker-Homebridge Implementation which is solving all problems. So if you are using Docker for Homebridge go check his Project out, its great. https://github.com/oznu/docker-homebridge. Make sure that you Download the Debian Version
I actually use @oznu 's homebridge docker image. But I did not find an option to manually choose the type of Linux. Can you point me to the right direction?
Sure. When you pull the Docker image make sure not to use the "latest" tag, as it will download the alpine version. Use the Debian Tag instead. If you are using a Raspberry-Pi use the "debian-raspberry-pi" Tag
https://hub.docker.com/r/oznu/homebridge/tags/
i get the same issues on the latest release of home assistant installed with the hass.io image