Kahrax
Topic Author
Posts: 1
Joined: 21 Apr 2021, 16:42

Node red backend server install failed

21 Apr 2021, 16:56

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
sudo apt-get install noderedrevpinodes-server
I get the following message in the terminal.
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

26 Apr 2021, 10:23

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

Re: Node red backend server install failed

26 Apr 2021, 10:32

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

26 Apr 2021, 11:14

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

Who is online

Users browsing this forum: No registered users and 0 guests