Raspberry Pi hangs up at Node-Red start

#1

Hi,

I have installed the Node-Red on my Pi with the BCM 2835 Library.
But now I have the problem, that the Pi hangs up when I start node-red.
So I can use the Raspberry without any problem, but when I enter node-red start, everything hangs up.

Does anybody have a solution for that?
I already have reinstalled everything but it didn't change anything.

0 Likes

#2

anything in the log when you run node-red-start ?
how did you install Node-RED ? - did you follow the docs ?
which version of node.js and Node-RED does the log report at start ?

0 Likes

#3

Not a proper solution but I have similar issue on one Pi so try this out to see what happens

To get around it, I rename my flows_xxxx.json to flows_xxxx.backup
I then start node-red (and it always works at this point)

I then open up the .backup file in an editor and copy contents to clipboard and then do import from Node-RED menu and paste it back in

Does this work for you?

0 Likes

#4

I installed it like in the Node-Red docs described.
V 8.11.1
And i can not find anything in the logs.
But i think the problem is the BCM 2835 Library.

0 Likes

#5

No.
I tried it out.
But i have still the same problem.

0 Likes

#6

Errr I thought the bcm2835 was the main processor so there should be no reason to load any driver as the Raspbian guys take care of all that for you

0 Likes

#7

I found something strange.
When i run node-red log the process starts normal and i can use node red.

0 Likes

#8

that isn't a command - well it is... it says start node-red using a flow file called log... so you are basically doing what @cymplecy suggested - starting with a clean/new flow file...

(the command is node-red-log :slight_smile:

2 Likes

#9

Okay.
But how i get my flow clean.
So i can use node-red start.

0 Likes

#10

node-red on startup displays the details of the
flows file it is using.
If you delete that file and restart node-red it will create a new flows file

1 Like

#11

Thank you.
That solved my problem.

1 Like