Page 1 of 1

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

Posted: 09 Oct 2025, 10:21
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?