Hi, I am using an NCD Enterprise Gateway. I want to install various node red modules however I was receiving errors saying that my version does not support these modules. the version currently loaded on the gateway is v16.19.1 and the packages require v18 and above.
Hi @andrewpcc Could you provide a screenshot of the message you receive when executing the command? Also, is your Enterprise IIoT Gateway connected to the internet? Ensuring a stable internet connection is crucial for the command to execute properly.
Hi @andrewpcc I’ve tried to replicate the issue, and it seems that the Enterprise IIoT Gateway is not connected to the internet. Could you verify this by running the following command? ping 8.8.8.8
This command is used to test network connectivity between your system/gateway and the IP address 8.8.8.8, which is one of Google’s public DNS servers. Your system sends ICMP Echo Request packets to 8.8.8.8. If the network is functioning and the target is reachable, Google’s server responds with ICMP Echo Reply packets. The ping command displays output like this (example):
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=117 time=12.3 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=117 time=11.9 ms
If your Gateway is not connected to the internet, you will likely see a message similar to this:
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From <your Ip> icmp_seq=1 Destination Host Unreachable
From <your Ip> icmp_seq=2 Destination Host Unreachable
From <your Ip> icmp_seq=3 Destination Host Unreachable
...
If you receive the latest output, I would recommend check whether the Enterprise Gateway has an active internet connection.
Note: To stop the ping command, press Ctrl + C.
Please try this and feel free to let us know if you have any questions.
Thank you,
Eduardo M.
Hi @andrewpcc could you try the following commands:
Make the “update.sh” script executable:
chmod +x update.sh
Run the script:
./update.sh --node20
The --node20 flag tells the script to install Node.js version 20 specifically, the script should check your system, download and install the specified version of Node.js, and then update nodered.
Please try this command and let us know if it worked.
Thank you,
Eduardo M.
I tried running the commands however they didnt seem to work. also tried to check that the script is valid by running head update.sh. I have attached the result below:
Another update. I beleive I have managed to get the file onto the Gateway by first downloading the script onto my computer and then transferring it onto the gateway. log below:
I have managed to resolve the issue. It turns out that the gateway was actually not connected to the internet directly despite having the ability to Ping google.
we managed to change the gateways network settings to allow full internet access and have now Updated node red and install the packages we required. Thank you for all of your support!