homebridge / docker-homebridge

Homebridge Docker. HomeKit support for the impatient using Docker on x86_64, Raspberry Pi (armhf) and ARM64. Includes ffmpeg + libfdk-aac.
https://hub.docker.com/r/homebridge/homebridge/
GNU General Public License v3.0
2.57k stars 240 forks source link

npm install need ssh #414

Closed mcnahum closed 2 years ago

mcnahum commented 2 years ago

I choose to re-install one of my hombridge docker on my Synology and I have a new error ...

I installed the container, copied my config.json file and start it. of course I got a "No plugin was Sound for the platform "BroadlinkRM" in your config. json. Please make sure the corresponding plugin da installed correctly." as it was not installed. moved to the Homebridge UI to install my plugin ... and there is my surprise:

/homebridge # npm install --save homebridge-broadlink-rm@latest npm ERR! code 128 npm ERR! An unknown git error occurred npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/lprhodes/homebridge-platform-helper.git npm ERR! ssh -oStrictHostKeyChecking=accept-new: line 1: ssh: not found npm ERR! fatal: Could not read from remote repository. npm ERR! npm ERR! Please make sure you have the correct access rights npm ERR! and the repository exists.

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2022-01-26T16_27_48_758Z-debug.log /homebridge # sudo npm install --save homebridge-broadlink-rm@latest npm ERR! code 128 npm ERR! An unknown git error occurred npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/lprhodes/homebridge-platform-helper.git npm ERR! ssh -oStrictHostKeyChecking=accept-new: line 1: ssh: not found npm ERR! fatal: Could not read from remote repository. npm ERR! npm ERR! Please make sure you have the correct access rights npm ERR! and the repository exists.

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2022-01-26T16_28_00_220Z-debug.log

I did it multiple time .. and it's the same issue.

Is it normal or a bug? What next? install ssh?

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

felsus commented 2 years ago

I observe the same problem and I don't understand how to solve that. Perhaps I made something wrong but I tried to install ssh, installed some key from GitHub...but nothing worked. At the moment I am not able to install home bridge addons

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

tritter commented 2 years ago

@felsus did you find a solution?

rbronco21 commented 1 year ago

Here's my result. The approved Arlo plugin is broken and hasn't been updated for a couple years.

root@d60b74dc4268:/homebridge $ npm install lcalvy/homebridge-arlo
npm ERR! code 128
npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/lcalvy/homebridge-arlo.git
npm ERR! No user exists for uid 99
npm ERR! fatal: Could not read from remote repository.
npm ERR! 
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
felsus commented 1 year ago

@felsus did you find a solution? @tritter No, not really. Tried it a couple of days ago, but didn't worked out.