# Docker NodeRed on Unraid Applestreudal File Path

**URL:** <https://discourse.nodered.org/t/docker-nodered-on-unraid-applestreudal-file-path/59823>\
**Category:** General\
**Tags:** docker\
**Created:** [14 March 2022 02:06 UTC](https://discourse.nodered.org/t/docker-nodered-on-unraid-applestreudal-file-path/59823 "2022-03-14T02:06:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![CAL37](https://avatars.discourse-cdn.com/v4/letter/c/13edae/32.png) [@CAL37](https://discourse.nodered.org/u/CAL37)\
**Post date:** [14 March 2022 02:06 UTC](https://discourse.nodered.org/t/docker-nodered-on-unraid-applestreudal-file-path/59823/1 "2022-03-14T02:06:04Z")

</div>

Does anyone run Node-Red using docker on Unraid? I'm trying to authenticate my Alexa and have narrowed it down to possibly being a access issue to save the cookie. I tried to see if I could just get to /mnt, but got **EISDIR: illegal operation on a directory, read** so it sounds like the container does not have access. I have the data path mapped. What am I missing?

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/5/15a64314e8799a2ea02672280ac49778b0004dcc.png)

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/3/a32210d6ec297e70acfffa07edd2ba98837f6e54.png)

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [14 March 2022 02:31 UTC](https://discourse.nodered.org/t/docker-nodered-on-unraid-applestreudal-file-path/59823/2 "2022-03-14T02:31:05Z")

</div>

Not got an answer for docker file path, but you can save the cookie to context look here

> [@Alexa-remote2 On HA, on a Pi4 what do I enter for the File Path](https://discourse.nodered.org/t/alexa-remote2-on-ha-on-a-pi4-what-do-i-enter-for-the-file-path/54583/2):
>
> I used to just have cookie.txt, this would save in the home folder, as it is taken a relative path. You couild also use the absolute path from root. I do not set a file path any longer, or auto init and use the init node and save the resulting cookie to a flow context and load the cookie from flow context cookie in the inject. e.g. [{"id":"e63c03b3.745b48","type":"inject","z":"d629013b.18a518","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"86400","crontab":"","once":t…

---

<div class="post-metadata">

**Author:** ![CAL37](https://avatars.discourse-cdn.com/v4/letter/c/13edae/32.png) [@CAL37](https://discourse.nodered.org/u/CAL37)\
**Post date:** [14 March 2022 11:59 UTC](https://discourse.nodered.org/t/docker-nodered-on-unraid-applestreudal-file-path/59823/3 "2022-03-14T11:59:15Z")

</div>

@E1cid where do you place the cookie at? In the msg.topic?

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [14 March 2022 12:01 UTC](https://discourse.nodered.org/t/docker-nodered-on-unraid-applestreudal-file-path/59823/4 "2022-03-14T12:01:42Z")

</div>

If you go to the link provided it has an example flow. The cookie is stored in a context variable ( make sure you use file context storage)

---

<div class="post-metadata">

**Author:** ![CAL37](https://avatars.discourse-cdn.com/v4/letter/c/13edae/32.png) [@CAL37](https://discourse.nodered.org/u/CAL37)\
**Post date:** [14 March 2022 12:40 UTC](https://discourse.nodered.org/t/docker-nodered-on-unraid-applestreudal-file-path/59823/5 "2022-03-14T12:40:47Z")

</div>

@E1cid I did import your flow example, but was getting _Unexpected end of JSON input_ after I signed into my amazon account. I looked into file context storage and uncommented the context storage in settings.js, restarted node-red, but still same error. Is this the file context storage i'm supposed to be using?

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/a/ea06d26e01b229ed9c245921a3dd2cb4d974db90.png)

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [14 March 2022 12:46 UTC](https://discourse.nodered.org/t/docker-nodered-on-unraid-applestreudal-file-path/59823/6 "2022-03-14T12:46:54Z")

</div>

The file context storage is just so the stored cookie survives a restart.

You have to uncheck auto int in your alexa config and i use proxy in the alexa config

Post your relevant flow as can not see how you are implementing it.

---

<div class="post-metadata">

**Author:** ![CAL37](https://avatars.discourse-cdn.com/v4/letter/c/13edae/32.png) [@CAL37](https://discourse.nodered.org/u/CAL37)\
**Post date:** [14 March 2022 13:09 UTC](https://discourse.nodered.org/t/docker-nodered-on-unraid-applestreudal-file-path/59823/7 "2022-03-14T13:09:58Z")

</div>

@E1cid I deleted that docker container/config and created a whole new docker image, added the local filestorage into the settings file and it worked this time!!! I must of had something wrong in the settings file. Thank you for your help again!

---

<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:** [28 March 2022 13:10 UTC](https://discourse.nodered.org/t/docker-nodered-on-unraid-applestreudal-file-path/59823/8 "2022-03-28T13:10:11Z")

</div>

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