# In node-red snap how to change the settings.js file

**URL:** <https://discourse.nodered.org/t/in-node-red-snap-how-to-change-the-settings-js-file/8411>\
**Category:** General\
**Created:** [26 February 2019 14:44 UTC](https://discourse.nodered.org/t/in-node-red-snap-how-to-change-the-settings-js-file/8411 "2019-02-26T14:44:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![VIKRAMAS](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/vikramas/32/3955_2.png) [@VIKRAMAS](https://discourse.nodered.org/u/VIKRAMAS)\
**Post date:** [26 February 2019 14:44 UTC](https://discourse.nodered.org/t/in-node-red-snap-how-to-change-the-settings-js-file/8411/1 "2019-02-26T14:44:01Z")

</div>

I have deployed the node-red snap in ubuntu 16 core. Now i want to change the settings.js file how can I change.

---

<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:** [26 February 2019 15:36 UTC](https://discourse.nodered.org/t/in-node-red-snap-how-to-change-the-settings-js-file/8411/2 "2019-02-26T15:36:10Z")

</div>

As per the project readme

> **[dceejay/nodered.snap](https://github.com/dceejay/nodered.snap)**
>
> Node RED snappy package. Contribute to dceejay/nodered.snap development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![json.jason](https://avatars.discourse-cdn.com/v4/letter/j/ec9cab/32.png) [@json.jason](https://discourse.nodered.org/u/json.jason)\
**Post date:** [7 December 2021 19:19 UTC](https://discourse.nodered.org/t/in-node-red-snap-how-to-change-the-settings-js-file/8411/3 "2021-12-07T19:19:11Z")

</div>

I looked in the /var/snap/node-red/current directory and it's empty. Please advise. I need to get to the settings.js file to enable ssl and other things. Thank you!

UPDATE: I found the settings.js file at /root/snap/node-red/current

---

<div class="post-metadata">

**Author:** ![json.jason](https://avatars.discourse-cdn.com/v4/letter/j/ec9cab/32.png) [@json.jason](https://discourse.nodered.org/u/json.jason)\
**Post date:** [7 December 2021 21:40 UTC](https://discourse.nodered.org/t/in-node-red-snap-how-to-change-the-settings-js-file/8411/4 "2021-12-07T21:40:20Z")

</div>

I had the same issue and finally found it - it's in /root/snap/node-red/current

---

<div class="post-metadata">

**Author:** ![json.jason](https://avatars.discourse-cdn.com/v4/letter/j/ec9cab/32.png) [@json.jason](https://discourse.nodered.org/u/json.jason)\
**Post date:** [8 December 2021 14:59 UTC](https://discourse.nodered.org/t/in-node-red-snap-how-to-change-the-settings-js-file/8411/5 "2021-12-08T14:59:24Z")

</div>

UPDATE#2 - I did a snap refresh to upgrade Node-RED to 2.1.4 and now the settings file is no longer under the path above. It is now located at /var/snap/node-red/current

---

<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:** [22 December 2021 14:59 UTC](https://discourse.nodered.org/t/in-node-red-snap-how-to-change-the-settings-js-file/8411/6 "2021-12-22T14:59:49Z")

</div>

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