Fresh install failure Ubuntu Server 24.04 using Debian script

New install Ubuntu server 24.04 using the Debian script. Multiple tries, same error.
I have installed multiple systems the same way and this is a first.

Running Node-RED update for user administrator at /home/administrator on ubuntu

This can take 20-30 minutes on the slower Pi versions - please wait.

  • Stop Node-RED :check_mark:*
  • Remove old version of Node-RED :check_mark:*
  • Node option not specified : --node18 or --node20*
  • Leave existing Node.js : v23.10.0 Npm 10.9.2*
  • Clean npm cache -*
  • Install Node-RED core :check_mark: 4.0.9*
  • Move global nodes to local -*
  • Leave existing nodes -*
  • Install extra Pi nodes -*
  • Add shortcut commands :check_mark:*
  • Update systemd script :check_mark:*
  •                                  *
    

Any errors will be logged to /var/log/nodered-install.log
All done.
You can now start Node-RED with the command node-red-start

  • or using the icon under Menu / Programming / Node-RED*
    Then point your browser to localhost:1880 or http://{your_pi_ip-address}:1880

*Started : Thu Mar 20 10:21:10 PM UTC 2025 *
Finished: Thu Mar 20 10:22:05 PM UTC 2025


  • WARNING ###*

  • DO NOT EXPOSE NODE-RED TO THE OPEN INTERNET WITHOUT SECURING IT FIRST*
  • Even if your Node-RED doesn't have anything valuable, (automated) attacks will*
  • happen and could provide a foothold in your local network*
  • Follow the guide at Securing Node-RED : Node-RED*
  • to setup security.*
  • ADDITIONAL RECOMMENDATIONS ###*

    • You can customise the initial settings by running:*
  •  node-red admin init*
    

/dev/fd/63: line 858: 5047 Illegal instruction $SUDOU /usr/bin/node-red admin init

Odd numbered versions of nodejs are neither supported or recommended.

Try running the script again with --node20 or --node22 on the end.

Note this may not be the reason or cause but worth a go.

Ps, you may wish to first install the build essential pack sudo apt-get install build-essential.

Already done both with same error. Tomorrow I will swap the drive into different hardware and try again.

Tim Wright
SBE Chapter 26 Certification Chairman
Vice President of Nothing in Particular
Senior Engineer
Cumulus Repair Depot
Cumulus Chicago
WLS-AM WLS-FM WKQX-FM

312-504-4117 24x7
Amateur Extra AL7DS

Professional Broadcast Engineer

PLEASE NOTE: This message may contain confidential information and is intended only for the individual(s) named. Employees of Cumulus Media Inc. and its subsidiaries (including Westwood One) are prohibited from disclosing confidential information to any third party. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

Gave up and installed using server 22.04 and different hardware.

So what hardware did you end up using?
What does node-red --version show?

Node-RED version: v4.0.9
Node.js version: v20.19.0
Linux 5.15.0-134-generic x64 LE

Old Dell Optiplex 780 for now
I will port to a RPi5 with RS232 adapter later