Problem with the context storage in Node-RED (RevPi Connect 5)

Topics about the Software of Revolution Pi
Post Reply
User avatar
Daniele.tampieri
Posts: 19
Joined: 03 Nov 2020, 21:58

Problem with the context storage in Node-RED (RevPi Connect 5)

Post by Daniele.tampieri »

I tried to enable the context storage in Node-RED: I opened the Node-RED settings page in cockpit then changed the `Context Storage` section as follows

Code: Select all

contextStorage: {
	default: {
	module:"localfilesystem",
	config: {
		dir: "/var/lib/revpi-nodered/.node-red/",
			cache: true,
			flushInterval: 10,
		},
	},
},
However, the flow variables are not kept between two device reset (or turn off), and moreover the `/var/lib/revpi-nodered/.node-red/context`is empty. What is wrong?
Daniele Tampieri
Post Reply