SOLVED: NodeRED, nodes missing and unable to install from palette after. HA Backup Restore

I had to restore HA from a backup today everything seemed to go well. Everything seems to be functional except Node RED.

Of particular note is this from the logs : [19:19:12] WARNING: Failed un-installing conflicting packages

I have tried restoring the back-up again just for the NodeRED Component and that did not work either.

Add-on version: 19.0.2
** You are running the latest version of this add-on.**
** System: Home Assistant OS 15.2 (aarch64 / odroid-n2)**
** Home Assistant Core: 2025.4.3**
** Home Assistant Supervisor: 2025.04.0**

I am getting the following errors:

When I start NodeRED:

When I try to install a missing node from the Manage Palette

-----------------------------------------------------------

2025-04-22T09:33:26.153Z Install : node-red-contrib-tado-client 1.1.1

2025-04-22T09:33:26.610Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --omit=dev --engine-strict [email protected]

2025-04-22T09:33:33.792Z [err] npm warn deprecated [email protected]: this package is deprecated please use https://github.com/xmppjs/xmpp.js

2025-04-22T09:33:33.958Z [err] npm warn deprecated [email protected]: this library is no longer supported

2025-04-22T09:33:34.025Z [err] npm warn deprecated [email protected]: Use your platform's native atob() and btoa() methods instead

2025-04-22T09:33:34.089Z [err] npm warn deprecated [email protected]: this package is deprecated please use https://github.com/xmppjs/xmpp.js

2025-04-22T09:33:34.159Z [err] npm warn deprecated [email protected]: use @xmpp/xml package <https://www.npmjs.com/package/@xmpp/xml>

2025-04-22T09:33:34.232Z [err] npm warn deprecated [email protected]: Use your platform's native DOMException instead

2025-04-22T09:33:34.437Z [err] npm warn deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.

2025-04-22T09:33:34.588Z [err] npm warn deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142

2025-04-22T09:33:34.861Z [err] npm warn deprecated [email protected]: this package is deprecated please use https://www.npmjs.com/package/@xmpp/client

2025-04-22T09:33:35.487Z [err] npm warn deprecated [email protected]: 2.x is no longer supported, 3.x published as @viz-js/viz

2025-04-22T09:33:37.049Z [err] npm error code E404

2025-04-22T09:33:37.050Z [err] npm error 404 Not Found - GET https://registry.npmjs.org/node-red-contrib-stoptimer3/-/node-red-contrib-stoptimer3-0.1.2.tgz - Not found

2025-04-22T09:33:37.050Z [err] npm error 404

2025-04-22T09:33:37.050Z [err] npm error 404 'node-red-contrib-stoptimer3@https://registry.npmjs.org/node-red-contrib-stoptimer3/-/node-red-contrib-stoptimer3-0.1.2.tgz' is not in this registry.

2025-04-22T09:33:37.050Z [err] npm error 404

2025-04-22T09:33:37.050Z [err] npm error 404 Note that you can also install from a

2025-04-22T09:33:37.050Z [err] npm error 404 tarball, folder, http url, or git url.

2025-04-22T09:33:37.054Z [err] npm error A complete log of this run can be found in: /root/.npm/_logs/2025-04-22T09_33_26_836Z-debug-0.log

2025-04-22T09:33:37.109Z rc=1

NodeRED Logs

-----------------------------------------------------------

Add-on: Node-RED

Flow-based programming for the Internet of Things

-----------------------------------------------------------

Add-on version: 19.0.2

You are running the latest version of this add-on.

System: Home Assistant OS 15.2 (aarch64 / odroid-n2)

Home Assistant Core: 2025.4.3

Home Assistant Supervisor: 2025.04.0

-----------------------------------------------------------

Please, share the above information when looking for help

or support in, e.g., GitHub, forums or the Discord chat.

-----------------------------------------------------------

s6-rc: info: service base-addon-banner successfully started

