Er läuft!!!!
Geil!!!
Vielen, vielen Dank!
Werde mich jetzt ans "reovieren" machen!
Er läuft!!!!
Geil!!!
Vielen, vielen Dank!
Werde mich jetzt ans "reovieren" machen!
Habe das
-f
mit angehängt so wie es in dem Error steht...
Jetzt ist anscheinend alles gestartet
herke@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.
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
Bin fündig geworden.
Unter dem Adapter in der Adapterliste auf die drei Punkte und dann Instanz hinzufügen.
Wieso wird die Instanz nicht nach der Instalation hinzugefügt?
Gute Abend / Nacht ,
ich habe soeben den simple-api Adapter (2.7.2) installiert um mit dem Alarmserver meiner Instar Kameras zu arbeiten.
Dieser wird jedoch nicht bei den Instanzen angezeigt. Bei der Adapter Suche wird unter dem Adapter
Verfügbare Version:
2.7.2
Installierte Version:
2.7.2
angezeigt.
Wie kann das sein?
herke@raspberrypi:~ $ sudo apt update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:3 http://archive.raspberrypi.com/debian bookworm InRelease
Hit:4 http://deb.debian.org/debian bookworm-updates InRelease
Hit:5 https://repos.influxdata.com/debian stable InRelease
Hit:6 https://apt.grafana.com stable InRelease
Hit:7 https://deb.nodesource.com/node_18.x nodistro InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Jetzt ist alles aktuell.
Wie oft sollte man ein upgrade machen ca.?
Gemacht...
herke@raspberrypi:~ $ sudo apt update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Get:2 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:4 https://apt.grafana.com stable InRelease [7,661 B]
Hit:5 https://deb.nodesource.com/node_18.x nodistro InRelease
Get:6 http://archive.raspberrypi.com/debian bookworm InRelease [23.6 kB]
Hit:7 https://repos.influxdata.com/debian stable InRelease
Get:8 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages [153 kB]
Get:9 http://deb.debian.org/debian-security bookworm-security/main armhf Packages [150 kB]
Get:10 http://deb.debian.org/debian-security bookworm-security/main Translation-en [92.9 kB]
Get:11 http://archive.raspberrypi.com/debian bookworm/main arm64 Packages [410 kB]
Get:12 http://archive.raspberrypi.com/debian bookworm/main armhf Packages [419 kB]
Get:13 https://apt.grafana.com stable/main arm64 Packages [196 kB]
Get:14 https://apt.grafana.com stable/main armhf Packages [174 kB]
Fetched 1,729 kB in 2s (955 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
16 packages can be upgraded. Run 'apt list --upgradable' to see them.
herke@raspberrypi:~ $ apt policy raspi-config
raspi-config:
Installed: 20240424
Candidate: 20240510
Version table:
20240510 500
500 http://archive.raspberrypi.com/debian bookworm/main arm64 Packages
500 http://archive.raspberrypi.com/debian bookworm/main armhf Packages
*** 20240424 100
100 /var/lib/dpkg/status
Ok alles klar! Dann habe ich das falsch interpretiert.
Oh shi...! Wohl zutief im Netzt gewühlt und zu voreilig gehandelt!
Habe den Befehl hier gefunden: http://myhomearchiv.synology.me/download/Raspberry_ioBroker_aktualisieren.pdf
Kann ich das rückgängig machen? Bzw. Sind wichtige Sachen gelöscht worden?
So hat es geklappt. Alte Ip im Router gelöscht und dem Neuen PI die alte IP zugeordnet.