Node red does not start after update (loading pallete nodes)

Hi all,

I installed an update for node red and that killed it i think.
After some fondeling arround including deinstalling and installing i found the following:
Node red begins starting and when it has to load the pallete nodes the following occurs:

3 Feb 08:31:53 - [info] Loading palette nodes
Terminated

Than it shuts down Node Red.
I do not know how to solve this. Is there anybody that can help me?

Add-on version: 6.0.3
You are running the latest version of this add-on.
System: HassOS 3.8 (armv7 / raspberrypi3)
Home Assistant version: 0.104.3
Supervisor version: 195

Thanks, Geert

Full 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... 
-----------------------------------------------------------
 Hass.io Add-on: Node-RED
 Flow-based programming for the Internet of Things
-----------------------------------------------------------
 Add-on version: 6.0.3
 You are running the latest version of this add-on.
 System: HassOS 3.8  (armv7 / raspberrypi3)
 Home Assistant version: 0.104.3
 Supervisor version: 195
-----------------------------------------------------------
 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... 
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] nginx.sh: executing... 
[cont-init.d] nginx.sh: exited 0.
[cont-init.d] node-red.sh: executing... 
patching file nodes/ui_base.html
Hunk #1 succeeded at 1243 (offset 712 lines).
audited 4 packages in 6.33s
found 0 vulnerabilities
[cont-init.d] node-red.sh: exited 0.
[cont-init.d] user.sh: executing... 
[cont-init.d] user.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[08:29:22] INFO: Starting Node-RED...
[services.d] done.
> hassio-addon-node-red@ start /opt
> node $NODE_OPTIONS node_modules/node-red/red.js "--settings" "/etc/node-red/config.js"
3 Feb 08:31:50 - [info] 
Welcome to Node-RED
===================
3 Feb 08:31:50 - [info] Node-RED version: v1.0.3
3 Feb 08:31:50 - [info] Node.js  version: v12.14.0
3 Feb 08:31:50 - [info] Linux 4.19.93-v7 arm LE
3 Feb 08:31:53 - [info] Loading palette nodes
Terminated
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing... 
[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.

HI,
I had the same issue, mine turned out to be a faulty node module: node-red-contrib-xiaomi-smart-devices

To fix this issue, install the samba addon for home assistant. browser to the config folder and back up the folder called node-red to your desktop. then delete the folder from your pi or computer and restart Node-Red.

when it starts back up just open up the flow.json file from your backup on the desktop and import it back into node red when it loads up.

start by installing all the modules one by one and refresh your browser. you will find out very quickly which module is breaking node-red.

1 Like

i have two year with node red and less 2 days with ha.