I can confirm that the alternate folder settings for storage do not work.
settings.js
contextStorage: {
default: {
module:'memory',
},
file: {
module: 'localfilesystem',
// config: {
// flushInterval: '10', // default is 30s
// },
},
altFile: {
module: 'localfilesystem',
dir: '/home/julian/nrAltFileStore',
}
},
Flow
[{"id":"1d32ca5b3fdd573d","type":"inject","z":"8f633713fe222323","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":220,"y":240,"wires":[["07688e5a74b5e1eb"]]},{"id":"07688e5a74b5e1eb","type":"change","z":"8f633713fe222323","name":"","rules":[{"t":"set","p":"test1","pt":"flow","to":"This is the default store - a flow var","tot":"str"},{"t":"set","p":"#:(file)::test2","pt":"flow","to":"This is the file store - a flow var","tot":"str"},{"t":"set","p":"#:(altFile)::test3","pt":"flow","to":"This is the altFile store - a flow var","tot":"str"},{"t":"set","p":"test4","pt":"global","to":"This is the default store - a global var","tot":"str"},{"t":"set","p":"#:(file)::test5","pt":"global","to":"This is the file store - a global var","tot":"str"},{"t":"set","p":"#:(altFile)::test6","pt":"global","to":"This is the altFile store - a global var","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":400,"y":240,"wires":[["6e468a657e5df5d3"]]},{"id":"6e468a657e5df5d3","type":"debug","z":"8f633713fe222323","name":"debug 1","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":640,"y":240,"wires":[]}]
Nothing appears in /home/julian/nrAltFileStore
.
Latest node-red running under Debian (via WSL).