I'm running node-RED on a Raspberry Pi with a read-only file system. Node-red seems to work fine (obviously once the flows have been saved). However when adminAuth is enabled it's not possible to login to view the editor when the file system is in read-only mode, it just hangs at the login page. Presumably this is since adminAuth is saving a token file somewhere? Would it be possible to change the location of this token file to be on a /tmp or RW part of the filesystem?
--
http://nodered.org
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
http://nodered.org
---
You received this message because you are subscribed to a topic in the Google Groups "Node-RED" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/node-red/qC0PC0yTpLk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to node-red+u...@googlegroups.com.
readOnly: true, in module.exports.
All works as described. I can now login to the web editor when fs is RO. However since saving the flows fails quietly the user won't know that their flow creating work won't be saved upon deploy.
To fix this I could move .node-red to a RW /data partition or symlink the flows file from the RW partition. How could this be done and would it have implications for future updates?
--