Hi,
I am using Node Red on several of my setups, and I am trying to enable the persistent file context to keep a few things over a reboot. For now I am testing on a Cerbo and a Pi, both running v3.30
I am creating the file /data/home/nodered/.node-red/settings-user.js as suggested, and have added the following which I believe is correct?
module.exports = { contextStorage: { default: "memoryOnly", memoryOnly: { module: 'memory' }, file: { module: 'localfilesystem' } }, },
However this does not appear to work. I've tried restarting NodeRed via Remote Console, and rebooting the entire device, but no change.
On every boot I see the following in the log file, but I don't understand why it is not loading.
[info]: loading /data/home/nodered/.node-red/settings-user.js failed
The settings-user.js file is owned by nodered, as is the .node-red folder