Added Node red using the Add-on Guide https://forum.ewelink.cc/t/add-on-guide-node-red/15505. Node red seems to work - I am new to it, but it works for me!
On the left side there are some ‘storage’ nodes - write file, read file, watch.
I am trying to use the ‘write file’ node to write some debug messages to a file - so I can use filebrowser to view the file/data.
The issue is that I can only save files to the ‘/data’ directory, anything else gets a “failed to append to file: Error: EACCES: permission denied, open ‘/data/debug/db3’” - in this case I used filebrowser to create a new directory in /data (which worked) and tried to generate a new file in that directory using Node red (which did not work).
Initially I thought that the issue was with Node red, but it could also be an ihost permissons issue - not sure if its at a user or app level - or something else entirely.
Ideally I would like to write files to a seperate volume, to keep my mess seperate. At the moment everything is going into ‘node-red-files’ (using filebrowser).
Has anyone run into this already? and fixed?
TIA