Hilscher Community Forum
How to access Root Directory - Printable Version

+- Hilscher Community Forum (https://forum.hilscher.com)
+-- Forum: netPI 3 - Docker featuring Industrial Raspberry Pi 3 platform (https://forum.hilscher.com/forum-1.html)
+--- Forum: Software (https://forum.hilscher.com/forum-5.html)
+--- Thread: How to access Root Directory (/thread-509.html)



How to access Root Directory - Rajesh3128 - October-16th-2019

Hi,

I am required to access the root directory. Please find attached.

In order to install influxDB, we had updated the firmware. The installation could not be done. 

Requesting assist for the same.



   


RE: How to access Root Directory - Armin@netPI - October-16th-2019

Hello Rajesh,

please tell me whether or not you want to use Hilscher original software within netPI or do you want to use your own SD card with your own OS?

In case of Hilscher default software:

You have updated your netPI system software to version 1.2.0.0, right?

You want to use Node-RED on your netPI, right?

In case you want to use Node-RED I recommend to use a ready-to-use container https://hub.docker.com/r/hilschernetpi/netpi-nodered/. This container starts Node-RED for your and also includes the InfluxDB node already. There is no need to do anything else on your side. Just use it.

Regards
Armin


RE: How to access Root Directory - Armin@netPI - October-16th-2019

Basically I can say that netPI's default software next to the Linux OS is Docker.

This means that all user software that can be applied to netPI by customers (like you) have to be implemented using Docker containers.

Docker creates a file system for each deployed container. So you automatically get access to the containers file system always. So installing the InfluxDB node should never be a problem for you and your software.

Please tell me which container you are using right now you want to install InfluxDB node to?


RE: How to access Root Directory - Rajesh3128 - October-16th-2019

We are not using any separate container. So,Far we are using the following steps to install influx DB node:-
Main Page>Node Red>Manage Pallet>Install>Type in Search-"InfluxDB">node-red-contrib-influxdb-Install


RE: How to access Root Directory - Armin@netPI - October-16th-2019

Rajesh please tell me the name of your device printed outside on the housing label.


RE: How to access Root Directory - Rajesh3128 - October-16th-2019

(October-16th-2019, 10:48 AM)Armin@netPI Wrote: Rajesh please tell me the name of your device printed outside on the housing label.

NIOT-E-TPI51-EN-RE


RE: How to access Root Directory - Armin@netPI - October-16th-2019

Hallo Rajesh,

this is indeed what I expected.

Your device is called "Edge Gateway Connect" as marketing name. It is based on the same hardware as the product netPI named NIOT-E-NPI3-51-EN-RE but is loaded with different software. This software on "Connect Gateway" includes also a default installation of Node-RED (which you are using) which we secured by design. In turn this means this Node-RED environment does not include C compiler etc.. So if you now want to install special nodes that need compilation process during installation then this will fail ... as in your case.

Most common Node-RED nodes available on the web do not need such a compilation process and just install plain javascript code and HTML code. But not Influx DB.

So the only possibility for you is to disable the default secured Node-RED that comes preinstalled in Connect Gateway and deploy a containerized Node-RED that we provide under the link I sent in my post before. With this containerized version you have all possibilites. And best of it is that the containerized Node-RED includes InfluxDB node by default.

The other product "netPI" is 100% relying on Docker techniques and there is no default Node-RED preinstalled. With such a device the only chance you have is to use containers anyway.

Hope this helps.


RE: How to access Root Directory - Rajesh3128 - October-16th-2019

Hi,

We have connected the Hilscher device to a wifi network but the DHCP IP address is assigned by a different network. And we are using this dynamic IP for accessing the device as well.

After this, I am not sure if the internet is functioning properly in the device. Probably that is why any installation is not possible in node-red.

And the *Add container* method that you suggested, could not be implemented. It sent error saying, *Image not found*.

(October-16th-2019, 11:03 AM)Rajesh3128 Wrote: Hi,

We have connected the Hilscher device to a wifi network but the DHCP IP address is assigned by a different network. And we are using this dynamic IP for accessing the device as well.

After this, I am not sure if the internet is functioning properly in the device. Probably that is why any installation is not possible in node-red.

And the *Add container* method that you suggested, could not be implemented. It sent error saying, *Image not found*.

Including Image for deploying container

   


RE: How to access Root Directory - Armin@netPI - October-16th-2019

Well Rajesh in any case using container techniques needs internet contact of the device. Else the container cannot be pulled from the internet. So at least once there is contact needed.

And you may be right that if your device does not have internet access at all maybe that of course a post installation of InfluxDB in default secured Node-RED will also fail. Maybe this is the reason why it fails too.

You need to setup a proper internet connection. In general the device's Wifi can be used too to connect it to a Wifi router that gives internet access as a replacement for the single ethernet port.