s6-rc: info: service fix-attrs: starting

s6-rc: info: service base-addon-log-level: starting

s6-rc: info: service fix-attrs successfully started

s6-rc: info: service base-addon-log-level successfully started

s6-rc: info: service legacy-cont-init: starting

s6-rc: info: service legacy-cont-init successfully started

s6-rc: info: service init-nginx: starting

s6-rc: info: service init-customizations: starting

s6-rc: info: service init-customizations successfully started

s6-rc: info: service init-nodered: starting

s6-rc: info: service init-nginx successfully started

npm warn deprecated [email protected]: use @xmpp/xml package <https://www.npmjs.com/package/@xmpp/xml>

npm warn deprecated [email protected]: this package is deprecated please use https://github.com/xmppjs/xmpp.js

npm warn deprecated [email protected]: this package is deprecated please use https://github.com/xmppjs/xmpp.js

npm warn deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.

npm warn deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142

npm warn deprecated [email protected]: this library is no longer supported

npm warn deprecated [email protected]: Use your platform's native DOMException instead

npm warn deprecated [email protected]: Use your platform's native atob() and btoa() methods instead

npm warn deprecated [email protected]: this package is deprecated please use https://www.npmjs.com/package/@xmpp/client

npm warn deprecated [email protected]: 2.x is no longer supported, 3.x published as @viz-js/viz

npm error code E404

npm error 404 Not Found - GET https://registry.npmjs.org/node-red-contrib-stoptimer3/-/node-red-contrib-stoptimer3-0.1.2.tgz - Not found

npm error 404

npm error 404 'node-red-contrib-stoptimer3@https://registry.npmjs.org/node-red-contrib-stoptimer3/-/node-red-contrib-stoptimer3-0.1.2.tgz' is not in this registry.

npm error 404

npm error 404 Note that you can also install from a

npm error 404 tarball, folder, http url, or git url.

npm error A complete log of this run can be found in: /root/.npm/_logs/2025-04-22T09_18_55_187Z-debug-0.log

[19:19:12] WARNING: Failed un-installing conflicting packages

s6-rc: info: service init-nodered successfully started

s6-rc: info: service nodered: starting

s6-rc: info: service nodered successfully started

s6-rc: info: service nginx: starting

s6-rc: info: service nginx successfully started

s6-rc: info: service legacy-services: starting

s6-rc: info: service legacy-services successfully started

[19:19:12] INFO: Starting Node-RED...

> start

> node $NODE_OPTIONS node_modules/node-red/red.js --settings /etc/node-red/config.js

22 Apr 19:19:14 - [info]

Welcome to Node-RED

===================

22 Apr 19:19:14 - [info] Node-RED version: v4.0.9

22 Apr 19:19:14 - [info] Node.js version: v22.13.1

22 Apr 19:19:14 - [info] Linux 6.12.23-haos arm64 LE

22 Apr 19:19:14 - [info] Loading palette nodes

22 Apr 19:19:15 - [info] Node-RED Contrib Theme Collection version: v4.0.11

22 Apr 19:19:17 - [info] Dashboard version 3.6.5 started at /endpoint/ui

(node:321) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.

(Use `node --trace-deprecation ...` to show where the warning was created)

22 Apr 19:19:18 - [info] node-red-contrib-home-assistant-websocket v0.75.0 nodes initialized

22 Apr 19:19:19 - [warn] Missing node modules:

22 Apr 19:19:19 - [warn] - node-red-contrib-daylight-rgbw (2.2.1): daylight-rgbw, animate-rgbw

22 Apr 19:19:19 - [warn] - node-red-contrib-tado-client (1.1.1): tado-token, tado-config, tado, tadox-token, tadox-config, tadox

22 Apr 19:19:19 - [warn] - node-red-contrib-stoptimer3 (0.1.2): stoptimer3

22 Apr 19:19:19 - [warn] - node-red-contrib-msg-resend (1.0.0): msg-resend

