Installing Node Red on freenas


#1

I have Node Red running on one server and would like to move everything over to my FreeNAS. Node Red is installed and working on the new server but I can not install nodes or update any.
I get a error like:

Failed to update: node-red-node-email
Module not locally installed
Check the log for more information

Could this be a permissions problem?


#2

that one isn’t , if you search the forum for email node and update you should find a full explanation.

What happens if you try to install a new contrib-node?


#3

If I try to install a new node I get this:

Failed to install: node-red-contrib-home-assistant
Error: Install failed
Check the log for more information


#4

What does the log say? Also try installing manually from the command line.

Note that the 0.20 beta gives you much better output from installing nodes. Nice.


#5

Thanks guys. I found that git was not installed in the jail.

How would I go about upgrading to 0.20 beta?


#6

Just follow the instructions in Nick's release post.


#7

Thanks that was easy to upgrade.

My next thing is does anyone know how to auto start Node Red on Freenas/Freebsd running in a jail? Or should I start a new topic about this?


#8

i’d suggest doing some research to see how you autostart other things on a freenas


#9

Ya I have been reading and searching. Still cannot find the answer.

I have the jail auto starting at boot but I need to open a shell in the Node Red jail and start it with "node-red". And if I log out of the jail or shell then Node Red stops.


#10

If you can’t find it on a freenas forum the chances of anyone on a NodeRED forum knowing the answer is slim


#11

The first hit I got on google suggested using pm2. I have no experience of it though.


#12

Thanks Colin. Not sure how I missed that one but that worked :smile: