Node red backend server install failed

Post Reply
Kahrax
Posts: 1
Joined: 21 Apr 2021, 16:42

Node red backend server install failed

Post by Kahrax »

Long backgroud story short.

Was reading data from a modbus slave just fine using the 'node-red-contrib-modbus' palette. Did a fresh deploy and deleted some hiddel nodes that node red told me was superflous (did not note their names unfortunately). After that the modbus connection timed out and I was no longer able to read from the modbus slave. Never figured out why and thouhgt that I would try a reinstall/update of node red.

Followed the video tutoral on https://revolution.kunbus.de/tutorials/video-tutorials/. Installing node red using the script on https://nodered.org/docs/getting-started/raspberrypi. However, when trying to install the backend server using this command

Code: Select all

sudo apt-get install noderedrevpinodes-server
I get the following message in the terminal.

Code: Select all

pi@RevPi46224:~ $ sudo apt-get install noderedrevpinodes-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 noderedrevpinodes-server : Depends: nodered (>= 0.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I am at a loss. Any ideas ?
volz
Posts: 30
Joined: 22 May 2018, 12:27

Re: Node red backend server install failed

Post by volz »

I have the same issue, did you find a soltion?
User avatar
nicolaiB
KUNBUS
Posts: 901
Joined: 21 Jun 2018, 10:33
Location: Berlin
Contact:

Re: Node red backend server install failed

Post by nicolaiB »

The problem seems to be the way you installed NodeRed: You probably installed it from source and didn't used the Debian package. noderedrevpinodes-server depends on the nodered package which is obviously not installed.

Nicolai
volz
Posts: 30
Joined: 22 May 2018, 12:27

Re: Node red backend server install failed

Post by volz »

I got it working by doing the following:

wget https://github.com/erminas/noderedrevpi ... .2_all.deb
sudo apt install ./noderedrevpinodes-server_1.0.2_all.deb
sudo systemctl start noderedrevpinodes-server.service
Post Reply