NODE-RED Crashing after rolling back to previous backup

Hey all,

I’ve recently made the mistake of updating node-red-contrib-home-assistant-websocket to version 0.62.2 thru the Manage Palette menu.

This has caused all my home assistant nodes to be missing after the update.

Thankfully, I had done a Full Backup recently thru Settings → Systems → Backups and so I restored my entire home assistant back to that version.

Shortly after rolling back I’ve been noticing that my NODE-RED crashing pretty often.

Its pretty random, sometimes it would stay running for hours but sometimes only minutes.

Now, I did make some changes to some of the nodes in my flows right before updating to websocket 0.62.2, so I havent gotten any chance to test my flows before I did the system restore. And so I actually re-did the same changes to my flows after the full system restore.

So, im not entirely sure if its the changes in the flows that has caused NODE-RED to crash or if its the system restore that has caused it to crash.

I’ve noticed that everytime NODE-RED crashes i’ve been getting consistently the same errors messages from the NODE-RED Logs:

21 Dec 10:32:27 - [red] Uncaught Exception:
21 Dec 10:32:27 - [error] Error: Invalid property expression: unexpected " at position 1
at createError (/opt/node_modules/@node-red/util/lib/util.js:195:13)
at normalisePropertyExpression (/opt/node_modules/@node-red/util/lib/util.js:237:27)
at Object.getObjectProperty (/opt/node_modules/@node-red/util/lib/util.js:428:24)
at Memory._getOne (/opt/node_modules/@node-red/runtime/lib/nodes/context/memory.js:36:26)
at Memory.get (/opt/node_modules/@node-red/runtime/lib/nodes/context/memory.js:52:26)
at Object.value (/opt/node_modules/@node-red/runtime/lib/nodes/context/index.js:349:43)
at CallService.getApiData (/config/node_modules/node-red-contrib-home-assistant-websocket/dist/nodes/call-service/controller.js:129:40)
at CallService.onInput (/config/node_modules/node-red-contrib-home-assistant-websocket/dist/nodes/call-service/controller.js:74:30)
at CallService.preOnInput (/config/node_modules/node-red-contrib-home-assistant-websocket/dist/nodes/BaseNode.js:208:18)
at /opt/node_modules/@node-red/runtime/lib/nodes/Node.js:210:26
[10:32:27] INFO: Service Node-RED exited with code 1 (by signal 0)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service nginx: stopping
[10:32:27] INFO: Service NGINX exited with code 0 (by signal 0)
s6-rc: info: service nginx successfully stopped
s6-rc: info: service init-nginx: stopping
s6-rc: info: service nodered: stopping
s6-rc: info: service init-nginx successfully stopped
s6-rc: info: service nodered successfully stopped
s6-rc: info: service init-nodered: stopping
s6-rc: info: service init-nodered successfully stopped
s6-rc: info: service init-customizations: stopping
s6-rc: info: service init-customizations successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

Any idea what this could be?

Any help is greatly appreciated =)

Thanks in advance !

I have the same problem and when I update the palette and restart Node Red, the palette uninstalls…
What is going on ?

I am having the same problem with upgrading the palette, it uninstalls it. I have had Node-Red crashing once in a while and it won’t restart without rebooting the whole thing. I am running on a rpi4.