Node-Red Not Working Post Upgrade

Noticed that after upgrading HA to 2024.11.1 that Node-Red has seemingly broke for me. I can access it via the HA add on however most installed nodes are missing, which obviously has broken many flows. The inject and debug nodes are present but broken. I’ve read that some folks have had websocket issues and instructions for work around were to update the websocket in the pallet. I attempted that and also to reinstall missing nodes but get the following error each time I attempt to update or add anything to the pallet.

I did update to 2024.11.2 today and the same issue is present.

NR is on V4.0.3
Any help here is greatly appreciated.

https://pastecode.io/s/v7rfhxrx

-----------------------------------------------------------
2024-11-16T00:11:24.884Z Install : node-red-contrib-home-assistant-websocket 0.74.2

2024-11-16T00:11:24.890Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --omit=dev --engine-strict [email protected]
2024-11-16T00:11:26.496Z [err] npm warn deprecated [email protected]: This module has moved and is now available at @hapi/cryptiles. Please update your dependencies as this version is no longer maintained and may contain bugs and security issues.
2024-11-16T00:11:26.499Z [err] npm warn deprecated [email protected]: This module has moved and is now available at @hapi/boom. Please update your dependencies as this version is no longer maintained and may contain bugs and security issues.
2024-11-16T00:11:26.500Z [err] npm warn deprecated [email protected]: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
2024-11-16T00:11:26.504Z [err] npm warn deprecated [email protected]: this library is no longer supported
2024-11-16T00:11:26.516Z [err] npm warn deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
2024-11-16T00:11:26.534Z [err] npm warn deprecated [email protected]: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
2024-11-16T00:11:26.549Z [err] npm warn deprecated [email protected]: You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other.
2024-11-16T00:11:26.549Z [err] npm warn deprecated
2024-11-16T00:11:26.549Z [err] npm warn deprecated (For a CapTP with native promises, see @endo/eventual-send and @endo/captp)
2024-11-16T00:11:26.588Z [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.
2024-11-16T00:11:26.589Z [err] npm warn deprecated [email protected]: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
2024-11-16T00:11:26.603Z [err] npm warn deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
2024-11-16T00:11:27.137Z [err] npm error code E404
2024-11-16T00:11:27.138Z [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
2024-11-16T00:11:27.138Z [err] npm error 404
2024-11-16T00:11:27.138Z [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.
2024-11-16T00:11:27.138Z [err] npm error 404
2024-11-16T00:11:27.138Z [err] npm error 404 Note that you can also install from a
2024-11-16T00:11:27.138Z [err] npm error 404 tarball, folder, http url, or git url.
2024-11-16T00:11:27.139Z [err] 
2024-11-16T00:11:27.139Z [err] npm error A complete log of this run can be found in: /root/.npm/_logs/2024-11-16T00_11_24_971Z-debug-0.log
2024-11-16T00:11:27.147Z rc=1

Try to start the addon in safe mode and see if that makes it possible to update/remove palettes.
Read the documentation page for more info.

Thanks for the suggestion. I did try safe mode and attempted to update the pallet and also attempted to reinstall the websocket as per this note on Github but did not have any luck. Same error in the logs.

Check that you do not have multiple HA servers listed in Node Red.

Only have a single. Had cleared those out a long while back from importing flows :slight_smile:

The error occurs because the node-red-contrib-stoptimer3 package cannot be found in the npm registry. I checked manually, and it’s not listed. Boot into safe mode, remove the package, and restart Node-RED. If you were using this node in your flows, you’ll need to find an alternative node to replace it.

And also correct the other ones with warnings, because they will error at one point too.

Is disable the same as remove? I can disable in the pallet but have no option to remove.

Have you tried opening Node Red with ipaddress:8123

Did you manage to solve this? I’m struggling, since 2024.11.2 my node red is really broken.

I’m getting the following:
Flows stopped due to missing node types.

  • pushover-keys
  • light-scheduler-settings
  • google-notify-config
  • sonos-config
  • sonosevents-config
  • ttsultimate-config
  • sonos-universal
  • ttsultimate
  • light-scheduler
  • weekday
  • pushover api
  • timerswitch

And If I look at the palettes, node-red-contrib-home-assistant-websocket is not the latest but wont update.
This is the error log.

2024-11-17T13:41:09.924Z Install : node-red-contrib-home-assistant-websocket 0.74.2

2024-11-17T13:41:10.017Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --omit=dev --engine-strict [email protected]

2024-11-17T13:41:26.015Z [err] npm warn deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated

2024-11-17T13:41:26.234Z [err] npm warn deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated

2024-11-17T13:41:26.357Z [err] npm warn deprecated [email protected]: this library is no longer supported

2024-11-17T13:41:26.854Z [err] npm warn deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated

2024-11-17T13:41:28.266Z [err] npm warn deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated

2024-11-17T13:41:28.539Z [err] npm warn deprecated [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies

2024-11-17T13:41:28.564Z [err] npm warn deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.

2024-11-17T13:41:28.626Z [err] npm warn deprecated [email protected]: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau

2024-11-17T13:41:29.828Z [err] npm warn deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142

2024-11-17T13:42:16.953Z [err] npm error code E404

2024-11-17T13:42:16.999Z [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

2024-11-17T13:42:17.000Z [err] npm error 404

2024-11-17T13:42:17.049Z [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.

2024-11-17T13:42:17.049Z [err] npm error 404

2024-11-17T13:42:17.049Z [err] npm error 404 Note that you can also install from a

2024-11-17T13:42:17.049Z [err] npm error 404 tarball, folder, http url, or git url.

2024-11-17T13:42:17.073Z [err]

2024-11-17T13:42:17.073Z [err] npm error A complete log of this run can be found in: /root/.npm/_logs/2024-11-17T13_41_11_342Z-debug-0.log

2024-11-17T13:42:17.304Z rc=1
‘’’

Any ideas?

Forget this, i backed it up, uninstalled the node-red addon, reinstalled and all good!

I downloaded my flows, uninstalled NR and the Companion integration. Reinstalled and uploaded the flows. Back in business!

Am curious why this occurred in the first place. The nodes it was complaining about are working just fine after the reinstall.

Sometimes there are schema updates for node red.
Your affected nodes will then typically be with yellow names, but I have experienced that if you ignore it, then you can suddenly make the yellow text disappear without updating their schema.
The result is that at some point they will simply stop working.

A reinstall will typically download the newest version of the nodes and palettes and the ones the can not find will be errored out in the GUI, instead of keep running with an old version that are not in sync with the schema.

Yesterday, I upgraded my HA from 2024.11.01 to 2024.11.03.

Now, my NodeRed instance (hosted on Docker on a seperate machine) cannot connect to HA.

NR is on V4.0.5
node-red-contrib-home-assistant-websocket is on 0.74.2
HA is on 2024.11.03

2024-11-23T11:18:05.040498153Z
2024-11-23T11:18:05.040507814Z Welcome to Node-RED
2024-11-23T11:18:05.040515423Z ===================
2024-11-23T11:18:05.040522715Z
2024-11-23T11:18:05.041955993Z 23 Nov 11:18:05 - [info] Node-RED version: v4.0.5
2024-11-23T11:18:05.042442465Z 23 Nov 11:18:05 - [info] Node.js version: v20.18.0
2024-11-23T11:18:05.042713926Z 23 Nov 11:18:05 - [info] Linux 6.8.0-49-generic x64 LE
2024-11-23T11:18:05.345274403Z 23 Nov 11:18:05 - [info] Loading palette nodes
2024-11-23T11:18:07.405094295Z 23 Nov 11:18:07 - [info] node-red-contrib-home-assistant-websocket v0.74.2 nodes initialized
2024-11-23T11:18:07.627982968Z 23 Nov 11:18:07 - [info] Settings file : /data/settings.js
2024-11-23T11:18:07.628763219Z 23 Nov 11:18:07 - [info] Context store : ‘default’ [module=memory]
2024-11-23T11:18:07.630216382Z 23 Nov 11:18:07 - [info] User directory : /data
2024-11-23T11:18:07.630812309Z 23 Nov 11:18:07 - [warn] Projects disabled : editorTheme.projects.enabled=false
2024-11-23T11:18:07.632257927Z 23 Nov 11:18:07 - [info] Flows file : /data/flows.json
2024-11-23T11:18:07.691687048Z 23 Nov 11:18:07 - [info] Server now running at http://127.0.0.1:1880/
2024-11-23T11:18:07.743805464Z 23 Nov 11:18:07 - [info] Starting flows
2024-11-23T11:18:07.864850990Z 23 Nov 11:18:07 - [info] Started flows
2024-11-23T11:18:07.870375161Z 23 Nov 11:18:07 - [info] [server:Home Assistant] Connecting to http://homeassistant.home:8123
2024-11-23T11:18:07.951717530Z 23 Nov 11:18:07 - [error] [api-call-service:Turn On Freezer] NoConnectionError
2024-11-23T11:18:07.954583583Z 23 Nov 11:18:07 - [error] [api-call-service:Turn On UPS] NoConnectionError
2024-11-23T11:18:07.957609035Z 23 Nov 11:18:07 - [error] [api-call-service:Turn On Fridge/Freezer] NoConnectionError
2024-11-23T11:18:07.959948120Z 23 Nov 11:18:07 - [error] [api-call-service:Turn On UPS] NoConnectionError
2024-11-23T11:18:07.976190937Z 23 Nov 11:18:07 - [error] [api-call-service:Unmute] NoConnectionError
2024-11-23T11:18:07.979058949Z 23 Nov 11:18:07 - [error] [api-call-service:Unmute] NoConnectionError
2024-11-23T11:18:08.368706635Z 23 Nov 11:18:08 - [error] [api-call-service:Set Variable] NoConnectionError
2024-11-23T11:18:08.848931570Z 23 Nov 11:18:08 - [error] [api-current-state:Cat Flap Battery Level] InputError: Entity could not be found in cache for entityId: sensor.garden_room_battery_level
2024-11-23T11:18:17.918715231Z 23 Nov 11:18:17 - [info] [server:Home Assistant] Connecting to http://homeassistant.home:8123
2024-11-23T11:18:27.936123185Z 23 Nov 11:18:27 - [info] [server:Home Assistant] Connecting to http://homeassistant.home:8123
2024-11-23T11:18:37.942463493Z 23 Nov 11:18:37 - [info] [server:Home Assistant] Connecting to http://homeassistant.home:8123
2024-11-23T11:18:47.957082044Z 23 Nov 11:18:47 - [info] [server:Home Assistant] Connecting to http://homeassistant.home:8123

Is this the same issue?

I created a new LongTerm API Key and applied it, but issue is still the same.