question

nickdb avatar image
nickdb asked

Node red missing nodes after reboot

After rebooting my GX some modules were missing by marked as installed. Trying to remove them fails as does doing it manually via npm. No luck forcing a reinstall either.

Is there a way to reinstall/reset node red in the large image? I am running the current beta venus OS.

@Dirk-Jan Faber any suggestions?

thanks.

Node-RED
3 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

johnny-brusevold avatar image johnny-brusevold commented ·

@nickdb

check if they are installed with the -g global command

https://nodered.org/docs/user-guide/node-red-admin

0 Likes 0 ·
nickdb avatar image nickdb ♦♦ johnny-brusevold commented ·
@Johnny Brusevold That appears to be the case.

So with npm remove/install -g I could remove and install it again but the ui still does not show it as installed and is still marked as missing.

Thanks for the help.

0 Likes 0 ·
nickdb avatar image nickdb ♦♦ johnny-brusevold commented ·
looking at logs I am getting a lot of out of space errors on /data/home so I think I am going to have to try clean up whatever is consuming it.
0 Likes 0 ·
1 Answer
nickdb avatar image
nickdb answered ·

Ok, that was a bit of an effort.

The /data partition was filling up and it appears when node red was trying to do something, it would stage packages and run out of space.

So I exported my flows.

Then booted the previous firmware image, disabled node red and via ssh, scrubbed the /data/home/nodered/.node-red/ folder.

I then upgraded to the current firmware and had a vanilla node red again.

I could reinstall my modules then import the flows again.

The volume is using less capacity now.

Ultimately the venus has less than half the space than the cerbo, and having loaded a node that was deceptively large (socketcan), it pushed it over the edge.

4 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

That indeed is the correct way to go to the factory defaults.
Note that you can add extra disk space via an external USB disk / stick.

0 Likes 0 ·
nickdb avatar image nickdb ♦♦ Dirk-Jan Faber (Victron Energy) ♦♦ commented ·
@Dirk-Jan Faber Excellent. Thanks. Is there a documented process for doing this expansion by usb?
0 Likes 0 ·
Show more comments