hjdhjd / homebridge-unifi-protect

:video_camera: Complete HomeKit integration for all UniFi Protect device types with full support for most features including HomeKit Secure Video, and more. https://homebridge.io
Other
1.39k stars 83 forks source link

Error in plugin. Cameras no longer found. #1013

Closed ianknight77 closed 8 months ago

ianknight77 commented 8 months ago

Hi,

Having issues with the Unifi Protect plugin: none of the cameras show up. Tried reinstalling the plugin and fixing Hoobs through SSH, but no luck. Triple checked permissions and login details for Unifi Protect as well.

Seeing the following error in the logs:

10/28/2023, 6:51:05 PMUnifi Protect Bridge starting 10/28/2023, 6:51:10 PMUnifi Protect BridgeLoaded plugin 'homebridge-unifi-protect' 10/28/2023, 6:51:10 PMUnifi Protect BridgeLoading 1 platforms... 10/28/2023, 6:51:10 PMUnifi Protect BridgeBridge is running on port 51826. 10/28/2023, 6:51:10 PMUnifi Protect BridgeUniFi ProtectUsing FFmpeg version: 6.0-homebridge-alpine-armv7l-static. 10/28/2023, 6:51:10 PMUnifi Protect BridgeERROR(Use node --trace-deprecation ... to show where the warning was created)

Used the command to see if I could troubleshoot, get this:

hoobs@hoobs:~$ node --trace-deprecation ...

node:internal/modules/cjs/loader:1031

throw err;

^

Error: Cannot find module '/home/hoobs/...'

at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1028:15)

at Function.Module._load (node:internal/modules/cjs/loader:873:27)

at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)

at node:internal/main/run_main_module:22:47 {

code: 'MODULE_NOT_FOUND',

requireStack: []

}

Running the following:

Version 4.3.0

Node 16.20.2

Homebriedge 1.6.0

I know 1.6.1 is available, but Hoobs states no updates.

Unifi OS 3.2.5 Protect 2.9.33

Thanks,

Ian

github-actions[bot] commented 8 months ago

@ianknight77 - this issue is being automatically closed because it does not follow either the feature request or bug report issue template. The issue templates have been designed to help in the troubleshooting (or feature request) process. Please use them and populate it as completely as possible to streamline troubleshooting or feature request discussions.

github-actions[bot] commented 8 months ago

This issue is locked to prevent necroposting on closed issues. Please create a new issue for related support requests, bug reports, or feature suggestions.