22 Apr 19:19:19 - [warn] - node-red-contrib-harmony-extra (1.0.1): H command, H press, H release, H hold, H GetActivity, H activity, H observe, H GetActivities, H GetCommands, harmony-server

22 Apr 19:19:19 - [warn] - node-red-contrib-time-of-day (0.0.4): time-of-day

22 Apr 19:19:19 - [warn] - node-red-contrib-castv2 (4.3.0): castv2-connection, castv2-sender

22 Apr 19:19:19 - [warn] - node-red-contrib-jsonfilter (0.1.0): JSONFilter

22 Apr 19:19:19 - [warn] - node-red-contrib-zigbee2mqtt (2.7.5): zigbee2mqtt-in, zigbee2mqtt-get, zigbee2mqtt-out, zigbee2mqtt-bridge, zigbee2mqtt-server

22 Apr 19:19:19 - [warn] - node-red-contrib-zigbee2mqtt-devices (0.20.0): bridge-log, zigbee2mqtt-bridge-config, zigbee2mqtt-device-config, eurotronic-spirit, hue-dimmer-switch, ikea-dimmer, ikea-remote, ikea-dimmer-v2, ikea-styrbar, scenic-foh-switch, sonoff-button, tasmota, tint-remote, generic-lamp, send-messages, button-switch, device-status, get-lamp-state, shelly-config, shelly-25, ota-update, override-state, override-brightness, override-temperature, override-color, override-action, scene-in, scene-selector, contact-sensor, occupancy-sensor, climate-sensor

22 Apr 19:19:19 - [warn] - @jorgelserve/node-red-contrib-ssh-v3 (1.0.5): ssh-v3

22 Apr 19:19:19 - [warn] - node-red-contrib-telnet-client (1.0.4): telnet-connection, telnet-read, telnet-send, telnet-request, telnet-echo

22 Apr 19:19:19 - [warn] - node-red-contrib-dsm (0.14.1): dsm

22 Apr 19:19:19 - [warn] - node-red-contrib-light-transition (1.8.1): light-transition

22 Apr 19:19:19 - [warn] - thingzi-logic-climate (1.1.1): thingzi-climate

22 Apr 19:19:19 - [warn] - thingzi-logic-timers (1.4.6): thingzi-timer, thingzi-time-check, thingzi-schedule, thingzi-activity

22 Apr 19:19:19 - [warn] - node-red-contrib-persist (1.1.1): persist-store, persist in, persist out

22 Apr 19:19:19 - [warn] - @waldbaer/node-red-persistent-values (1.6.1): persistent values config, persistent value

22 Apr 19:19:19 - [warn] - @bitpoolos/edge-modbus (1.5.9): bp-device, bp-reader, bp-decoder, bp-display, bp-modbus-io-config, bp-modbus-client

22 Apr 19:19:19 - [warn] - node-red-contrib-string-filter (0.0.1): string-filter

22 Apr 19:19:19 - [warn] - node-red-contrib-blockly (2.4.1): Blockly, blockly-config

22 Apr 19:19:19 - [warn] - node-red-filter-filename (0.0.2): filter-filename

22 Apr 19:19:19 - [warn] - smart-nodes (0.4.21): smart_light-control, smart_scene-control, smart_shutter-control, smart_shutter-complex-control, smart_long-press-control, smart_multi-press-control, smart_logic, smart_forwarder, smart_compare, smart_hysteresis, smart_statistic, smart_counter, smart_scheduler, smart_delay, smart_central-control, smart_mixing-valve, smart_heating-curve, smart_text-exec

22 Apr 19:19:19 - [warn] - node-red-contrib-vib-smart-scheduler (0.1.55): smart-scheduler, smart-scheduler-settings

22 Apr 19:19:19 - [info] Removing modules from config

22 Apr 19:19:19 - [info] Settings file : /etc/node-red/config.js

22 Apr 19:19:19 - [info] Context store : 'default' [module=memory]

