Stuck with how to resolve this problem (Global context testing)

It is best to schedule a reminder for yourself to run an update on all your OS installs and Node.js/Node-RED installs - maybe every 6months. Or more often if you can stomach it.

For most people, it is easier to keep up by doing smaller changes every few months than it is to have to do a massive set of changes every few years.

On Debian based Linux, at least doing:

sudo apt update && sudo apt upgrade
sudo npm -g update
cd ~/.node-red
npm update

Restart Node-RED afterwards.

And every year, check out the current Node.js LTS version and upgrade to the latest supported by Node-RED using Dave's script.

Obviously, for commercial use, things need to be a bit more carefully controlled.

1 Like

I think I may start a new thread.

Alas things are not working here as I would like.

I think you use the standard install on your PIs don't you? If so then just use the usual install/upgrade script to update node red and nodejs. Add --node20 on the end if you want to go to v20, which is probably a good idea.

The script will copy with any PI. If you have a very old OS it may not work. I think anything after Jessie should be ok, though I am not certain about Stretch.

I'm running NR 4.x and Node20 on RasPi 3B and 3B+ with no problem. have a massive NR flow and the RasPi is running less than 10% CPU, and 43% memory.
So plenty of legs left in the Pi3B and it is much lower power.
Even loaded Node 22 which ran OK, but had a lot of depreciation warnings so will wait a but longer.

2 Likes

Thanks for the assurance.

I'll have to get around to updating the machines soon.

It is just there are a lot of open cans of worms just now.

:frowning:

Worm Catcher
Our Magpies will happily take all your worms, they have a few chicks to feed.
:slight_smile:

1 Like

You from Oz?

:+1: Yep. would have just left the emoji but forum wants at least 9 characters.

1 Like

Australian magpies, such lovely voices!

OK I have heard that they sometimes drop from the trees to attack foreigners, but what Aussie wildlife doesn't? :smile:

1 Like

Always found it amazing that so much of Oz consists of venomous plants and animals.

Even the Duck-billed Platypus for goodness sake!

And I love that Aussie's claim that the Brits always talk about the weather but spend a lot of their time .... talking about the weather. :rofl:

People are always worried about being attacked by our wildlife, but if you disregard attacks for self defence, there are really only two creature that look at adult people as a meal, and will try to catch and eat you, one is limited to our oceans (sharks), the other is limited to our northern waterways and seas (Crocodiles).
The rest you keep you distance and watch out for them, they will leave you along.
As for plants, never had to worry about them as a hazard.
Insects you do need to take some protection at certain times of years like Mozi repellent .
Much happy in our bush than Americas or Asia, Africa. Selections of cats, bears, wild dog or wolves are a worry. We have non here (except Dingos, but they are usually pretty timid).

I'd beg to differ on that.

There is that plant....... QLD..... You do NOT want to use it as toilet paper.
It is a nettle - from memory - and it is like getting a squillion fiberglass needles stuck in your skin.

Thankfully never had a run-in when I was there, but there's the spiders :spider: of course. And I did have a run-in with a venomous water snake :snake:! Thankfully it swam away rather than stopping to remonstrate with us as to why we were walking up its river. :rofl:

Yep, but there are plenty of alternates to use for TP. Just watch what you use (or carry TP provided you bury it after use).

As for Spiders, most are harmless or mildly venomous, them most dangerous are Sydney funnel webs but haven't killed anyone since 1979.

I think we have taken this thread a little of course from NR :slight_smile:

1 Like

Should we rename this topic to 'Dangerous Aussie animals'?
:wink:

1 Like

Nobody even mentioned the Dangeroos :upside_down_face:

It is unfair to traduce Australian wildlife. I've been bitten and stung by more British fauna and flora than Australian.

1 Like

Well sharks & crocs sound dangerous to me,..
...and not even mentioning the boxing kangaroos :wink:

1 Like

And donā€™t mention the Dropbears !

2 Likes

Q: Why did the Koala fall out of the tree?

A: He was hit by lightning.

Q: Why did the second Koala fall out of the tree?

A: He was hit by the first one falling down.

Q: Why did the third Koala fall out of the tree?

A: He saw 2 others and thought he'd give it a try.

Sorry folks.

1 Like