Updating node-red v2.2.3

Which global modules are installed in your case?

ls -l /usr/local/lib/node_modules/

Does this help?
As said, any module you installed via palette manager would need to be reinstalled.

systemctl stop node-red
cd /mnt/dietpi_userdata/node-red
mv node_modules node_modules.bak
sudo -u nodered npm i --no-audit node-red
systemctl start node-red

When I install the node-red-node-serialport from palette manager, I get serialport v11.0.0 added, so indeed a much newer version.

Another question: What is the actual Node.js version?

node -v

Latest is v20.3.1. This can be updated as well via reinstall:

dietpi-software reinstall 9

Afterwards, it it was a significant update, this might not only allow but even require to update Node-RED and its dependencies to function.

No I don’t recall having to install that module.

The ls of global modules lists 16 but only shows 4

total 16
drwxr-xr-x 4 1001 nx   4096 Jun 20 14:13 corepack
drwxr-xr-x 6 root root 4096 Dec 25  2022 node-red-contrib-blynk-iot
drwxr-xr-x 7 1001 nx   4096 Jun 20 14:13 npm
drwxr-xr-x 5 root root 4096 Dec 23  2022 onoff

gave me

npm WARN deprecated loadash@1.0.0: Package is unsupport. Please use the lodash package instead.
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated multer@1.4.4: Multer 1.x is affected by CVE-2022-24434. This is fixed in v1.4.4-lts.1 which drops support for versions of Node.js before 6. Please upgrade to at least Node.js 6 and version 1.4.4-lts.1 of Multer. If you need support for older versions of Node.js, we are open to accepting patches that would fix the CVE on the main 1.x release line, whilst maintaining compatibility with Node.js 0.10.
npm WARN deprecated formidable@1.2.6: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau
npm WARN deprecated uuid@3.4.0: 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 request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated superagent@3.7.0: Please upgrade to v7.0.2+ of superagent.  We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing.  See the releases tab for more information at <https://github.com/visionmedia/superagent/releases>.
npm WARN deprecated superagent@6.1.0: Please upgrade to v7.0.2+ of superagent.  We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing.  See the releases tab for more information at <https://github.com/visionmedia/superagent/releases>.

added 628 packages in 1m

43 packages are looking for funding
  run `npm fund` for details

Gives me the current

v20.3.1

Maybe this is the best option?

Okay, Node.js is latest already. onoff is needed for the Blynk Server.
Side question: Are you still using it and does it still work well with the legacy (Android) app and/or with the Node-RED connector? Quite a pain that support and development for the home server was dropped in favour of their hosted variant.

node-red-contrib-blynk-iot could be installed locally:

npm r -g node-red-contrib-blynk-iot

and then either

cd /mnt/dietpi_userdata/node-red
sudo -u nodered npm i --no-audit node-red-contrib-blynk-iot

or via palette manager.

You did that already. Did it help?

Actually I’ve deleted

I’m using the new Blynk IoT version, but I’ve just removed the old “ws” version (as you say it’s a pain they dropped the home server version) and all nodes no longer in use.

But it still won’t update.

Then I hadn’t removed the unused nodes.

So next I’ll remove all nodes and try again, even if this is successful I’ll still move everything to a 64bit version as soon as my USB3 to SDD cable arrives. Mind you I’m now trying to figure out the necessary permissions for influxDB and Grafana so I can copy out the folders