22 Apr 19:19:19 - [info] User directory : /config/

22 Apr 19:19:19 - [warn] Projects disabled : editorTheme.projects.enabled=false

22 Apr 19:19:19 - [info] Flows file : /config/flows.json

22 Apr 19:19:19 - [info] Server now running at http://127.0.0.1:46836/

22 Apr 19:19:19 - [info] Waiting for missing types to be registered:

22 Apr 19:19:19 - [info] - harmony-server

22 Apr 19:19:19 - [info] - zigbee2mqtt-bridge-config

22 Apr 19:19:19 - [info] - tado-config

22 Apr 19:19:19 - [info] - stoptimer3

22 Apr 19:19:19 - [info] - msg-resend

22 Apr 19:19:19 - [info] - time-of-day

22 Apr 19:19:19 - [info] - ssh-v3

22 Apr 19:19:19 - [info] - light-transition

22 Apr 19:19:19 - [info] - tado

22 Apr 19:19:19 - [info] - tado-token

22 Apr 19:19:19 - [info] - H press

22 Apr 19:19:19 - [info] - H release

22 Apr 19:19:19 - [info] - H activity

22 Apr 19:19:19 - [info] - H command

22 Apr 19:19:19 - [info] - filter-filename

[19:19:19] INFO: Starting NGinx...

22 Apr 19:20:22 - [info] Installing module: node-red-contrib-harmony-extra, version: 1.0.1

22 Apr 19:20:33 - [warn] Installation of module node-red-contrib-harmony-extra failed:

22 Apr 19:20:33 - [warn] ------------------------------------------

22 Apr 19:20:33 - [warn] npm warn deprecated [email protected]: this package is deprecated please use https://github.com/xmppjs/xmpp.js

npm warn deprecated [email protected]: this library is no longer supported

npm warn deprecated [email protected]: Use your platform's native atob() and btoa() methods instead

npm warn deprecated [email protected]: this package is deprecated please use https://github.com/xmppjs/xmpp.js

npm warn deprecated [email protected]: use @xmpp/xml package <https://www.npmjs.com/package/@xmpp/xml>

npm warn deprecated [email protected]: Use your platform's native DOMException instead

npm warn deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.

npm warn deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142

npm warn deprecated [email protected]: this package is deprecated please use https://www.npmjs.com/package/@xmpp/client

npm warn deprecated [email protected]: 2.x is no longer supported, 3.x published as @viz-js/viz

npm error code E404

npm error 404 Not Found - GET https://registry.npmjs.org/node-red-contrib-stoptimer3/-/node-red-contrib-stoptimer3-0.1.2.tgz - Not found

npm error 404

npm error 404 'node-red-contrib-stoptimer3@https://registry.npmjs.org/node-red-contrib-stoptimer3/-/node-red-contrib-stoptimer3-0.1.2.tgz' is not in this registry.

npm error 404

npm error 404 Note that you can also install from a

npm error 404 tarball, folder, http url, or git url.

npm error A complete log of this run can be found in: /root/.npm/_logs/2025-04-22T09_20_23_046Z-debug-0.log

22 Apr 19:20:33 - [warn] ------------------------------------------

Error: Install failed

at /opt/node_modules/@node-red/registry/lib/installer.js:290:25

at processTicksAndRejections (node:internal/process/task_queues:105:5)

22 Apr 19:20:33 - [error] Error: Install failed

22 Apr 19:33:26 - [info] Installing module: node-red-contrib-tado-client, version: 1.1.1

22 Apr 19:33:37 - [warn] Installation of module node-red-contrib-tado-client failed:

22 Apr 19:33:37 - [warn] ------------------------------------------

22 Apr 19:33:37 - [warn] npm warn deprecated [email protected]: this package is deprecated please use https://github.com/xmppjs/xmpp.js

npm warn deprecated [email protected]: this library is no longer supported

