tprelog / iocage-node-red

Node-RED - TrueNAS CORE Community Plugin
2 stars 5 forks source link

upgrading node red? #8

Closed hros closed 3 years ago

hros commented 3 years ago

how do I upgrade the node red version in this plugin? similar plugins (home assistant, esphome) have a console menu for upgrading. what's the procedure in this plugin?

Ekristoffe commented 3 years ago

upgrading the plugin require: Go to "Jail", select Node-RED jail (click on the arrow on the right side), click on "Shell", type "service nodered upgrade" press enter. Enjoy

hros commented 3 years ago

thanks works perfectly I would suggest updating the login screen of the jail, which currently reads:

| \ || . || . \| __>| . \| __>| . \
|   || | || | || _> |   /| _> | | |
|_\_|`___'|___/|___>|_\_\|___>|___/

- Plugin directory for Node-RED
    /var/db/nodered

- Plugin default Node-RED settings
    /var/db/nodered/settings.js

- Logfile for Node-RED daemon
    /var/log/nodered_daemon.log

- Control the node-red daemon
    service nodered [start|stop|status|restart]

by changing the last line to:

    service nodered [start|stop|status|restart|upgrade]
Ekristoffe commented 3 years ago

true true ...