Node-red inject node not working

After installing v4.1.2 and importing my flows the inject node does not respond and has it's button greyed out.
node-red -v gives:
7 Jan 18:43:49 - [info] Node-RED version: v4.1.2
7 Jan 18:43:49 - [info] Node.js version: v24.12.0
7 Jan 18:43:49 - [info] Linux 5.15.0-164-generic x64 LE
7 Jan 18:43:49 - [info] Loading palette nodes
7 Jan 18:43:50 - [info] Settings file : /home/jean/.node-red/settings.js
7 Jan 18:43:50 - [info] Context store : 'default' [module=memory]
7 Jan 18:43:50 - [info] User directory : /home/jean/.node-red
7 Jan 18:43:50 - [warn] Projects disabled : editorTheme.projects.enabled=false
7 Jan 18:43:50 - [info] Flows file : /home/jean/.node-red/flows.json
7 Jan 18:43:50 - [info] Server now running at http://127.0.0.1:1880/
7 Jan 18:43:50 - [warn]


Your flow credentials file is encrypted using a system-generated key.

Several of the imported nodes are unknown and assuming that this might be the cause of the inject node failure I removed most unknown nodes. I was unable to remove ui-base,ui-link,ui-tab,ui-group,ui-spacer.
I also tried deleting all flows and surprisingly I am still getting the unknown node message.
The inject node on a new flow is equally inactive.

How?

If you go to Manage Palette can you uninstall node-red-dashboard?
What happens when you try?

Go to Configuration Nodes in Manage Palette and click Unused at the top. Probably those nodes are there. Select and Delete them (delete key) then deploy. If they are there, but showing unused, then you still have some dashboard nodes in your flows

You could always just install @flowfuse/node-red-dashboard instead of deleting all the nodes.

The reason the inject nodes don't work is because node-red is not running, due to the missing node types.

Thanks Colin, removing 80+ hidden nodes in Configuration nodes did the trick. Without your advice I was just too damned scared to delete them.

1 Like

Presumably you have a backup of your node red folder anyway. You can always go back to the previous version.

Yes, I had backup to distant storage. My server hardware died.

go back to the previous version

Not keen as trying to sort things out I had updated the palette and reconfigured several hundred nodes:

Influxdb 1 to 2

mqtt 3 to 5

modbus nodes due to new node-red version

and was unsuccessful at deploying after the above.

Of course your suggestion is the thing to do on a small basic flow.

Backup often when doing major changes. Every 10 minutes if necessary.
Note that it is not necessary to backup the node_modules folder as that can easily be regenerated. Just backup the rest of the .node-red folder.

1 Like