This night I had a power fault.
After that my node-red does'nt open correctly and crash.
I have no idea about what to do.
I saw a similar old thread and I tried to start in --safe mode node-red. Unfortunately I was not able to enter the editor as node-red halts with a white screen.
The " Unknown context store 'ram' specified" message worried me as I used "ram" since a couple years.
roberto@RCORE:~ $ node-red-start --safe
Start Node-RED
Once Node-RED has started, point a browser at http://192.168.1.37:1880
On Pi Node-RED works better with the Firefox or Chrome browser
Use node-red-stop to stop Node-RED
Use node-red-start to start Node-RED again
Use node-red-log to view the recent log output
Use sudo systemctl enable nodered.service to autostart Node-RED at every boot
Use sudo systemctl disable nodered.service to disable autostart on boot
To find more nodes and example flows - go to http://flows.nodered.org
Starting as a systemd service.
15 Jul 17:06:21 - [info]
Welcome to Node-RED
===================
15 Jul 17:06:21 - [info] Node-RED version: v4.0.0
15 Jul 17:06:21 - [info] Node.js version: v20.14.0
15 Jul 17:06:21 - [info] Linux 6.6.31+rpt-rpi-2712 arm64 LE
15 Jul 17:06:21 - [info] Loading palette nodes
15 Jul 17:06:22 - [info] Settings file : /home/roberto/.node-red/settings.js
15 Jul 17:06:22 - [info] Context store : 'default' [module=memory]
15 Jul 17:06:22 - [info] User directory : /home/roberto/.node-red
15 Jul 17:06:22 - [info] Projects directory: /home/roberto/.node-red/projects
15 Jul 17:06:22 - [warn] No active project : using default flows file
15 Jul 17:06:22 - [info] Flows file : /home/roberto/.node-red/flows.json
15 Jul 17:06:22 - [info] Server now running at http://127.0.0.1:1880/
15 Jul 17:06:22 - [warn]
---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
15 Jul 17:06:22 - [info] Starting flows
15 Jul 17:06:22 - [info] Started flows
15 Jul 17:06:22 - [info] [zigbee2mqtt-server:CORE] MQTT Connected
15 Jul 17:06:22 - [info] [mqtt-broker:OLL] Connected to broker: mqtt://192.168.1.37:1883
15 Jul 17:06:22 - [info] [alexa-remote-account:alexa] intialising "alexa" with the PROXY method and saved data...
15 Jul 17:06:23 - [info] [zigbee2mqtt-server:CORE] MQTT Subscribed to: "zigbee2mqtt/#
15 Jul 17:06:23 - [warn] Unknown context store 'ram' specified. Using default store.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:BT-LUCI-LETTO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:PR_SALOTTO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:PR_SALOTTO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:TH_MATTEO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:MT_STANZINO-MURO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:MT-STANZINOINGRESSO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:MT_CUCINA-MURO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:MT_CUCINA-MURO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:SW_UCINA-SOFFITTO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:SW05-CUCINA] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:WL_CUCINA-LAVELLO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:WL_CUCINA-LAVELLO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:LU_CUCINA-TERRAZZO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:PS_SALOTTO-LIBRERIA] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:TH_SALOTTO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:TR_SALOTTO-FINESTRA] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:TR_SALOTTO-BALCONE] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:SW_SALOTTO-BALCONE] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:MT_INGRESSO-MURO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:MT-INGRESSO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:MT_CORRIDOIO-INGRESSO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:MT_CORRIDOIO-INGRESSO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:MT_CORRIDOIO-LETTO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:MT_CORRIDOIO-LETTO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:PR_CUCINA-CAPPA] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:PR_CUCINA-CAPPA] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:SW_CUCINA-BALCONE] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:SW-CUCINA-BALCONE] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:SW_CUCINA-SERRANDA] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:SW_DOCCIA-SPECCHIO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:SW_DOCCIA-SOFFITTO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:PR-DOCCIA-SOFFITTO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:PR_DOCCIA-SOFFITTO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:PL_LETTO-COMODINO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:TR_LETTO-FINESTRA] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:SW_BAGNO-SPECCHIO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:SW_BAGNO-SOFFITTO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:MT_BAGNO-MURO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:MT_BAGNO-MURO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:TH_LETTO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:SW_MATTEO-SOFFITTO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:SW_IACOPO-SOFFITTO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:SW_IACOPO-BALCONE] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:TH_DOCCIA] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:TH_TERRAZZO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:WL_SALOTTO-TERMOSIFONE] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:WL-SALOTTO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:WL_CUCINA-LAVELLO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:WL_INGRESSO-TERMOSIFONE] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [warn] [zigbee2mqtt-in:WL_INGRESSO] You need to turn on the "retain" option for the device in Zigbee2MQTT to be able to read it before a state change.
15 Jul 17:06:23 - [info] [vsh-connection:roberto_brunialti@tiscali.it] MQTT: attempting connection: a1pv0eq8s016ut-ats.iot.eu-west-1.amazonaws.com:8883 (clientId: vsht-350c0237-04ec-4a1d-a8d0-5d405f77f486)
15 Jul 17:06:23 - [red] Uncaught Exception:
15 Jul 17:06:23 - [error] TypeError: Configuration is not a constructor
at main._inputCallback (/home/roberto/.node-red/node_modules/node-red-contrib-custom-chatgpt/chatgpt.js:31:35)
at /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/Node.js:214:26
at Object.trigger (/usr/lib/node_modules/node-red/node_modules/@node-red/util/lib/hooks.js:166:13)
at Node._emitInput (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/Node.js:206:11)
at Node.emit (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/Node.js:190:25)
at Node.receive (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/Node.js:499:10)
at deliverMessageToDestination (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/flows/Flow.js:803:40)
at Immediate.<anonymous> (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/flows/Flow.js:819:21)
at process.processImmediate (node:internal/timers:478:21)
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.service: Failed with result 'exit-code'.
nodered.service: Consumed 3.367s CPU time.