stfnhmplr / homebridge-synology

Control your Synology Diskstation with Homekit
MIT License
161 stars 15 forks source link

Doesn't work to install, can't find a file #78

Open astradti opened 2 years ago

astradti commented 2 years ago

Anybody that can help me out here? Installed as package on DSM 7 on Synology, not in docker

image

Gummibando commented 2 years ago

Installed git from synocommunity (Package Center)?

ashish-tandon commented 1 year ago

Facing the same issue I did not have GIT installed I installed it still no luck

stfnhmplr commented 1 year ago

Can you try the workaround from #85 and install the plugin with hb-service add homebridge-synology?

Jamyz commented 1 year ago

I have the same error. I try hb-service add homebridge-synology but nothing in bash container. Why user 1000 ? I create a user. Now i have :

`hb-service add homebridge-synology
ℹ CMD: npm --prefix "/var/lib/homebridge" add homebridge-synology@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/homeinstalator/syno.git
npm ERR! Could not create directory '/home/test/.ssh'.
npm ERR! Failed to add the host to the list of known hosts (/home/test/.ssh/known_hosts).
npm ERR! git@github.com: Permission denied (publickey).
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!     /home/homebridge/.npm/_logs/2023-05-01T09_28_01_340Z-debug-0.log
✖ Plugin installation failed.`

I use HomeBridge v1.6.1 on Raspberry Pi4 with Docker