Node-RED must be restarted to enable upgraded modules

not unless you have written a batch script to do it and can run that from an exec node. You'll still need to refresh the screen once it s started again.

1 Like

Something like this does the job, but requires to have the dashboard ready before starting to update the nodes.

[{"id":"c2424db6.edbcb8","type":"ui_button","z":"713ed5c4.7ba12c","name":"","group":"bdd1c458.eb10d","order":0,"width":0,"height":0,"passthru":false,"label":"Restart","tooltip":"","color":"","bgcolor":"","icon":"","payload":"","payloadType":"str","topic":"","x":230,"y":160,"wires":[["e04f0787.48d2c8"]]},{"id":"e04f0787.48d2c8","type":"exec","z":"713ed5c4.7ba12c","command":"sudo systemctl restart nodered","addpay":true,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"","x":290,"y":300,"wires":[["50beabc3.08edec"],["bcc54aac.2f2358"],["6bf21f97.bfaa6"]]},{"id":"bdd1c458.eb10d","type":"ui_group","z":"","name":"Control","tab":"74ede313.b5794c","order":1,"disp":true,"width":"6","collapse":false},{"id":"74ede313.b5794c","type":"ui_tab","z":"","name":"Home","icon":"dashboard","disabled":false,"hidden":false}]

Adding an option to relaunch NR on the main menu would make it easier.

You can always put an inject node in place of the button, then you can trigger it from the editor.

It can be restarted through HASS-Supervisor

Newbie here also ... and was browsing HOW to do this myself on a Rpi install :slight_smile:

1 Like