Node-Red through DietPi missing commands

Hi, I have NR installed through dietpi-software but it turns out, it doesn’t have the node-red-log command, not even the node-red command, despite everything else seems to be working fine.

Why is this installation different from the “official” one?

Thanks!

We just install the NPM modules and not any additional short cuts as the install would do. At the end, the logger is nothing else than a wrapper script to call journalctl. Same could be archived using journalctl directly

journalctl -n 50 -u node-red.service -o cat

Adjust -n 50 to the number of lines you like to see.


The executable is located outside the usuall path. Therefore you would need to call it directly

sudo -u nodered /mnt/dietpi_userdata/node-red/node_modules/.bin/node-red