Hi, I tried installing nodered locally on my new raspberry pi 4 B and the provided Github install script does not work. The pi seems to "think" for a while when the script is run but returns to command prompt with no indication of what went wrong. I did update and upgrade my pi Os first before attempting to install nodered.
Can you explain exactly what you did to run the script?
A screen capture might help diagnose it too (even if the script exits without printing anything)
Do you have a file /var/log/nodered-install.log? There may be clues in there.
Maybe not a good idea changing the script, let's see why it's not working first.
Are you using this install script - Running on Raspberry Pi : Node-RED ?
What operating system have you installed?
As Paul says, please copy/paste output here rather than screenshot, where possible.
What does this commands show? curl https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered
If it outputs lots then just the last few lines will do.
@jbudd We did have a similar report of no output at all just a few weeks ago, but I can't immediately find it.
You have a networking issue of some sort. Can you issue the curl command from your PC? It won't do any harm as it just fetches the file and displays it.
[Edit] Another couple of questions.
Are you using a VPN at all?
What does this show date
Does it show the correct local time and timezone?
Got locked out of the forum for 24 hour being a new user and having posted messages in excess of the allowed maximum yesterday. Hence the delayed reply as below;
Tried it from my PC. got the following message
ERR_CONNECTION_REFUSED
I am not using any VPN
Yes, "date" command shows the local time correctly
Your observation about networking issue proved correct. Something seems to be wrong with my ISP, gateway or my router. I tried connecting my pi using mobile hotspot and the installation script worked but there is a new problem. It stopped after the second (y/n) step with the message below.
Running Node-RED install for user srikumar at /home/srikumar on raspbian
Node-RED v3.x no longer supports Nodejs 12
You can force an install of node 14, 16 or 18 by using the --node14, --node16 or --node18 parameter.
However doing so may break some nodes that may need re-installing manually.
Generally it is recommended to update all nodes to their latest versions before upgrading.
If you wish to stay on nodejs 12 you can update to the latest Node-RED 1.x or 2.x version by adding
--nodered-version="1.3.7" or --nodered-version="2.2.2" to that install command. If in doubt this is the safer option.
Please backup your installation and flows before upgrading.
Exiting now.
Installation is getting interrupted. can you please give me a solution? I have run update and upgrade command already and rebooted my pi.