# Tail Node path issue (Noob)

**URL:** <https://discourse.nodered.org/t/tail-node-path-issue-noob/28620>\
**Category:** General\
**Created:** [19 June 2020 15:18 UTC](https://discourse.nodered.org/t/tail-node-path-issue-noob/28620 "2020-06-19T15:18:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sparhawk](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sparhawk/32/24227_2.png) [@Sparhawk](https://discourse.nodered.org/u/Sparhawk)\
**Post date:** [19 June 2020 15:18 UTC](https://discourse.nodered.org/t/tail-node-path-issue-noob/28620/1 "2020-06-19T15:18:22Z")

</div>

Hi, (warning, huge nood ahead!)

I've got Node-Red set up with Home Assistant (through the supervisor). It has allowed me to create a bunch of great automations so far.

Currently I'm trying to read a log file 'OZW\_Log.txt' to get granular Z-Wave data.

From what I can tell I should be able to point a Tail Node at that file... but I can't get the Tail Node to find any files. (I get this debug info: "File not found: \<any path I've tried\>")

This is running on a Synology NAS with docker. Below are the relevant system paths:  
/volume1/docker/hass.io/homeassistant/OZW\_Log.txt  
/volume1/docker/hass.io/homeassistant/node-red

I'm sure I'm missing something obvious, but I can't seem to figure it out, and I haven't found any info besides some volume mounting info that's going a little over my head, and I didn't want to start messing around randomly with the docker config given that the rest of node-red is currently working.

Thanks in advance for reading, and hopefully pointing me in the right direction here. lol.

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [19 June 2020 16:00 UTC](https://discourse.nodered.org/t/tail-node-path-issue-noob/28620/2 "2020-06-19T16:00:50Z")

</div>

As you are running node-red in a docker container, you cannot access the native filesystem (it is a container, hence the word container)

You should be able to open the file like `./OZW_Log.txt`  
Or if that doesn't work, use an exec node to determine which directory node-red is living on with `pwd`

---

<div class="post-metadata">

**Author:** ![Sparhawk](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sparhawk/32/24227_2.png) [@Sparhawk](https://discourse.nodered.org/u/Sparhawk)\
**Post date:** [19 June 2020 20:39 UTC](https://discourse.nodered.org/t/tail-node-path-issue-noob/28620/3 "2020-06-19T20:39:56Z")

</div>

Thanks for the reply!

I figured it out after playing with things for a bit again using your suggestion.

I found this list of volumes in the container details:  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/f/6fc776330a527146977439dade5392acf6ea872b.png)  
So, I just had to use: `/config/OZW_Log.txt`

It's reading out the file now, so now I can get to automating more things!

Thanks!

---

<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:** [3 July 2020 20:39 UTC](https://discourse.nodered.org/t/tail-node-path-issue-noob/28620/4 "2020-07-03T20:39:57Z")

</div>

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