Update node red and node-red-contrib-victron on raspberry pi

How do I update node red and package node-red-contrib-Victron?

I’m running VenusOs 3.54 large on my raspberry pi 3B+. First update that I’m using large, so clean and fresh (coming from normal 3.31, to normal 3.54 and after that large 3.54, so that I could save SDimages of all stages).

Node red is version 3.1.10

Node-red-contrib-Victron is 1.5.23 (which is having relay control issues)

Victron-VRM-api is 0.2.10

It’s not giving me the ‘update’ option like I get when I install new packages.

What I tried for the package:

  • Uninstall the package through command line → no success

  • Removing all files manually. Install latest version with succes, but after a restart the package is gone. It seems that is was only in the .node-red folder (data/home/nodered/node-modules) and not in the usr folder (urs/lib/node-modules).

Tried updating npm, node and node-red using the way it was described for Linux based systems.

A lot of errors, of versions being to old to be updated!

Current versions:

npm v10.7.0

node.js v18.20.3

Node-red v3.1.10

Then I found another solution voor node red:

Go back to older normal venusOS, remove .node-red folder in data/home/nodered. Then update to latest large version. Result: still old node red.

Is this a specific Raspbery pi issue with venusOS or also on a cerbo?

Hoping someone has a solution, because I’ve spend hours and hours on www.

nodered is embedded in the build, it is only updated when venus is updated.
If you want to do your own thing, build a standalone external nodered instance.

Thanks for the reply!
So everyone is on this older version? Both Cerbo and Raspberry users?

I don’t want to do my own thing, but ran into the problem dat relay control doesn’t work. It always goes back to relay1 no matter which relay I set it initially. And when I do use it for relay1, it automatically resets to ‘off’ state (yes it is manually operated in setting on the cerbo).

At least I know I can import all my flows again and continue, but the relay function was the reason to use node red :wink:

Its a common build across platforms.