Node-red Addon stopped running after update

Hi!

After the last update I did on Home, Node also had this problem, does anyone know of a solution?

Node-RED LOG

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing... 
-----------------------------------------------------------
 Add-on: Node-RED
 Flow-based programming for the Internet of Things
-----------------------------------------------------------
 Add-on version: 2
 You are running the latest version of this add-on.
 System: Home Assistant OS 10.0  (amd64 / generic-x86-64)
 Home Assistant Core: 2023.3.6
 Home Assistant Supervisor: 2023.04.0
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
Log level is set to INFO
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] customizations.sh: executing... 
[cont-init.d] customizations.sh: exited 0.
[cont-init.d] nginx.sh: executing... 
[cont-init.d] nginx.sh: exited 0.
[cont-init.d] node-red.sh: executing... 
patch: **** out of memory
[cont-init.d] node-red.sh: exited 2.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing... 
-----------------------------------------------------------
                Oops! Something went wrong.

 We are so sorry, but something went terribly wrong when
 starting or running this add-on.
 
 Be sure to check the log above, line by line, for hints.
-----------------------------------------------------------
[cont-finish.d] 99-message.sh: exited 0.
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

.

UPDATE:

Was fixed in Release v14.1.3 · hassio-addons/addon-node-red · GitHub

I am getting the same behaviour and error as well.

Same, Node Red no longer seems to auto start, and last nigh tit wouldn’t start manually - though this morning it does seems to be working.
Node Red 14.1.14, OS 10.0, Core 23.4.4

Same here, Node-red doesn’t auto start. After a manual start, it stops within a minute.

Add-on version: 14.1.4
You are running the latest version of this add-on.
System: Home Assistant OS 10.0 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2023.4.5
Home Assistant Supervisor: 2023.04.0

Last messages in the log:

[06:44:47] INFO: Starting Node-RED…

start
node $NODE_OPTIONS node_modules/node-red/red.js --settings /etc/node-red/config.js
19 Apr 06:44:55 - [info]
Welcome to Node-RED
===================
19 Apr 06:44:55 - [info] Node-RED version: v3.0.2
19 Apr 06:44:55 - [info] Node.js version: v18.14.2
19 Apr 06:44:55 - [info] Linux 6.1.21-v8 arm64 LE
19 Apr 06:44:59 - [info] Loading palette nodes

no error messages…

Same here.

And the rollback to an older version of HA doesn’t work either. My house is not automatized :frowning:

Got it working again.
I did a restart of the system (under restart → advanced options). And now node-red is working again.
Before i did a Home Assisant restart, some how it did work.

i hope this helps

I submitted the issue to Github and got a reply:

“You are running a version from last year, upgrade to the latest one. (Was fixed in Release v14.1.3 · hassio-addons/addon-node-red · GitHub)”

In my case I had an older version of the add-on running, even though no update was indicated. Searching the add-on store and installing the latest version 14.1.4 seems to have fixed the problem.

1 Like

@blackshoals this worked for me!
Thank you very much!