stfnhmplr / homebridge-synology

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

Plugin wasn't found on loading #76

Closed astradti closed 1 year ago

astradti commented 2 years ago

Hi, i'm having issues with my homebridge-synology plugin

this is on restarting the homebridge image

image

this is the config in the json file. i covered some things for obvious reason

image

if i try to reinstall the plugin, i get this error:

image

can someone help me on what's wrong?

JayJay-Master commented 2 years ago

I have the same issue on a Synology Diskstation after a hombridge docker container update and restore of previous homebridge installation:

USER: root DIR: /var/lib/homebridge CMD: npm install --save 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! No user exists for uid 1028 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/2022-06-25T14_12_51_539Z-debug-0.log

Operation failed. Please review log for details.

Seems that it is a problem with access rights but I don't know how to handle.

stfnhmplr commented 1 year ago

There's a workaround in #85.