Skip to content

localFileSystem data cleared #2723

@tanjie9012

Description

@tanjie9012

setting.js
contextStorage: {
default: "memory",
memory: {module: 'memory'},
file: {
module: 'localfilesystem',
config: {
//dir: "~/.node-red",
//base: "context",
//cache: true,
flushInterval: 5
}
}
}

After power failure, there is a certain probability that the context storage file data will be emptied with a length of 0. What causes this problem? Is the operation of clearing data occurred during power failure or during NR startup?

  • Node-RED version: v1.0.4
  • Node.js version: v12.16.1
  • npm version: v6.13.4
  • Platform/OS: OpenWrt v19.0.7
  • Browser:
  • running in Docker:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions