Context Variables saved in Filesystem do not show in Sidebar

I set my context variables to be saved locally by adding this to the settings.js:

  contextStorage: {
    default: {
      module: "localfilesystem"
    },
    memoryOnly: {
      module: "memory"
    }
  },

but since I made this change, my context variables are not displayed in the context sidebar any more.
image
They still seem to be saved and read without issues but their visual disappearance concerns me a little :wink:.

Does anybody have an idea how to fix this?

According to the docs your formatting is wrong.

contextStorage: {
   default: "file",
   memoryOnly: { module: 'memory' },
   file: { module: 'localfilesystem' }
}

https://nodered.org/docs/user-guide/context#using-multiple-context-stores

Yeah, already changed it. Doesn’t make any difference. Both formats end up with the same issue.

Just in case you missed it you must first refresh before the context is displayed. When you start nodered, you will see in the log a confirmation, that it loaded both memory and local file system. Are there any warnings? Then in the change node you should see the little hamburger menu?

If that is all there it’s probably fine but yeah this would drive me nuts.

Exactly. you have to click on refresh icon in order to get current values.

Of course I know about the update button. I used the context data sidebar all the time before adding the filesystem storage and it worked fine all the time.

The only data objects I can see there are “actionflows” and “homeassistant” in the “Global” section. Both marked as saved in the file system. But all Flow variables and my own global variables are missing.
image

There are two warnings an one error in the log which I will have to look after. But I don’t think they are related to the problem:

The hamburger menu is shown in the change node:
image

Edit: Well, now after several restarts, injections and reloading of the flow variable view they are shown. I don’t know why they stayed invisible before. The logs have not changed. This was strange behavior but now everything is displayed just fine.

Same issue detected , I’ve updated to latest NodeRed 3.0.01, but still have no data shown on sidebar, refreshing not helping,

Maybe if you are using “filesystem” it wont show info, this is default behavior ?

I’m on the latest version, have file storage as default and can see all values. Have either of you tried to reinstall, that seems to be your next step. Make sure to remove the node red folder completely.

Back up all flows, delete the addon, rename the nodered folder node-red.old reboot the host. go to settings, system, hardware, three dots on right, choose reboot host. Then reinstall.