Dear all, I have a strange behavior of Influxdb2, every time I open the webpage to Node-RED the Influxdb2 node shows up with red error sign. But if I only refresh the settings, then it goes away. If I refresh the webpage it comes back, and so on...
I'm running Node-RED as a container under Docker, as well as Influxdb2.
28 Dec 08:20:22 - [info] Node-RED version: v3.0.2
28 Dec 08:20:22 - [info] Node.js version: v16.20.1
28 Dec 08:20:22 - [info] Linux 5.10.0-26-amd64 x64 LE
28 Dec 08:20:23 - [info] Loading palette nodes
using @peculiar/webcrypto
28 Dec 08:20:25 - [info] Dashboard version 3.6.1 started at /ui
28 Dec 08:20:25 - [info] Settings file : /data/settings.js
28 Dec 08:20:25 - [info] Context store : 'default' [module=memory]
28 Dec 08:20:25 - [info] User directory : /data
28 Dec 08:20:25 - [warn] Projects disabled : editorTheme.projects.enabled=false
28 Dec 08:20:25 - [info] Flows file : /data/flows.json
28 Dec 08:20:25 - [info] Server now running at http://127.0.0.1:1880/
28 Dec 08:20:25 - [warn]
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
I suggest upgrading to the latest version of node-red (3.1.3). It may not make a difference, but is certainly worth doing. Are you using the latest version of the influxdb node?
29 Dec 05:23:48 - [info]
Welcome to Node-RED
===================
29 Dec 05:23:48 - [info] Node-RED version: v3.1.3
29 Dec 05:23:48 - [info] Node.js version: v16.20.2
29 Dec 05:23:48 - [info] Linux 5.10.0-26-amd64 x64 LE
29 Dec 05:23:48 - [info] Loading palette nodes
using @peculiar/webcrypto
29 Dec 05:23:51 - [info] Dashboard version 3.6.1 started at /ui
29 Dec 05:23:51 - [info] Settings file : /data/settings.js
29 Dec 05:23:51 - [info] Context store : 'default' [module=memory]
29 Dec 05:23:51 - [info] User directory : /data
29 Dec 05:23:51 - [warn] Projects disabled : editorTheme.projects.enabled=false
29 Dec 05:23:51 - [info] Flows file : /data/flows.json
29 Dec 05:23:51 - [info] Server now running at http://127.0.0.1:1880/
29 Dec 05:23:51 - [warn]
---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
29 Dec 05:23:51 - [info] Starting flows
Your influxdb server node is missing a hidden field database. Did you create that dbconfig in an earlier version and upgrade it, or something like that?
If, in an influxdb Out node, you click the server field and select Add New and then create a new one with the same settings then it should fix the problem. Then change all the other influx nodes to use the new one. Finally you can delete the unused one in Configuration Nodes in the node red dropdown menu.