• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Node-RED 'projects' possible on netPI?
#1
Hi,

I thought of using the 'projects' feature of Node-RED to save my flows on GitHub.
I found tutorials saying, that setting this variable:
   
will work an apparently it does try:
   
however, fails when trying to find 'git'.

So, I wondered, is this image of Node-RED that is supplied under 'HilscherAutomation/netPI-nodered' on GitHub able to use projects (has git included) and I am doing something wrong or do I need another option than that to back up the content of my Node-RED container (and possibly import them on other netPI devices)?

Thanks a lot in advance.

Best regards,
Johannes
  Reply
#2
Well the Hilscher Node-RED container is very very large meanwhile and it was growing version by version. Compressed it is 316Mbyte large on Docker Hub only, but uncompressed it is about 950Mbyte big right now.

This is why I was avoiding putting all "possible" needs into it the last years when I was creating the versions. One of these omitted commands/features is indeed installing the "git" command into the container by default. Cause this is a very very huge package.

But nevertheless you can post install all necessary commands you need in a running container if you want. In the portainer.io containers overview list you find several small icons you can click on for each containers listed. One is opening a terminal console in the context of the container.

If you then call
Code:
sudo apt update
sudo apt install git

your container is fine to go after a restart.

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#3
Hi,

thanks a lot. I will try this.

Best regards,
Johannes
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Node red web UI issue DSongra 3 282 July-22nd-2021, 02:47 PM
Last Post: Armin@netPI
  Node-RED: OpcUa Client node tad 4 568 June-9th-2021, 08:51 AM
Last Post: tad
  Accessing a modbus device connected to RTE port from Node-RED tad 10 2,760 October-2nd-2020, 07:21 AM
Last Post: Armin@netPI
  5 x NL 50-Mpi and Node Red like colector data? Jotarod 4 1,172 September-14th-2020, 01:59 PM
Last Post: Armin@netPI
  Node-Red "http in"-Node not working DWxPro 8 2,434 June-19th-2020, 01:12 AM
Last Post: DWxPro
  using node.js on NIOT-E-TP151-EN-RE COswald 9 2,315 May-20th-2020, 12:54 PM
Last Post: Armin@netPI
  Error when using a node 'OpcUaServer' tad 6 1,620 May-12th-2020, 08:35 AM
Last Post: tad
  Node-RED log location SteveO 1 853 May-11th-2020, 07:53 PM
Last Post: Armin@netPI
  how to pick up PROFINET data and store them to OPC UA server on Node-RED/netPI. tad 7 2,453 March-16th-2020, 10:21 AM
Last Post: Armin@netPI
  Node Red stop working DSongra 1 1,250 February-12th-2020, 08:19 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)