# Where is the settings file in raspberry

**URL:** <https://discourse.nodered.org/t/where-is-the-settings-file-in-raspberry/28178>\
**Category:** Dashboard\
**Created:** [11 June 2020 14:09 UTC](https://discourse.nodered.org/t/where-is-the-settings-file-in-raspberry/28178 "2020-06-11T14:09:00Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![cigno](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cigno/32/91812_2.png) [@cigno](https://discourse.nodered.org/u/cigno)\
**Post date:** [11 June 2020 14:09 UTC](https://discourse.nodered.org/t/where-is-the-settings-file-in-raspberry/28178/1 "2020-06-11T14:09:01Z")

</div>

I made a flow on the pc now I have to transfer everything to the rasberry. I can't find the .node-red folder.  
if I give the command node-red-log it tells me that it is found under root.  
but I connect to the raspberry with winscp and go under the root folder I don't see anything.  
how do you see hidden folders with winscp.  
thanks .

 ![Annotazione 2020-06-11 160831](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/d/4d325daa45240f14d58576495fba88e614fc4bde.png)

---

<div class="post-metadata">

**Author:** ![edje11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edje11/32/572_2.png) [@edje11](https://discourse.nodered.org/u/edje11)\
**Post date:** [11 June 2020 14:13 UTC](https://discourse.nodered.org/t/where-is-the-settings-file-in-raspberry/28178/2 "2020-06-11T14:13:34Z")

</div>

/home/pi/.node-red/

Also handy in Winscp is the **Find Files** button 😉

To show hidden files Preferences -\> Panels -\> Show hidden files or shortcut Ctrl+Alt+H

---

<div class="post-metadata">

**Author:** ![cigno](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cigno/32/91812_2.png) [@cigno](https://discourse.nodered.org/u/cigno)\
**Post date:** [11 June 2020 14:34 UTC](https://discourse.nodered.org/t/where-is-the-settings-file-in-raspberry/28178/3 "2020-06-11T14:34:19Z")

</div>

here I do not see anything maybe there are hidden files.  
I didn't quite understand how to do thanks again

 ![Annotazione 2020-06-11 163248](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/b/9b096b077f2f4fa541990f7afa1cdd2f7c60dbab.png)

---

<div class="post-metadata">

**Author:** ![cigno](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cigno/32/91812_2.png) [@cigno](https://discourse.nodered.org/u/cigno)\
**Post date:** [11 June 2020 14:35 UTC](https://discourse.nodered.org/t/where-is-the-settings-file-in-raspberry/28178/4 "2020-06-11T14:35:55Z")

</div>

![p](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/b/8b9b034273f18466d1df25bccdad90f7532296c6.png)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [11 June 2020 15:02 UTC](https://discourse.nodered.org/t/where-is-the-settings-file-in-raspberry/28178/5 "2020-06-11T15:02:40Z")

</div>

Show us what you get when you start node red on the pi in a terminal. That will tell you where the files are.

---

<div class="post-metadata">

**Author:** ![cigno](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cigno/32/91812_2.png) [@cigno](https://discourse.nodered.org/u/cigno)\
**Post date:** [11 June 2020 16:17 UTC](https://discourse.nodered.org/t/where-is-the-settings-file-in-raspberry/28178/6 "2020-06-11T16:17:35Z")

</div>

I went in that path but I don't see the files with winscp

 ![term](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/d/3dedbeb8cbcc94c64a614326275ecbbb70e6df8b.png)

---

<div class="post-metadata">

**Author:** ![cigno](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cigno/32/91812_2.png) [@cigno](https://discourse.nodered.org/u/cigno)\
**Post date:** [11 June 2020 16:18 UTC](https://discourse.nodered.org/t/where-is-the-settings-file-in-raspberry/28178/7 "2020-06-11T16:18:59Z")

</div>

I have to find the .node-red folder.  
but when I go to the root I don't see anything

---

<div class="post-metadata">

**Author:** ![cigno](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cigno/32/91812_2.png) [@cigno](https://discourse.nodered.org/u/cigno)\
**Post date:** [11 June 2020 16:24 UTC](https://discourse.nodered.org/t/where-is-the-settings-file-in-raspberry/28178/8 "2020-06-11T16:24:02Z")

</div>

ok I solved to see the hidden files below on the win scp bar there is a counter of hidden files you had to click on that ok thanks.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [11 June 2020 16:47 UTC](https://discourse.nodered.org/t/where-is-the-settings-file-in-raspberry/28178/9 "2020-06-11T16:47:53Z")

</div>

If this is on a Pi, it looks like you installed NR under root. That is not a good idea.

How did you install Node-RED on the Pi? Did you use the script as descriptive here [https://nodered.org/docs/getting-started/raspberrypi](https://nodered.org/docs/getting-started/raspberrypi)?

---

<div class="post-metadata">

**Author:** ![cigno](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cigno/32/91812_2.png) [@cigno](https://discourse.nodered.org/u/cigno)\
**Post date:** [11 June 2020 17:27 UTC](https://discourse.nodered.org/t/where-is-the-settings-file-in-raspberry/28178/10 "2020-06-11T17:27:01Z")

</div>

yes I installed it with that script

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [11 June 2020 17:50 UTC](https://discourse.nodered.org/t/where-is-the-settings-file-in-raspberry/28178/11 "2020-06-11T17:50:09Z")

</div>

How do you start node red?  
Did you use sudo when you ran the install script?

---

<div class="post-metadata">

**Author:** ![cigno](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cigno/32/91812_2.png) [@cigno](https://discourse.nodered.org/u/cigno)\
**Post date:** [11 June 2020 18:31 UTC](https://discourse.nodered.org/t/where-is-the-settings-file-in-raspberry/28178/12 "2020-06-11T18:31:47Z")

</div>

everything works regularly

yes I installed it with that script

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [11 June 2020 18:36 UTC](https://discourse.nodered.org/t/where-is-the-settings-file-in-raspberry/28178/13 "2020-06-11T18:36:29Z")

</div>

> [@cigno](#):
>
> yes I installed it with that script

Yes, but did you use 'sudo' to run the script?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [11 June 2020 20:06 UTC](https://discourse.nodered.org/t/where-is-the-settings-file-in-raspberry/28178/14 "2020-06-11T20:06:44Z")

</div>

And how exactly do you start node red. Using `node-red-start`?

---

<div class="post-metadata">

**Author:** ![cigno](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cigno/32/91812_2.png) [@cigno](https://discourse.nodered.org/u/cigno)\
**Post date:** [13 June 2020 07:36 UTC](https://discourse.nodered.org/t/where-is-the-settings-file-in-raspberry/28178/15 "2020-06-13T07:36:16Z")

</div>

yes node-red-start

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [13 June 2020 08:57 UTC](https://discourse.nodered.org/t/where-is-the-settings-file-in-raspberry/28178/16 "2020-06-13T08:57:53Z")

</div>

Although your answer is not clear, I'm assuming that you used 'sudo' to install node-RED using the script.  
If that is the case, please run the installation script again, but DO NOT use sudo. Just run the script as described in the instruction.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [13 June 2020 09:09 UTC](https://discourse.nodered.org/t/where-is-the-settings-file-in-raspberry/28178/17 "2020-06-13T09:09:15Z")

</div>

@Paul-Reed I think that will cause him to have two installs won't it? It might be better to backup any flows (to a different device) he has written and IF there is not much else running, reflash the SD card and start over with a clead install al together. Once NR is installed, he can restore the flows he has made solar.

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [13 June 2020 10:20 UTC](https://discourse.nodered.org/t/where-is-the-settings-file-in-raspberry/28178/18 "2020-06-13T10:20:02Z")

</div>

> [@zenofmud](#):
>
> I think that will cause him to have two installs won't it?

As far as I'm aware, the script will remove the old installation first, as it will acquire sudo rights to do so (I have been known to be wrong before!!)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [13 June 2020 12:52 UTC](https://discourse.nodered.org/t/where-is-the-settings-file-in-raspberry/28178/19 "2020-06-13T12:52:11Z")

</div>

> [@Paul-Reed](#):
>
> the script will remove the old installation first,

That is correct. The script uses sudo internally where it needs to in order to install node-red globally. The script will replace the systemd scripts which currently say to run as root with ones specifying the user running the script. The folder root/.node-red may get left lying around, I don't know, but it won't be used by anything.

---

<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:** [13 July 2020 12:58 UTC](https://discourse.nodered.org/t/where-is-the-settings-file-in-raspberry/28178/20 "2020-07-13T12:58:47Z")

</div>

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