Issue with context storage
See original GitHub issueProblem/Motivation
I am using the possibility of persistent context data storage on localfilesystem by including following lines in settings.js:
contextStorage: {
default: {
module: "localfilesystem"
}
},
After upgrading to nodered addon V:10.1.0, I can see in the logs:

It says that persistent storage method is not specified, but from my testing, it appears that persistent data storage is really working, as expected from configuration settings and despite the log message.
Expected behavior
If persistent data storage is specified and working as per configuration settings, the log message should reflect this and not say that it is disabled.
Actual behavior
Log Message says that persistent storage method is not specified, while such method is correctly specified in settings.js and verified to be working ok.
Steps to reproduce
(How can someone else make/see it happen)
Proposed changes
Correct log message for persistent storage method
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (4 by maintainers)

Top Related StackOverflow Question
I have inserted in /config/nodered/settings.js those lines:
// configure contextStorage
contextStorage: { default: “file”, memoryOnly: { module: ‘memory’ }, file: { module: ‘localfilesystem’ } },
This makes it persistent and selects “file” as default when storing context data:
Persistent context data is saved in the backup data and therefore can be restored.
There hasn’t been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!