# Installation directory of Node-red in Beaglebone black with Node-red preinstalled

**URL:** <https://discourse.nodered.org/t/installation-directory-of-node-red-in-beaglebone-black-with-node-red-preinstalled/33660>\
**Category:** Hardware\
**Created:** [2 October 2020 08:10 UTC](https://discourse.nodered.org/t/installation-directory-of-node-red-in-beaglebone-black-with-node-red-preinstalled/33660 "2020-10-02T08:10:50Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrvisi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mrvisi/32/29168_2.png) [@mrvisi](https://discourse.nodered.org/u/mrvisi)\
**Post date:** [2 October 2020 08:10 UTC](https://discourse.nodered.org/t/installation-directory-of-node-red-in-beaglebone-black-with-node-red-preinstalled/33660/1 "2020-10-02T08:10:51Z")

</div>

Hello,

I have flashed my BBB eMMC with the latest Debian buster and which has the Node-red already installed. Flashing goes well and Node-red runs automatically and it opens ok in browser. But the problem I face is that I can't find Node-red installation directory, to be able to edit the settings.js file. It is supposed to be here /root/.node-red, but I can't find it there. Also I am logged as a root user while searching for it. Is there any command where I can search for this file, because I am pretty new to Linux and Node-red?

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [2 October 2020 08:17 UTC](https://discourse.nodered.org/t/installation-directory-of-node-red-in-beaglebone-black-with-node-red-preinstalled/33660/2 "2020-10-02T08:17:09Z")

</div>

On a RasPi it is:

`/home/pi/.node-red`

Do you have any _users_ in the `/home` directory?

---

<div class="post-metadata">

**Author:** ![mrvisi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mrvisi/32/29168_2.png) [@mrvisi](https://discourse.nodered.org/u/mrvisi)\
**Post date:** [2 October 2020 09:00 UTC](https://discourse.nodered.org/t/installation-directory-of-node-red-in-beaglebone-black-with-node-red-preinstalled/33660/3 "2020-10-02T09:00:15Z")

</div>

Yes, it is /home/debian/bin# and "bin" is the only directory inside "debian". I tried to install again Node-red with this command "sudo npm i -g --unsafe-perm node-red", then the _.node-red_ directory is created, but it appears that this is another installation. Not the installation which runs automatically after startup. If I try to stop the node-red, it shows this message, even node-red opens well in browser.  
root@beaglebone:~/.node-red# sudo service node-red stop  
Failed to stop node-red.service: Unit node-red.service not loaded.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [2 October 2020 09:49 UTC](https://discourse.nodered.org/t/installation-directory-of-node-red-in-beaglebone-black-with-node-red-preinstalled/33660/4 "2020-10-02T09:49:06Z")

</div>

Sorry. I'm out of ideas.

---

<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:** [2 October 2020 09:57 UTC](https://discourse.nodered.org/t/installation-directory-of-node-red-in-beaglebone-black-with-node-red-preinstalled/33660/5 "2020-10-02T09:57:51Z")

</div>

On BBB I think it is `./var/lib/node-red/.node-red/settings.js`

If you run `sudo service nodered restart`  
then `tail -f /var/log/syslog | grep Node-RED`  
you should see the startup debug that will print it out.

PS there seems to be some sort of bug with the GPIO overlays in latest updates (on web) - so stick with the vanilla SD card version for a while if you want to use GPIO)

---

<div class="post-metadata">

**Author:** ![mrvisi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mrvisi/32/29168_2.png) [@mrvisi](https://discourse.nodered.org/u/mrvisi)\
**Post date:** [2 October 2020 10:31 UTC](https://discourse.nodered.org/t/installation-directory-of-node-red-in-beaglebone-black-with-node-red-preinstalled/33660/6 "2020-10-02T10:31:56Z")

</div>

Thank you dceejay! That's what I was searching for.

---

<div class="post-metadata">

**Author:** ![mrvisi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mrvisi/32/29168_2.png) [@mrvisi](https://discourse.nodered.org/u/mrvisi)\
**Post date:** [2 October 2020 11:03 UTC](https://discourse.nodered.org/t/installation-directory-of-node-red-in-beaglebone-black-with-node-red-preinstalled/33660/7 "2020-10-02T11:03:02Z")

</div>

Thank you anyway!

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [2 October 2020 12:08 UTC](https://discourse.nodered.org/t/installation-directory-of-node-red-in-beaglebone-black-with-node-red-preinstalled/33660/8 "2020-10-02T12:08:54Z")

</div>

No problems.

All the best, and good luck.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [16 October 2020 12:09 UTC](https://discourse.nodered.org/t/installation-directory-of-node-red-in-beaglebone-black-with-node-red-preinstalled/33660/9 "2020-10-16T12:09:09Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
