# Raspberry Pi hangs up at Node-Red start

**URL:** <https://discourse.nodered.org/t/raspberry-pi-hangs-up-at-node-red-start/3181>\
**Category:** General\
**Created:** [16 September 2018 09:12 UTC](https://discourse.nodered.org/t/raspberry-pi-hangs-up-at-node-red-start/3181 "2018-09-16T09:12:05Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![b35b5dad43ea282b65d0](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@b35b5dad43ea282b65d0](https://discourse.nodered.org/u/b35b5dad43ea282b65d0)\
**Post date:** [16 September 2018 09:12 UTC](https://discourse.nodered.org/t/raspberry-pi-hangs-up-at-node-red-start/3181/1 "2018-09-16T09:12:05Z")

</div>

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.

---

<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:** [16 September 2018 09:32 UTC](https://discourse.nodered.org/t/raspberry-pi-hangs-up-at-node-red-start/3181/2 "2018-09-16T09:32:47Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [16 September 2018 09:40 UTC](https://discourse.nodered.org/t/raspberry-pi-hangs-up-at-node-red-start/3181/3 "2018-09-16T09:40:01Z")

</div>

_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?

---

<div class="post-metadata">

**Author:** ![b35b5dad43ea282b65d0](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@b35b5dad43ea282b65d0](https://discourse.nodered.org/u/b35b5dad43ea282b65d0)\
**Post date:** [16 September 2018 11:46 UTC](https://discourse.nodered.org/t/raspberry-pi-hangs-up-at-node-red-start/3181/4 "2018-09-16T11:46:52Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![b35b5dad43ea282b65d0](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@b35b5dad43ea282b65d0](https://discourse.nodered.org/u/b35b5dad43ea282b65d0)\
**Post date:** [16 September 2018 11:47 UTC](https://discourse.nodered.org/t/raspberry-pi-hangs-up-at-node-red-start/3181/5 "2018-09-16T11:47:32Z")

</div>

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

---

<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:** [16 September 2018 12:21 UTC](https://discourse.nodered.org/t/raspberry-pi-hangs-up-at-node-red-start/3181/6 "2018-09-16T12:21:37Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![b35b5dad43ea282b65d0](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@b35b5dad43ea282b65d0](https://discourse.nodered.org/u/b35b5dad43ea282b65d0)\
**Post date:** [16 September 2018 12:31 UTC](https://discourse.nodered.org/t/raspberry-pi-hangs-up-at-node-red-start/3181/7 "2018-09-16T12:31:37Z")

</div>

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

---

<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:** [16 September 2018 15:22 UTC](https://discourse.nodered.org/t/raspberry-pi-hangs-up-at-node-red-start/3181/8 "2018-09-16T15:22:12Z")

</div>

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 🙂

---

<div class="post-metadata">

**Author:** ![b35b5dad43ea282b65d0](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@b35b5dad43ea282b65d0](https://discourse.nodered.org/u/b35b5dad43ea282b65d0)\
**Post date:** [16 September 2018 18:29 UTC](https://discourse.nodered.org/t/raspberry-pi-hangs-up-at-node-red-start/3181/9 "2018-09-16T18:29:19Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [16 September 2018 19:39 UTC](https://discourse.nodered.org/t/raspberry-pi-hangs-up-at-node-red-start/3181/10 "2018-09-16T19:39:21Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![b35b5dad43ea282b65d0](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@b35b5dad43ea282b65d0](https://discourse.nodered.org/u/b35b5dad43ea282b65d0)\
**Post date:** [18 September 2018 09:56 UTC](https://discourse.nodered.org/t/raspberry-pi-hangs-up-at-node-red-start/3181/11 "2018-09-18T09:56:27Z")

</div>

Thank you.  
That solved my problem.
