I cannot update Node Red and keep it functioning. I can update home assistant without issues, but when after updating node red, it starts but uses about 50% of the rpi4 processor, runs slowly, sometimes a flow works, but then often crashes. Everything works with Node Red 10.0.1 and Home Assistant 2022.9.6. I have tried exporting flows, uninstalling node red, deleting node red folder in config, reinstalling node red, and importing flows, but the problem persists. What can I do?
What do the logs show? When you do a clean reinstall before adding your old flows does it work ok?
Logs are clean. Even when just doing an update to 13.1 rather than uninstall, delete, and import flows.
Eventually, node red logs have lots of:
- [error] [api-call-service:1eeba684b0d6e035] Call-service error.
Then I think node red crashes and loses connection.
Why would updating node red cause a jump in cpu? What else can I check or do?
14 Oct 10:17:06 - [error] [api-call-service:cb8423c27821bf66] Call-service error.
14 Oct 10:17:09 - [error] [api-call-service:Set Hue Scene Selector] Call-service error.
14 Oct 10:17:13 - [error] [api-call-service:Set Brightness] Call-service error.
14 Oct 10:17:15 - [error] [api-call-service:Set Brightness] Call-service error.
14 Oct 10:17:15 - [info] [server:Home Assistant] Connection closed to http://supervisor/core
14 Oct 10:17:16 - [red] Uncaught Exception:
14 Oct 10:17:16 - [error] UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason “#”.
[10:17:16] WARNING: Node-RED crashed, halting add-on
s6-rc: info: service legacy-services: stopping
[10:17:16] INFO: Node-RED stopped, restarting…
[10:17:16] INFO: Node-RED stopped, restarting…
s6-svwait: fatal: supervisor died
s6-rc: info: service legacy-services 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 fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
I’ve given up unless someone can help me. With multiple updates, Node red 13 uses at least 30% more cpu.