I successfully managed to HOSE my platform. Initially I seen some mongodb errors flood my debug once in Node-red... then it would lose connection.
I don't know where to begin... I have the console output. I suspect it was after an OS release upgrade to Jammy Ubuntu.
Here is the dump of the console...
Starting as a systemd service.
23 Aug 09:11:55 - [warn] [node-red-contrib-oauth2] Node module cannot be loaded on this version. Requires: 4.0.2
23 Aug 09:11:59 - [warn] ------------------------------------------------------
23 Aug 09:11:59 - [warn] [node-red-contrib-v8-cpu-profiler/v8-cpu-profiler] Error: Cannot find module '/home/ubuntu/.node-red/node_modules/v8-profiler-next/build/binding/Release/node-v115-linux-x64/profiler.node'
Require stack:
- /home/ubuntu/.node-red/node_modules/v8-profiler-next/lib/binding.js
- /home/ubuntu/.node-red/node_modules/v8-profiler-next/dispatch.js
- /home/ubuntu/.node-red/node_modules/node-red-contrib-v8-cpu-profiler/v8_cpu_profiler.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/loader.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/index.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/index.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/index.js
- /usr/lib/node_modules/node-red/lib/red.js
- /usr/lib/node_modules/node-red/red.js
23 Aug 09:11:59 - [warn] ------------------------------------------------------
23 Aug 09:11:59 - [warn] Missing node modules:
23 Aug 09:11:59 - [warn] - node-red-contrib-oauth2 (4.0.1): oauth2, oauth2-credentials
23 Aug 09:11:59 - [warn] Projects disabled : editorTheme.projects.enabled=false
(node:9433) [DEP0128] DeprecationWarning: Invalid 'main' field in '/home/ubuntu/.node-red/node_modules/node-blob/package.json' of 'server.js'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
23 Aug 09:11:59 - [error] Uncaught Exception:
23 Aug 09:11:59 - [error] Error: listen EADDRINUSE: address already in use 0.0.0.0:18800
at Server.setupListenHandle [as _listen2] (node:net:1872:16)
at listenInCluster (node:net:1920:12)
at doListen (node:net:2069:7)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.service: Failed with result 'exit-code'.
nodered.service: Scheduled restart job, restart counter is at 18.
Stopped Node-RED graphical event wiring tool.
Started Node-RED graphical event wiring tool.
23 Aug 09:12:21 - [warn] [node-red-contrib-oauth2] Node module cannot be loaded on this version. Requires: 4.0.2
23 Aug 09:12:25 - [warn] ------------------------------------------------------
23 Aug 09:12:25 - [warn] [node-red-contrib-v8-cpu-profiler/v8-cpu-profiler] Error: Cannot find module '/home/ubuntu/.node-red/node_modules/v8-profiler-next/build/binding/Release/node-v115-linux-x64/profiler.node'
Require stack:
- /home/ubuntu/.node-red/node_modules/v8-profiler-next/lib/binding.js
- /home/ubuntu/.node-red/node_modules/v8-profiler-next/dispatch.js
- /home/ubuntu/.node-red/node_modules/node-red-contrib-v8-cpu-profiler/v8_cpu_profiler.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/loader.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/index.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/index.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/index.js
- /usr/lib/node_modules/node-red/lib/red.js
- /usr/lib/node_modules/node-red/red.js
23 Aug 09:12:25 - [warn] ------------------------------------------------------
23 Aug 09:12:25 - [warn] Missing node modules:
23 Aug 09:12:25 - [warn] - node-red-contrib-oauth2 (4.0.1): oauth2, oauth2-credentials
23 Aug 09:12:25 - [warn] Projects disabled : editorTheme.projects.enabled=false
(node:9513) [DEP0128] DeprecationWarning: Invalid 'main' field in '/home/ubuntu/.node-red/node_modules/node-blob/package.json' of 'server.js'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
23 Aug 09:12:25 - [error] Uncaught Exception:
23 Aug 09:12:25 - [error] Error: listen EADDRINUSE: address already in use 0.0.0.0:18800
at Server.setupListenHandle [as _listen2] (node:net:1872:16)
at listenInCluster (node:net:1920:12)
at doListen (node:net:2069:7)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.service: Failed with result 'exit-code'.
nodered.service: Scheduled restart job, restart counter is at 19.
Stopped Node-RED graphical event wiring tool.
Started Node-RED graphical event wiring tool.
23 Aug 09:12:47 - [warn] [node-red-contrib-oauth2] Node module cannot be loaded on this version. Requires: 4.0.2
23 Aug 09:12:51 - [warn] ------------------------------------------------------
23 Aug 09:12:51 - [warn] [node-red-contrib-v8-cpu-profiler/v8-cpu-profiler] Error: Cannot find module '/home/ubuntu/.node-red/node_modules/v8-profiler-next/build/binding/Release/node-v115-linux-x64/profiler.node'
Require stack:
- /home/ubuntu/.node-red/node_modules/v8-profiler-next/lib/binding.js
- /home/ubuntu/.node-red/node_modules/v8-profiler-next/dispatch.js
- /home/ubuntu/.node-red/node_modules/node-red-contrib-v8-cpu-profiler/v8_cpu_profiler.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/loader.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/index.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/index.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/index.js
- /usr/lib/node_modules/node-red/lib/red.js
- /usr/lib/node_modules/node-red/red.js
23 Aug 09:12:51 - [warn] ------------------------------------------------------
23 Aug 09:12:51 - [warn] Missing node modules:
23 Aug 09:12:51 - [warn] - node-red-contrib-oauth2 (4.0.1): oauth2, oauth2-credentials
23 Aug 09:12:51 - [warn] Projects disabled : editorTheme.projects.enabled=false
(node:9591) [DEP0128] DeprecationWarning: Invalid 'main' field in '/home/ubuntu/.node-red/node_modules/node-blob/package.json' of 'server.js'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
23 Aug 09:12:51 - [error] Uncaught Exception:
23 Aug 09:12:51 - [error] Error: listen EADDRINUSE: address already in use 0.0.0.0:18800
at Server.setupListenHandle [as _listen2] (node:net:1872:16)
at listenInCluster (node:net:1920:12)
at doListen (node:net:2069:7)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.service: Failed with result 'exit-code'.
nodered.service: Scheduled restart job, restart counter is at 20.
Stopped Node-RED graphical event wiring tool.
Started Node-RED graphical event wiring tool.
23 Aug 09:13:12 - [warn] [node-red-contrib-oauth2] Node module cannot be loaded on this version. Requires: 4.0.2
23 Aug 09:13:16 - [warn] ------------------------------------------------------
23 Aug 09:13:16 - [warn] [node-red-contrib-v8-cpu-profiler/v8-cpu-profiler] Error: Cannot find module '/home/ubuntu/.node-red/node_modules/v8-profiler-next/build/binding/Release/node-v115-linux-x64/profiler.node'
Require stack:
- /home/ubuntu/.node-red/node_modules/v8-profiler-next/lib/binding.js
- /home/ubuntu/.node-red/node_modules/v8-profiler-next/dispatch.js
- /home/ubuntu/.node-red/node_modules/node-red-contrib-v8-cpu-profiler/v8_cpu_profiler.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/loader.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/index.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/index.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/index.js
- /usr/lib/node_modules/node-red/lib/red.js
- /usr/lib/node_modules/node-red/red.js
23 Aug 09:13:16 - [warn] ------------------------------------------------------
23 Aug 09:13:16 - [warn] Missing node modules:
23 Aug 09:13:16 - [warn] - node-red-contrib-oauth2 (4.0.1): oauth2, oauth2-credentials
23 Aug 09:13:16 - [warn] Projects disabled : editorTheme.projects.enabled=false
(node:9668) [DEP0128] DeprecationWarning: Invalid 'main' field in '/home/ubuntu/.node-red/node_modules/node-blob/package.json' of 'server.js'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
23 Aug 09:13:16 - [error] Uncaught Exception:
23 Aug 09:13:16 - [error] Error: listen EADDRINUSE: address already in use 0.0.0.0:18800
at Server.setupListenHandle [as _listen2] (node:net:1872:16)
at listenInCluster (node:net:1920:12)
at doListen (node:net:2069:7)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.service: Failed with result 'exit-code'.
!!