# Fresh install failure Ubuntu Server 24.04 using Debian script

**URL:** <https://discourse.nodered.org/t/fresh-install-failure-ubuntu-server-24-04-using-debian-script/96139>\
**Category:** General\
**Created:** [20 March 2025 22:30 UTC](https://discourse.nodered.org/t/fresh-install-failure-ubuntu-server-24-04-using-debian-script/96139 "2025-03-20T22:30:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![AL7DS](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@AL7DS](https://discourse.nodered.org/u/AL7DS)\
**Post date:** [20 March 2025 22:30 UTC](https://discourse.nodered.org/t/fresh-install-failure-ubuntu-server-24-04-using-debian-script/96139/1 "2025-03-20T22:30:42Z")

</div>

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 ✔\*
- Remove old version of Node-RED ✔\*
- 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 ✔ 4.0.9\*
- Move global nodes to local -\*
- Leave existing nodes -\*
- Install extra Pi nodes -\*
- Add shortcut commands ✔\*
- Update systemd script ✔\*
- 

```
                                 *

```

_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](https://nodered.org/docs/user-guide/runtime/securing-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_

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [20 March 2025 23:26 UTC](https://discourse.nodered.org/t/fresh-install-failure-ubuntu-server-24-04-using-debian-script/96139/2 "2025-03-20T23:26:44Z")

</div>

> [@AL7DS](#):
>
> Leave existing Node.js : v23.10.0

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`.

---

<div class="post-metadata">

**Author:** ![AL7DS](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@AL7DS](https://discourse.nodered.org/u/AL7DS)\
**Post date:** [21 March 2025 02:45 UTC](https://discourse.nodered.org/t/fresh-install-failure-ubuntu-server-24-04-using-debian-script/96139/3 "2025-03-21T02:45:29Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![AL7DS](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@AL7DS](https://discourse.nodered.org/u/AL7DS)\
**Post date:** [21 March 2025 17:39 UTC](https://discourse.nodered.org/t/fresh-install-failure-ubuntu-server-24-04-using-debian-script/96139/4 "2025-03-21T17:39:41Z")

</div>

Gave up and installed using server 22.04 and different hardware.

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [21 March 2025 17:46 UTC](https://discourse.nodered.org/t/fresh-install-failure-ubuntu-server-24-04-using-debian-script/96139/5 "2025-03-21T17:46:11Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![AL7DS](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@AL7DS](https://discourse.nodered.org/u/AL7DS)\
**Post date:** [21 March 2025 19:43 UTC](https://discourse.nodered.org/t/fresh-install-failure-ubuntu-server-24-04-using-debian-script/96139/6 "2025-03-21T19:43:45Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [19 June 2025 19:43 UTC](https://discourse.nodered.org/t/fresh-install-failure-ubuntu-server-24-04-using-debian-script/96139/7 "2025-06-19T19:43:48Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
