NEWS
Shinobi funktioniert nicht mehr.
-
Bitte um Hilfe.
Ich wollte gerne das Shinobi mittels MQTT mit iobroker kommunizieren kann und ich die Bewegungserkennung z.B. in Blockly nutzen kann.Ich habe daraufhin diese: https://hub.shinobi.video/articles/view/LXw2fdkTPIU8BlP Anleitung gefunden und geshen, dass das Shinobi Dashboard erstmal in v3 geupdatet werden muss.
Ich habe also nach der Shinobi Anleitung hier: https://docs.shinobi.video/system/update versucht auf v3 zu updaten.
pm2 logs
sagt...
herke@raspberrypi:/home/Shinobi $ pm2 logs [TAILING] Tailing last 15 lines for [all] processes (change the value with --lin es option) /home/herke/.pm2/pm2.log last 15 lines: PM2 | 2024-05-21T23:27:47: PM2 log: App [camera:0] exited with code [1] v ia signal [SIGINT] PM2 | 2024-05-21T23:27:47: PM2 log: App [camera:0] starting in -fork mode - PM2 | 2024-05-21T23:27:47: PM2 log: App [camera:0] online PM2 | 2024-05-21T23:27:48: PM2 log: App [camera:0] exited with code [1] v ia signal [SIGINT] PM2 | 2024-05-21T23:27:48: PM2 log: App [camera:0] starting in -fork mode - PM2 | 2024-05-21T23:27:48: PM2 log: App [camera:0] online PM2 | 2024-05-21T23:27:50: PM2 log: App [camera:0] exited with code [1] v ia signal [SIGINT] PM2 | 2024-05-21T23:27:50: PM2 log: App [camera:0] starting in -fork mode - PM2 | 2024-05-21T23:27:50: PM2 log: App [camera:0] online PM2 | 2024-05-21T23:27:51: PM2 log: App [camera:0] exited with code [1] v ia signal [SIGINT] PM2 | 2024-05-21T23:27:51: PM2 log: App [camera:0] starting in -fork mode - PM2 | 2024-05-21T23:27:51: PM2 log: App [camera:0] online PM2 | 2024-05-21T23:27:52: PM2 log: App [camera:0] exited with code [1] v ia signal [SIGINT] PM2 | 2024-05-21T23:27:52: PM2 log: App [camera:0] starting in -fork mode - PM2 | 2024-05-21T23:27:52: PM2 log: App [camera:0] online /home/herke/.pm2/logs/camera-out.log last 15 lines: /home/herke/.pm2/logs/cron-out.log last 15 lines: 1|cron | Shinobi now runs cron.js as a worker process from camera.js. 1|cron | Shinobi now runs cron.js as a worker process from camera.js. 1|cron | Shinobi now runs cron.js as a worker process from camera.js. 1|cron | Shinobi now runs cron.js as a worker process from camera.js. /home/herke/.pm2/logs/cron-error.log last 15 lines: 1|cron | Shinobi now runs cron.js as a worker process from camera.js. 1|cron | Shinobi now runs cron.js as a worker process from camera.js. 1|cron | Shinobi now runs cron.js as a worker process from camera.js. 1|cron | Shinobi now runs cron.js as a worker process from camera.js. /home/herke/.pm2/logs/camera-error.log last 15 lines: 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:11 34:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node _modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:141 4:10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCon tainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:113 4:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_ modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414 :10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessCont ainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414:10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessContainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online 0|camera | Error: Cannot find module 'socket.io' 0|camera | Require stack: 0|camera | - /home/Shinobi/camera.js 0|camera | at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15) 0|camera | at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:81:25) 0|camera | at require (node:internal/modules/helpers:177:18) 0|camera | at Object.<anonymous> (/home/Shinobi/camera.js:11:17) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) 0|camera | at Module._extensions..js (node:internal/modules/cjs/loader:1414:10) 0|camera | at Module.load (node:internal/modules/cjs/loader:1197:32) 0|camera | at Module._load (node:internal/modules/cjs/loader:1013:12) 0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessContainerFork.js:33:23) 0|camera | at Module._compile (node:internal/modules/cjs/loader:1356:14) { 0|camera | code: 'MODULE_NOT_FOUND', 0|camera | requireStack: [ '/home/Shinobi/camera.js' ] 0|camera | } PM2 | App [camera:0] exited with code [1] via signal [SIGINT] PM2 | App [camera:0] starting in -fork mode- PM2 | App [camera:0] online
Es hat anscheinend leider nicht geklappt, denn ich kann schinobi nicht mehr unter 8080 erreichen.
Kann ich Shinobi einfach de installieren und dann neu installieren?
Ich würde es dann lassen mit MQTT und Shinobi.
Verranze mir sonst wieder das System.Wenn ich versuche Shinobi zu starten kommt:
herke@raspberrypi:/home/Shinobi $ pm2 start camera.js pm2 start cron.js [PM2][ERROR] Script already launched, add -f option to force re-execution [PM2][ERROR] Script already launched, add -f option to force re-execution
-
Habe das
-f
mit angehängt so wie es in dem Error steht...
Jetzt ist anscheinend alles gestartetherke@raspberrypi:/home/Shinobi $ pm2 start camera.js pm2 start cron.js [PM2] Applying action restartProcessId on app [camera](ids: [ 0, 2 ]) [PM2] [camera](0) ✓ [PM2] [camera](2) ✓ [PM2] Process successfully started ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐ │ id │ name │ mode │ ↺ │ status │ cpu │ memory │ ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤ │ 0 │ camera │ fork │ 1543 │ online │ 0% │ 10.8mb │ │ 2 │ camera │ fork │ 98 │ online │ 0% │ 9.6mb │ │ 1 │ cron │ fork │ 1 │ stopped │ 0% │ 0b │ └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘ [PM2] Applying action restartProcessId on app [cron](ids: [ 1 ]) [PM2] [cron](1) ✓ [PM2] Process successfully started ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐ │ id │ name │ mode │ ↺ │ status │ cpu │ memory │ ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤ │ 0 │ camera │ fork │ 1544 │ online │ 0% │ 38.0mb │ │ 2 │ camera │ fork │ 99 │ online │ 0% │ 38.6mb │ │ 1 │ cron │ fork │ 1 │ online │ 0% │ 39.5mb │ └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
Shinobi im Broswer öffnen unter :8080 funktioniert aber immer noch nicht.