npm warn deprecated [email protected]: Use your platform's native atob() and btoa() methods instead

npm warn deprecated [email protected]: this package is deprecated please use https://github.com/xmppjs/xmpp.js

npm warn deprecated [email protected]: use @xmpp/xml package <https://www.npmjs.com/package/@xmpp/xml>

npm warn deprecated [email protected]: Use your platform's native DOMException instead

npm warn deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.

npm warn deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142

npm warn deprecated [email protected]: this package is deprecated please use https://www.npmjs.com/package/@xmpp/client

npm warn deprecated [email protected]: 2.x is no longer supported, 3.x published as @viz-js/viz

npm error code E404

npm error 404 Not Found - GET https://registry.npmjs.org/node-red-contrib-stoptimer3/-/node-red-contrib-stoptimer3-0.1.2.tgz - Not found

npm error 404

npm error 404 'node-red-contrib-stoptimer3@https://registry.npmjs.org/node-red-contrib-stoptimer3/-/node-red-contrib-stoptimer3-0.1.2.tgz' is not in this registry.

npm error 404

npm error 404 Note that you can also install from a

npm error 404 tarball, folder, http url, or git url.

npm error A complete log of this run can be found in: /root/.npm/_logs/2025-04-22T09_33_26_836Z-debug-0.log

22 Apr 19:33:37 - [warn] ------------------------------------------

Error: Install failed

at /opt/node_modules/@node-red/registry/lib/installer.js:290:25

at processTicksAndRejections (node:internal/process/task_queues:105:5)

22 Apr 19:33:37 - [error] Error: Install failed

CAUSE
Error code 404 for node-red-contrib-stoptimer3 was caused by the node being removed from Library - Node-RED. I had downloaded it when it was available.

During the back-up and restore process, NodeRED needs to re-install all nodes. The 404 error caused it to stop installing the other nodes.

2025-04-22T09:33:37.049Z [err] npm error code E404

2025-04-22T09:33:37.050Z [err] npm error 404 Not Found - GET https://registry.npmjs.org/node-red-contrib-stoptimer3/-/node-red-contrib-stoptimer3-0.1.2.tgz - Not found

2025-04-22T09:33:37.050Z [err] npm error 404

2025-04-22T09:33:37.050Z [err] npm error 404 'node-red-contrib-stoptimer3@https://registry.npmjs.org/node-red-contrib-stoptimer3/-/node-red-contrib-stoptimer3-0.1.2.tgz' is not in this registry.

SOLUTION

With the help of Chat GPT. FULLY RECOVERED. I can recommend pasting the logs contained in my original post, into Chat GPT to help identify the offending Node.

:white_check_mark: Step-by-Step: Modify package.json

  1. Stop the Node-RED add-on from the Home Assistant UI:

  2. Open your package.json file in /addon_configs/. I did this via via the file editor add-on:

bash

CopyEdit

/addon_configs/a0d7b954_nodered/package.json

Keep hitting back button in File Editor to get to root of drive.

  1. Locate the line referencing node-red-contrib-stoptimer3, e.g.:

json

CopyEdit

"node-red-contrib-stoptimer3": "0.1.2"
  1. Modify it to a valid version, I found that node-red-contrib-stoptimer3 did not exist anymore, I changed it to node-red-contrib-stoptimer2 after seraching Library - Node-RED

json

CopyEdit

"node-red-contrib-stoptimer2": "0.1.1"

Or, if you no longer use it:

json

CopyEdit

// Just remove the entire line.
  1. Save the file:

  2. Restart the Node-RED add-on from the Home Assistant UI:

All the other nodes have loaded now, I am working through my flows to replace all the timers I had in place.

,

  1. Check previous config for each timer Right click on each unknown:stoptimer3, Select Export and check the duration.

  1. Replace each node with stoptimer2 nodes
  2. In the end I replaced all Stoptimer2 nodes with built in Delay nodes to hopefully prevent this happening again