Node red always restarts with this error message

nodered.service: Main process exited, code=killed, status=6/ABRT
nodered.service: Failed with result 'signal'.

How can I fix it?

Runing on rpi 4 64 bit

How did you install node red and how are you starting it?

What do you see if you run
node-red
In a command window?
Copy/paste the output please, not screenshot.

Can you start in SAFE - Mode ?

i found that the flow below killed node-red.
It seems that 6 template nodes within this flow are responsible for this crash.
I tested it with 2 and it worked but with 6 it crashes.
please have a look at these nodes which have styles.
As I am am not experienced with CSS thats most probabely the reason for the crash.

Aquara-thp-sensor-1.txt (45.1 KB)

sory, to big for preformated text

You don't appear to have answered any of the questions I asked.

Hannes@raspberrypi:~ $ node-red
23 Nov 17:08:22 - [info]

Willkommen bei Node-RED

23 Nov 17:08:22 - [info] Node-RED Version: v4.0.5
23 Nov 17:08:22 - [info] Node.js Version: v20.18.1
23 Nov 17:08:22 - [info] Linux 6.6.51+rpt-rpi-v8 arm64 LE
23 Nov 17:08:22 - [info] Paletten-Nodes werden geladen
23 Nov 17:08:25 - [info] Einstellungsdatei: /home/Hannes/.node-red/settings.js
23 Nov 17:08:25 - [info] Kontextspeicher: default [module=memory]
23 Nov 17:08:25 - [info] Benutzerverzeichnis: /home/Hannes/.node-red
23 Nov 17:08:25 - [warn] Projekte deaktiviert: editorTheme.projects.enabled=false
23 Nov 17:08:25 - [info] Flow-Datei: /home/Hannes/.node-red/flows.json
23 Nov 17:08:25 - [error] Ãberwachen (listen) von http://127.0.0.1:1880/ nicht möglich
23 Nov 17:08:25 - [error] Fehler: Port wird verwendet
Hannes@raspberrypi:~ $


btw: on the same rpi runs zigbee2mqtt

I will try again

  1. How did you install node red?
  2. How do you start node-red normally
  3. I should have said what do you see if you run node-red after stopping node red. The port not available message is probably because node-red is already running. Please do this with the failing flow so we can see the error that causes node-red to restart.

Hi Colin,
thanks for your support!
It is runing now. I migrated my application from my old RPI with dashboard 1 to a new one with dashboard 2. Then I copied my flows to the new one. Unfortunately I copied the template nodes as well and I think they did not work with DB2 and crashed. I rewrote this specific flow with DB 2 template nodes and now it works.