Hi, I installed Influx database on my device by downloading it from PLCnext Store, then installing it via WBM. Installation passes fine and I start it fine.
Since I am new to Influx and PLXnext in general, I can not see influx running on my PLCnext device. I managed to start database like this:
Go to apps folder and find where influx is installed
Run "podman load -i images/influxdb.tar.gz " with admin account
Query database using influx client inside container
Query base using curl with localhost
Is this correct way of using it, or I did something wrong here?
I am kind of confused what does application installation trough WBM does in this case, since podman was not running influx inside container.
Hi, I followed those steps. Downloaded application and installed it via WBM.
Installation when fine, then I executed „Start“ to start application via WBM.
Application was successfully running at least from WBM point of view.
When I tried to access it via URL I failed to do it, even though application is „running“ on device.
Directories:
- /opt/plcnext/appshome/data/60002172000622/volumes/influxdb/data
- /opt/plcnext/appshome/data/60002172000622/volumes/influxdb/config
- /opt/plcnext/appshome/data/60002172000622/volumes/influxdb/certificates
are created successfully.
When I try to access it like this „https://192.168.1.20:58086“ nothing happens. WBM works fine on this IP address.
When I try to access it like this „curl -k https://127.0.0.1:58086“ I get a response.
Problem is I can not access it externally with some other PC that is in a same network. SSH from remote host to device works fine. This is my netstat output on device:
tcp6 0 0 :::58086 :::* LISTEN 1001 13915 -
I managed to access DB once I turned off firewall on device, so I need to make changes to the „Firewall/Basic Configuration“ to enable access via port 58086 using IPv4.