# Questions on upgrading to NR5

**URL:** <https://discourse.nodered.org/t/questions-on-upgrading-to-nr5/101240>\
**Category:** General\
**Created:** [9 June 2026 13:10 UTC](https://discourse.nodered.org/t/questions-on-upgrading-to-nr5/101240 "2026-06-09T13:10:19Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![k5map](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/k5map/32/47681_2.png) [@k5map](https://discourse.nodered.org/u/k5map)\
**Post date:** [9 June 2026 12:46 UTC](https://discourse.nodered.org/t/questions-on-upgrading-to-nr5/101240/1 "2026-06-09T12:46:34Z")

</div>

I am running node v22.22.3 and npm v10.9.8. After I run "sudo npm install -g node-red", my editor still shows I'm running NR v4.1.11 and no errors were reported. Any idea why the upgrade did not work?

---

<div class="post-metadata">

**Author:** ![k5map](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/k5map/32/47681_2.png) [@k5map](https://discourse.nodered.org/u/k5map)\
**Post date:** [9 June 2026 13:00 UTC](https://discourse.nodered.org/t/questions-on-upgrading-to-nr5/101240/2 "2026-06-09T13:00:37Z")

</div>

It has been a while but I believe I installed it via: sudo apt install npm then bash \<(curl -sL [https://github.com/node-red/linux-installers/releases/latest/download/update-nodejs-and-nodered-deb](https://github.com/node-red/linux-installers/releases/latest/download/update-nodejs-and-nodered-deb))

---

<div class="post-metadata">

**Author:** ![k5map](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/k5map/32/47681_2.png) [@k5map](https://discourse.nodered.org/u/k5map)\
**Post date:** [9 June 2026 13:02 UTC](https://discourse.nodered.org/t/questions-on-upgrading-to-nr5/101240/3 "2026-06-09T13:02:08Z")

</div>

The service is running with only this message: Jun 09 07:59:05 pi-NodeRed-v4 Node-RED[570]: 9 Jun 07:59:05 - [info] Waiting for missing types to be registered:  
Jun 09 07:59:05 pi-NodeRed-v4 Node-RED[570]: 9 Jun 07:59:05 - [info] - speedtest

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [9 June 2026 13:04 UTC](https://discourse.nodered.org/t/questions-on-upgrading-to-nr5/101240/4 "2026-06-09T13:04:29Z")

</div>

Can you post the service file here?

---

<div class="post-metadata">

**Author:** ![k5map](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/k5map/32/47681_2.png) [@k5map](https://discourse.nodered.org/u/k5map)\
**Post date:** [9 June 2026 13:06 UTC](https://discourse.nodered.org/t/questions-on-upgrading-to-nr5/101240/5 "2026-06-09T13:06:29Z")

</div>

Which file is it?

---

<div class="post-metadata">

**Author:** ![k5map](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/k5map/32/47681_2.png) [@k5map](https://discourse.nodered.org/u/k5map)\
**Post date:** [9 June 2026 13:10 UTC](https://discourse.nodered.org/t/questions-on-upgrading-to-nr5/101240/6 "2026-06-09T13:10:19Z")

</div>

@knolleary ... so I decided to stop the service and run NR manually... when I did, here was the messages shown:

```auto
Welcome to Node-RED
===================

9 Jun 08:08:59 - [info] Node-RED version: v4.1.11
9 Jun 08:08:59 - [info] Node.js version: v22.22.3
9 Jun 08:08:59 - [info] Linux 6.18.33+rpt-rpi-v8 arm64 LE
9 Jun 08:09:00 - [info] Loading palette nodes
9 Jun 08:09:00 - [warn] [@node-red-contrib-themes/theme-collection] Node module cannot be loaded on this version. Requires: >=5.0
9 Jun 08:09:03 - [warn] ------------------------------------------------------
9 Jun 08:09:03 - [warn] [node-red-contrib-speedtest/speedtest] Error: Cannot find module '/home/pi/.node-red/node_modules/lzma-native/binding-v4.0.6-node-v127-linux-arm64/lzma_native.node'
Require stack:
- /home/pi/.node-red/node_modules/lzma-native/index.js
- /home/pi/.node-red/node_modules/decompress-tarxz/index.js
- /home/pi/.node-red/node_modules/speedtest-net/index.js
- /home/pi/.node-red/node_modules/node-red-contrib-speedtest/speedtest.js
- /usr/local/lib/node_modules/node-red/node_modules/@node-red/registry/lib/loader.js
- /usr/local/lib/node_modules/node-red/node_modules/@node-red/registry/lib/index.js
- /usr/local/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/index.js
- /usr/local/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/index.js
- /usr/local/lib/node_modules/node-red/lib/red.js
- /usr/local/lib/node_modules/node-red/red.js
9 Jun 08:09:03 - [warn] ------------------------------------------------------
9 Jun 08:09:03 - [info] Settings file : /home/pi/.node-red/settings.js
9 Jun 08:09:03 - [info] Context store : 'default' [module=memory]
9 Jun 08:09:03 - [info] User directory : /home/pi/.node-red
9 Jun 08:09:03 - [warn] Projects disabled : editorTheme.projects.enabled=false
9 Jun 08:09:03 - [info] Flows file : /home/pi/.node-red/flows.json
9 Jun 08:09:03 - [info] Server now running at http://127.0.0.1:1880/
9 Jun 08:09:03 - [warn]

```

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [9 June 2026 13:14 UTC](https://discourse.nodered.org/t/questions-on-upgrading-to-nr5/101240/7 "2026-06-09T13:14:28Z")

</div>

What does this show (note, nodered, not node-red)?  
`systemctl status nodered`  
Check that it shows the service running. If it does then you get the contents using  
`systemctl cat nodered`

If you run node-red in a command window what does it show?

---

<div class="post-metadata">

**Author:** ![k5map](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/k5map/32/47681_2.png) [@k5map](https://discourse.nodered.org/u/k5map)\
**Post date:** [9 June 2026 13:14 UTC](https://discourse.nodered.org/t/questions-on-upgrading-to-nr5/101240/8 "2026-06-09T13:14:53Z")

</div>

Ok... I was able to upgrade to NR v5 using the original bash script. My issue now is I have a node which is not registered and I can't uninstall it

---

<div class="post-metadata">

**Author:** ![k5map](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/k5map/32/47681_2.png) [@k5map](https://discourse.nodered.org/u/k5map)\
**Post date:** [9 June 2026 13:16 UTC](https://discourse.nodered.org/t/questions-on-upgrading-to-nr5/101240/9 "2026-06-09T13:16:34Z")

</div>

Oh and my dashboard will not display... when I go to [http://xxxx:1880/dashboard/](http://xxxx:1880/dashboard/), I get "  
Cannot GET /dashboard/"

---

<div class="post-metadata">

**Author:** ![k5map](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/k5map/32/47681_2.png) [@k5map](https://discourse.nodered.org/u/k5map)\
**Post date:** [9 June 2026 13:20 UTC](https://discourse.nodered.org/t/questions-on-upgrading-to-nr5/101240/10 "2026-06-09T13:20:34Z")

</div>

Here is the response to systemctl cat nodred:  
`# /usr/lib/systemd/system/nodered.service

# systemd service file to start Node-RED

[Unit]  
Description=Node-RED graphical event wiring tool  
Wants=network.target  
Documentation=[Redirecting…](http://nodered.org/docs/hardware/raspberrypi.html)

[Service]  
Type=simple

# Run as normal pi user - change to the user name you wish to run Node-RED as

User=pi  
Group=pi  
WorkingDirectory=/home/pi

Environment="XDG\_RUNTIME\_DIR=/run/user/%U"  
Environment="NODE\_OPTIONS=--max\_old\_space\_size=1024"

# define an optional environment file in Node-RED's user directory to set custom variables externally

EnvironmentFile=-/home/pi/.node-red/environment

# uncomment and edit next line if you need an http proxy

#Environment="HTTP\_PROXY=my.httpproxy.server.address"

# uncomment the next line for a more verbose log output

#Environment="NODE\_RED\_OPTIONS=-v"

# uncomment next line if you need to wait for time sync before starting

#ExecStartPre=/bin/bash -c '/bin/journalctl -b -u systemd-timesyncd | /bin/grep -q "systemd-timesyncd.\* Synchronized to time server"'

ExecStart=/usr/bin/env node-red-pi $NODE\_OPTIONS -- $NODE\_RED\_OPTIONS  
#ExecStart=/usr/bin/env node $NODE\_OPTIONS red.js -- $NODE\_RED\_OPTIONS

# Use SIGINT to stop

KillSignal=SIGINT

# Auto restart on crash

Restart=on-failure  
RestartSec=20

# Tag things in the log

SyslogIdentifier=Node-RED  
#StandardOutput=syslog

[Install]  
WantedBy=multi-user.target  
`

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [9 June 2026 13:21 UTC](https://discourse.nodered.org/t/questions-on-upgrading-to-nr5/101240/11 "2026-06-09T13:21:04Z")

</div>

> [@k5map](#):
>
> My issue now is I have a node which is not registered and I can't uninstall it

What do you mean by that?

Check in Configuration Nodes in the dropdown menu for unused config nodes (click unused in top right). Delete any unused ones and deploy. Then try to uninstall it again.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [9 June 2026 13:22 UTC](https://discourse.nodered.org/t/questions-on-upgrading-to-nr5/101240/12 "2026-06-09T13:22:15Z")

</div>

Since you have got the latest version running we don't need the service file.

---

<div class="post-metadata">

**Author:** ![k5map](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/k5map/32/47681_2.png) [@k5map](https://discourse.nodered.org/u/k5map)\
**Post date:** [9 June 2026 13:23 UTC](https://discourse.nodered.org/t/questions-on-upgrading-to-nr5/101240/13 "2026-06-09T13:23:36Z")

</div>

When I attempt to delete the missing speedtest node via the cli: npm uninstall node-red-contrib-speedtest, it does not show any errors but when I go back into NR console, it still states missing module

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [9 June 2026 13:24 UTC](https://discourse.nodered.org/t/questions-on-upgrading-to-nr5/101240/14 "2026-06-09T13:24:52Z")

</div>

> [@k5map](#):
>
> npm uninstall node-red-contrib-speedtest

What directory are you in when you run that?  
Have to restarted Node-RED after running it?

---

<div class="post-metadata">

**Author:** ![k5map](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/k5map/32/47681_2.png) [@k5map](https://discourse.nodered.org/u/k5map)\
**Post date:** [9 June 2026 13:26 UTC](https://discourse.nodered.org/t/questions-on-upgrading-to-nr5/101240/15 "2026-06-09T13:26:02Z")

</div>

I'm in /home/pi... after restart no change

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [9 June 2026 13:28 UTC](https://discourse.nodered.org/t/questions-on-upgrading-to-nr5/101240/16 "2026-06-09T13:28:33Z")

</div>

You need to run it in the Node-RED settings directory: `/home/pi/.node-red/`

(Once we resolve this, I'll move all of these replies to a separate topic to keep this overall topic focused on the new release)

---

<div class="post-metadata">

**Author:** ![k5map](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/k5map/32/47681_2.png) [@k5map](https://discourse.nodered.org/u/k5map)\
**Post date:** [9 June 2026 13:28 UTC](https://discourse.nodered.org/t/questions-on-upgrading-to-nr5/101240/17 "2026-06-09T13:28:45Z")

</div>

Ok brain fart on my part... when I run the uninstall in the .node-red directory, it removed it... my apologizes

---

<div class="post-metadata">

**Author:** ![PdeJ](https://avatars.discourse-cdn.com/v4/letter/p/c89c15/32.png) [@PdeJ](https://discourse.nodered.org/u/PdeJ)\
**Post date:** [11 June 2026 08:54 UTC](https://discourse.nodered.org/t/questions-on-upgrading-to-nr5/101240/18 "2026-06-11T08:54:13Z")

</div>

I use Node Red v4.1 on a rpi 2b and a rpi Zero. If in the future I need to do a fresh install of Node Red because for example the SD card has failed, will the script as provided in the documentation install a compatible version of Node Red and support Node.js suitable for my device?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [11 June 2026 09:21 UTC](https://discourse.nodered.org/t/questions-on-upgrading-to-nr5/101240/19 "2026-06-11T09:21:38Z")

</div>

Currently yes - it will install node v22 and Node-RED v5 (unless you tell it to install 4.x ) . nodev22 is the last version that will support the armv6 processor and that will become end of life April 27 I think.

---

<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:** [9 September 2026 09:22 UTC](https://discourse.nodered.org/t/questions-on-upgrading-to-nr5/101240/20 "2026-09-09T09:22:31Z")

</div>

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