I have installed full Ignition 8.0.15 on some ARMV71 hardware.
Everything seems to be working well other than the ModbusRTU serial port driver module.
The device simply shows as ‘disconnected’.
The path to the serial devices is correct.
user@lcben:/dev$ ls |grep USB
ttyUSB0
There are no errors in the Ignition log, but there are in Connections->Devices. (But only when I use Trace level).
The first line seems to be the important one.
java.io.IOException: java.lang.NoClassDefFoundError: Could not initialize class com.fazecast.jSerialComm.SerialPort
Looking at StackOverflow etc point to the fact that the jSerialComm does not have permissions to the serial port.
Apparently this is most often caused by the user that Ignition is running as is not a member of the ‘dialout’ group.
When I check the user that is running Ignition, I find it is ‘root’.
user@lcben:/dev$ ps aux |grep ignition
root 4540 0.1 0.1 13324 2832 ? Sl 09:59 0:10 /opt/ignition/./ignition-gateway
When I check what groups ‘root’ is a member of, I find it is not a member of any.
As such I edited /etc/group
and added ‘root’ to the ‘dialout’ group and rebooted the computer.
Ignition still shows the same ‘Disconnected’ error and the same Java error in the log.
With that, I am at a bit of dead end.
If you have any pointers, I am all ears.
Thanks for you help.