after the update of NodeRed to V2.x.x I get the type_already_registeres message with the RBE-node.
I have read in other topics that the rbe-node has been replaced with the filter-node.
All my nodes are still shown as "rbe". A double-click on it states them then as "filter".
I have tried "npm remove node-red-node-rbe" or "npm uninstall node-red-node-rbe" in the command window of Portainer and after that restarted the container.
bash-5.0$ npm remove node-red-node-rbe
audited 317 packages in 55.121s
29 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Unfortunately there is no difference, the rbe-node is still shown in the palette manager and also on the flows.
How do I remove the rbe-node and this warning?
When you ran the npm remove command, were you in the folder where the package.json and node_modules folders are located? When you run it you should see a message telling you that it removed one or more packages.
Your node_modules folder is owned by root. I guess you installed using sudo at some point. Change the ownership of that folder and all contained files/folders. Then run npm install node-red-node-rbe npm remove node-red-node-rbe
Then restart node-red. If still no joy then what do these commands show npm list node-red-node-rbe sudo npm list -g node-red-node-rbe
Isn't that where you should be running npm remove? Try removing it there.
If it isn't that then I think you need someone who knows more about docker to help.
It's just a warning - as they are in fact the same node (we renamed rbe to filter for 2.x) -the fact that they are overlapping won't cause an issue and can be ignored.
I have now executed the npm remove in the desired data-folder:
bash-5.0$ ls -la
total 432
drwxrwxr-x 6 node-red root 4096 Jan 4 11:48 .
drwxr-xr-x 1 root root 4096 Jan 4 07:47 ..
-rw-r--r-- 1 node-red node-red 16025 Oct 31 2020 .config.json
-rw-r--r-- 1 node-red node-red 16121 Oct 31 2020 .config.json.backup
-rw-r--r-- 1 node-red node-red 29589 Jan 4 08:03 .config.nodes.json
-rw-r--r-- 1 node-red node-red 29662 Jan 4 08:03 .config.nodes.json.backup
-rw-r--r-- 1 node-red node-red 2 Nov 1 2020 .config.projects.json
-rw-r--r-- 1 node-red node-red 95 Nov 1 2020 .config.runtime.json
-rw-r--r-- 1 node-red node-red 626 Jan 4 09:19 .config.users.json
-rw-r--r-- 1 node-red node-red 626 Jan 4 09:19 .config.users.json.backup
-rw-r--r-- 1 node-red node-red 116077 Jan 4 11:48 .flows.json.backup
-rw-r--r-- 1 node-red node-red 152 Jan 4 07:29 .flows_cred.json.backup
drwxr-xr-x 4 node-red node-red 4096 Jan 4 07:58 .npm
-rw-r--r-- 1 node-red node-red 116077 Jan 4 11:48 flows.json
-rw-r--r-- 1 node-red node-red 124 Jan 4 07:29 flows_cred.json
drwxr-xr-x 3 node-red node-red 4096 Sep 3 11:18 knxultimatestorage
drwxr-xr-x 3 node-red node-red 4096 Jun 9 2020 lib
drwxr-xr-x 104 node-red node-red 4096 Jan 4 07:58 node_modules
-rw-r--r-- 1 node-red node-red 35864 Jan 4 07:58 package-lock.json
-rw-r--r-- 1 node-red node-red 827 Jan 4 07:58 package.json
-rw-r--r-- 1 node-red node-red 12450 Jun 9 2020 settings.js
bash-5.0$ npm remove node-red-node-rbe
removed 1 package and audited 103 packages in 22.841s
1 package is looking for funding
run `npm fund` for details
found 2 high severity vulnerabilities
run `npm audit fix` to fix them, or `npm audit` for details
bash-5.0$
After restarting NodeRED I have checked the webinterface again and now all nodes are changed to "filter" instead of "rbe". Thank you very much for your help.
The 2 vulnerabilites are from a S7-controller node, which I fixed with npm audit fix.