Skip to main content
Version: TAO v1.x

Accessing Node-RED flow file

In case you encounter issues with Node-Red configuration, making Node-RED UI unreachable (e.g. infinite loop that consume all node CPU) and you have no backup file:

  • You may directly connect on the box using the node-red user (password is the one you use to connect on ThingPark Enterprise All-in-One):

    ssh node-red@$BOX_IP

  • Enter the node-red-data folder:

    cd $ROOTACT/node-red-data/

  • You can edit flows.json and correct the file.

  • You can now kill -9 the node-red process, it will be automatically restarted, take care to only kill the "node-red" process:

    am335x-evm:~$ ps | grep node-red
    3768 root 1464 S {S99node-red} /bin/sh /etc/rc5.d/S99node-red _respawnService
    3822 node-red 2600 S su -c /opt/node/bin/node /home/actility/node-red/node_modules/node-red/red.js --settings /home/actility/usr/etc/node-red/settings.js node-red
    3838 node-red 131m S node-red