# Trying to update. old version no longer supported

**URL:** <https://discourse.nodered.org/t/trying-to-update-old-version-no-longer-supported/49731>\
**Category:** General\
**Created:** [15 August 2021 04:52 UTC](https://discourse.nodered.org/t/trying-to-update-old-version-no-longer-supported/49731 "2021-08-15T04:52:56Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [15 August 2021 04:52 UTC](https://discourse.nodered.org/t/trying-to-update-old-version-no-longer-supported/49731/1 "2021-08-15T04:52:56Z")

</div>

Sorry, but I want to ask to be sure.

```auto
Running Node-RED update for user pi at /home/pi on raspbian

Nodejs 10 is no longer supported.
  You can update to the latest Node-RED 1.x version by adding --nodered-version="1.3.5"
  to that install command. If in doubt this is the safer option.
  
  Or you can force an install of node 12 or 14 by using the --node12 or --node14 parameter
  However doing so may break some nodes that may need re-installing manually.
  Generally it is recommended to upgrade all nodes to their latest versions before upgrading.
  
  Please backup your installation and flows before upgrading.
  
  Exiting now.

```

Ok, I get it.

But `adding --nodered-version="1.3.5" to that install command.` can't be done.

I am using this to try and update:  
`bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)`

Sorry..... What do I need to do?

---

<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:** [15 August 2021 05:44 UTC](https://discourse.nodered.org/t/trying-to-update-old-version-no-longer-supported/49731/2 "2021-08-15T05:44:07Z")

</div>

Show us exactly what command you entered and what happened.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [15 August 2021 05:49 UTC](https://discourse.nodered.org/t/trying-to-update-old-version-no-longer-supported/49731/3 "2021-08-15T05:49:00Z")

</div>

```auto
pi@CameraPi:~/.node-red $ bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)

 
This script checks the version of node.js installed is 12 or greater. It will try to
install node 14 if none is found. It can optionally install node 12 LTS or 14 LTS for you.
 
If necessary it will then remove the old core of Node-RED, before then installing the latest
version. You can also optionally specify the version required.
 
It also tries to run 'npm rebuild' to refresh any extra nodes you have installed
that may have a native binary component. While this normally works ok, you need
to check that it succeeds for your combination of installed nodes.
 
To do all this it runs commands as root - please satisfy yourself that this will
not damage your Pi, or otherwise compromise your configuration.
If in doubt please backup your SD card first.
 
See the optional parameters by re-running this command with --help
 
Are you really sure you want to do this ? [y/N] ? y

Would you like to install the Pi-specific nodes ? [y/N] ? n

Running Node-RED update for user pi at /home/pi on raspbian

Nodejs 10 is no longer supported.
  You can update to the latest Node-RED 1.x version by adding --nodered-version="1.3.5"
  to that install command. If in doubt this is the safer option.
  
  Or you can force an install of node 12 or 14 by using the --node12 or --node14 parameter
  However doing so may break some nodes that may need re-installing manually.
  Generally it is recommended to upgrade all nodes to their latest versions before upgrading.
  
  Please backup your installation and flows before upgrading.
  
  Exiting now.

```

---

<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:** [15 August 2021 06:55 UTC](https://discourse.nodered.org/t/trying-to-update-old-version-no-longer-supported/49731/4 "2021-08-15T06:55:05Z")

</div>

You haven't added the node red version.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [15 August 2021 06:57 UTC](https://discourse.nodered.org/t/trying-to-update-old-version-no-longer-supported/49731/5 "2021-08-15T06:57:40Z")

</div>

Sorry....

I'm taking a break from it. The two machines have been shut down.

But they are running Jessie, so I think that is part of the _problem_.

I'll try to remember to get their versions and post them ASAP.  
Sorry, though I know I am not alone with this...... _Covid 19_ stuff, I am really not dealing with things as well as I would like.  
So the brain isn't quite as responsive as I would like either.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [15 August 2021 07:15 UTC](https://discourse.nodered.org/t/trying-to-update-old-version-no-longer-supported/49731/6 "2021-08-15T07:15:14Z")

</div>

The NR version is 1.2.6

---

<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:** [15 August 2021 07:42 UTC](https://discourse.nodered.org/t/trying-to-update-old-version-no-longer-supported/49731/7 "2021-08-15T07:42:11Z")

</div>

Yes. Jessie LTS went eol June 20. You should still be able to upgrade to NR1.3.6 using the script with the extra parameter, but it won't work trying to upgrade to 2.x as the nodejs install will fail and mess everything up.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [15 August 2021 07:43 UTC](https://discourse.nodered.org/t/trying-to-update-old-version-no-longer-supported/49731/8 "2021-08-15T07:43:41Z")

</div>

I may have to look into updating the O/S on a few machines.

But before I do that, I may back up the SD cards.. 😉

Does Jessie support O/S updates to Buster from the CLI?

---

<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:** [15 August 2021 07:54 UTC](https://discourse.nodered.org/t/trying-to-update-old-version-no-longer-supported/49731/9 "2021-08-15T07:54:18Z")

</div>

> [@Trying\_to\_learn](#):
>
> Does Jessie support O/S updates to Buster from the CLI?

Its possible: [Upgrade existing Debian Jessie to Buster, Bullseye without re-image](https://djangocas.dev/blog/upgrade-existing-jessie-to-buster-without-re-image/)

but the cleanest would be a fresh install

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [15 August 2021 07:56 UTC](https://discourse.nodered.org/t/trying-to-update-old-version-no-longer-supported/49731/10 "2021-08-15T07:56:13Z")

</div>

It is just I don't know what "extra" stuff I have installed......

If the upgrade works, will anything installed be kept?  
Nothing too fancy. But painful to remember.

---

<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:** [15 August 2021 07:58 UTC](https://discourse.nodered.org/t/trying-to-update-old-version-no-longer-supported/49731/11 "2021-08-15T07:58:43Z")

</div>

> [@Trying\_to\_learn](#):
>
> If the upgrade works, will anything installed be kept?

Yes, if successful, all should be kept.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [15 August 2021 07:59 UTC](https://discourse.nodered.org/t/trying-to-update-old-version-no-longer-supported/49731/12 "2021-08-15T07:59:47Z")

</div>

I may make an ISO image of it before hand though.. 😉 Knowing my luck.

---

<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:** [15 August 2021 08:00 UTC](https://discourse.nodered.org/t/trying-to-update-old-version-no-longer-supported/49731/13 "2021-08-15T08:00:43Z")

</div>

definitely clone the SD before you start - AND - test that the clone boots before proceeding 🙂

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [15 August 2021 08:01 UTC](https://discourse.nodered.org/t/trying-to-update-old-version-no-longer-supported/49731/14 "2021-08-15T08:01:13Z")

</div>

Good idea!

---

<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:** [29 August 2021 08:02 UTC](https://discourse.nodered.org/t/trying-to-update-old-version-no-longer-supported/49731/15 "2021-08-29T08:02:07Z")

</div>

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