Which is the correct procedure to upgrade node_RED on BBGW?

I´m using bone-debian-10.3-iot-armhf-2020-04-06-4Gb image

This image have the following versions:

Debian GNU/Linux 10 (buster)
npm 5.8.0
nodejs v10.15.2
node_RED 1.0.4

I´m trying to get the last Node-RED version, using :

#sudo apt update && sudo apt full-upgrade

but when finished (npm 5.8.0 nodejs v10.24.0 and node-RED v1.3.5), node-Red does´nt work:

I get the same result using:

#sudo apt update
#sudo apt upgrade nodejs bb-node-red-installer

Which is the correct way to upgrade node-RED on Beaglebone Green Wireless?

Some received messages when I tried to stop and start manually:

root@beaglebone:~# sudo service node-red stop
Failed to stop node-red.service: Unit node-red.service not loaded.
root@beaglebone:~# sudo service node-red start
Failed to start node-red.service: Unit node-red.service not found.
root@beaglebone:~# sudo systemctl enable node-red.service
Failed to enable unit: Unit file node-red.service does not exist.
root@beaglebone:~# sudo apt upgrade nodejs bb-node-red-installer
Reading package lists… Done
Building dependency tree
Reading state information… Done
nodejs is already the newest version (10.24.0~dfsg-1~deb10u1).
bb-node-red-installer is already the newest version (1.3.5-0rcnee2~buster+20210719).
Calculating upgrade… Done
The following packages have been kept back:
c9-core-installer
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
root@beaglebone:~# sudo service node-red stop
Failed to stop node-red.service: Unit node-red.service not loaded.
root@beaglebone:~# sudo service node-red start
Failed to start node-red.service: Unit node-red.service not found.

it’s socket activated, connect over port 1880…

service file is nodered.service:

Regards,

Thanks a lot Robert, I´m trying to install nodered.service, but I have some problems.

How can I install the service file nodered.service?

oot@beaglebone:/var/lib/node-red# git clone https://github.com/rcn-ee/repos/blob/master/bb-node-red-installer/suite/buster/debian/nodered.service
Cloning into ‘nodered.service’…
fatal: repository ‘https://github.com/rcn-ee/repos/blob/master/bb-node-red-installer/suite/buster/debian/nodered.service/’ not found
root@beaglebone:/var/lib/node-red#

root@beaglebone:/var/lib/node-red# git clone https://github.com/node-red/linux-installers/blob/master/resources/nodered.service
Cloning into ‘nodered.service’…
fatal: repository ‘https://github.com/node-red/linux-installers/blob/master/resources/nodered.service/’ not found
root@beaglebone:/var/lib/node-red#

Yuck, don’t do that!

just run:

sudo apt update
sudo apt install bb-node-red-installer
sudo reboot

Then connect to the board over port 1880

Regards,

Sorry for that Robert, the thing is :

At the first time when I load the image everything works correctly, the BBGW reboot correctly , every time I test it.

But when I try to upgrade, the BBWG not reboot correctly.

When I tried

sudo apt update

sudo apt upgrade bb-node-red-installer

sudo reboot

The BBGW never come back, until I load the image again using ssd card.

The same happens if I do

sudo apt update && sudo apt full-upgrade

The BBGW not reboot correctly

The BBGW never come back, until I load the image again using ssd card

@Julian_Reyes sorry, i don’t know what’s going on based on the information so far, just grab a new snapshot:

https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Debian_Buster_IOT_Snapshot

Regards,

I grabed a new snapshot as you suggested and everything works fine, I already have node-red updated to version 1.3.5, thank you very much for the help.