We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please see https://discourse.nodered.org/t/multiple-localfilesystems/71617/48
All details there.
No response
paste your flow here
Linux 5.15.74.2-microsoft-standard-WSL2 x64 LE
The text was updated successfully, but these errors were encountered:
Turns out I had given bad advice in that thread in how to properly configure multiple stores.
I failed to remember the store config needs to be nested under a config property - as described in the docs here.
config
So instead of
contextStorage: { default: "memoryOnly", memoryOnly: { module: 'memory' }, file: { module: 'localfilesystem', dir: '/home/user/.node-red/context1' }, file2: { module: 'localfilesystem', dir: '/home/user/.node-red/context2' }, file3: { module: 'localfilesystem', dir: '/home/user/.node-red/context3' } },
it should have been:
contextStorage: { default: "memoryOnly", memoryOnly: { module: 'memory' }, file: { module: 'localfilesystem', config: { dir: '/home/user/.node-red/context1' } }, file2: { module: 'localfilesystem', config: { dir: '/home/user/.node-red/context2' } } },
Sorry, something went wrong.
No branches or pull requests
Current Behavior
Please see https://discourse.nodered.org/t/multiple-localfilesystems/71617/48
All details there.
Expected Behavior
No response
Steps To Reproduce
No response
Example flow
Environment
Linux 5.15.74.2-microsoft-standard-WSL2 x64 LE
The text was updated successfully, but these errors were encountered: