# Nodered update 2.2.3-2 keeps repeating

**URL:** https://discourse.nodered.org/t/nodered-update-2-2-3-2-keeps-repeating/68177
**Category:** General
**Created:** [24 September 2022 13:35 UTC](https://discourse.nodered.org/t/nodered-update-2-2-3-2-keeps-repeating/68177 "2022-09-24T13:35:57Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![ras\_oscar](https://avatars.discourse-cdn.com/v4/letter/r/4491bb/32.png) [@ras\_oscar](https://discourse.nodered.org/u/ras_oscar)
#### Post date: [24 September 2022 13:35 UTC](https://discourse.nodered.org/t/nodered-update-2-2-3-2-keeps-repeating/68177/1 "2022-09-24T13:35:57Z")

</div>

I am running node red on a raspberry pi 4b on a debian installation. For the last couple weeks i keep getting a notice through the usual update mechanism to update node red to 2.2.3-2. If I run the update, it reports successful but reappears within 15 seconds. I have node red installed on my machine but have not used it. I did start it to see if that resolved the issue but no change.

---

<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: [24 September 2022 14:40 UTC](https://discourse.nodered.org/t/nodered-update-2-2-3-2-keeps-repeating/68177/2 "2022-09-24T14:40:12Z")

</div>

> [@ras\_oscar](#):
>
> I have node red installed on my machine but have not used it.

Why do you have it installed then? Can you uninstall it?  
What is the usual update mechanism? (I have Raspberries with RPiOS but I've never seen an update notice)

The current version of Node-red is 3.0.2. If you run the [installation script](https://nodered.org/docs/getting-started/raspberrypi) that's the version you will get, though it's just possible you will have to add a parameter --node16

 ![Untitled 1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/1/11f5c3ae7484cfa66d63a6bcff1a17d0f560803a.jpeg)

---

<div class="post-metadata">

### Author: ![ras\_oscar](https://avatars.discourse-cdn.com/v4/letter/r/4491bb/32.png) [@ras\_oscar](https://discourse.nodered.org/u/ras_oscar)
#### Post date: [25 September 2022 13:31 UTC](https://discourse.nodered.org/t/nodered-update-2-2-3-2-keeps-repeating/68177/3 "2022-09-25T13:31:10Z")

</div>

It came with the Debian installation. I understand that Debian curates the features they include in their distribution and I trust them to include the components most useful to their target community withing a modest footprint.Therefore, while I haven't used it to date, I would if at all possible prefer to leave it in place.

When I launch Node red i get a header that identifies it as version 2.2.3, which tells me it is installed and functioning. Is there an issue with my installation of node red or the update script?

Below is the log file that displays at startup

## =================== 25 Sep 09:25:59 - [info] Node-RED version: v2.2.3 25 Sep 09:25:59 - [info] Node.js version: v12.22.12 25 Sep 09:25:59 - [info] Linux 5.15.61-v7l+ arm LE 25 Sep 09:26:00 - [info] Loading palette nodes 25 Sep 09:26:03 - [info] Settings file : /home/pi/.node-red/settings.js 25 Sep 09:26:03 - [info] Context store : 'default' [module=memory] 25 Sep 09:26:03 - [info] User directory : /home/pi/.node-red 25 Sep 09:26:03 - [warn] Projects disabled : editorTheme.projects.enabled=false 25 Sep 09:26:03 - [info] Flows file : /home/pi/.node-red/flows.json 25 Sep 09:26:03 - [info] Creating new flow file 25 Sep 09:26:03 - [warn]

## Your flow credentials file is encrypted using a system-generated key. If the system-generated key is lost for any reason, your credentials file will not be recoverable, you will have to delete it and re-enter your credentials. You should set your own key using the 'credentialSecret' option in your settings file. Node-RED will then re-encrypt your credentials file using your chosen key the next time you deploy a change.

25 Sep 09:26:03 - [warn] Encrypted credentials not found  
25 Sep 09:26:03 - [info] Starting flows  
25 Sep 09:26:03 - [info] Started flows  
25 Sep 09:26:03 - [info] Server now running at [http://127.0.0.1:1880/](http://127.0.0.1:1880/)

---

<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: [25 September 2022 13:45 UTC](https://discourse.nodered.org/t/nodered-update-2-2-3-2-keeps-repeating/68177/4 "2022-09-25T13:45:29Z")

</div>

2.2.3 is the latest available via the apt repository.

If you want to upgrade to 3.x, you will need to use the script we provide in the docs.

---

<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: [25 September 2022 14:22 UTC](https://discourse.nodered.org/t/nodered-update-2-2-3-2-keeps-repeating/68177/5 "2022-09-25T14:22:54Z")

</div>

> [@ras\_oscar](#):
>
> Is there an issue with my installation of node red or the update script?

Either way it is a Debian issue, not a node-red issue.

---

<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: [25 September 2022 16:05 UTC](https://discourse.nodered.org/t/nodered-update-2-2-3-2-keeps-repeating/68177/6 "2022-09-25T16:05:25Z")

</div>

The version of node.js packaged by Debian is (probably) 12. The update may fail because a more up-to-date version of node-red requires at least v14.

Simplest if you don't want to uninstall is to run the NR installation script.

---

<div class="post-metadata">

### Author: ![ras\_oscar](https://avatars.discourse-cdn.com/v4/letter/r/4491bb/32.png) [@ras\_oscar](https://discourse.nodered.org/u/ras_oscar)
#### Post date: [5 October 2022 14:18 UTC](https://discourse.nodered.org/t/nodered-update-2-2-3-2-keeps-repeating/68177/7 "2022-10-05T14:18:25Z")

</div>

OK, so I am trying to uninstall it. In another thread on this forum I saw instructions to run the following commands in the console window;

sudo npm -g remove node-red  
sudo npm -g remove node-red-admin  
rm -R ~/.node-red

Ran the 3 commends in the order given with no change. Am i missing something?

And, BTW, I started my inquiries on the RPI forum. They sent me here.  
If I cannot uninstall completely, is there a way to at least stop the update mechanism from repeatedly offering the update? I have begun ignoring the notices and fear I might miss a critical update .

---

<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: [5 October 2022 14:27 UTC](https://discourse.nodered.org/t/nodered-update-2-2-3-2-keeps-repeating/68177/8 "2022-10-05T14:27:39Z")

</div>

You will have to remove it via `apt` since that is what is telling you there is an update.

As others have pointed out already for Debian there is an official script that will install the correct version of node.js and the latest version of node red.

---

<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: [5 October 2022 15:19 UTC](https://discourse.nodered.org/t/nodered-update-2-2-3-2-keeps-repeating/68177/9 "2022-10-05T15:19:27Z")

</div>

`sudo apt remove nodered`  
or if that says unable to locate package then try  
`sudo apt remove node-red`

---

<div class="post-metadata">

### Author: ![ras\_oscar](https://avatars.discourse-cdn.com/v4/letter/r/4491bb/32.png) [@ras\_oscar](https://discourse.nodered.org/u/ras_oscar)
#### Post date: [9 October 2022 03:57 UTC](https://discourse.nodered.org/t/nodered-update-2-2-3-2-keeps-repeating/68177/10 "2022-10-09T03:57:05Z")

</div>

The first command given above removed the app and deleted the update request. Thanks for solving my problem.

---

<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: [23 October 2022 03:57 UTC](https://discourse.nodered.org/t/nodered-update-2-2-3-2-keeps-repeating/68177/11 "2022-10-23T03:57:40Z")

</div>

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