-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
Blocker
-
Component/s: Setup
On a new Debian 11 SolarNodeOS running on a CM4 board, updated and with nifty installed using
sudo apt install solarnode-app-io-modbus-nifty-jsc && sn-restart
the web interface does not let you add a new serial connection. when searching the directory:
sudo ls -l /var/lib/solarnode/app/main/
there is a duplicate of the net.solarnetwork.node.io.modbus file, and the owner of some files is user root not user solar - not sure if that is intended:
-rw-r--r-- 1 solar solar 11985 Feb 22 04:03 net.solarnetwork.node.datum.deson.sdm-4.0.0.jar -rw-r--r-- 1 solar solar 56878 Feb 22 04:03 net.solarnetwork.node.datum.modbus-4.0.1.jar -rw-r--r-- 1 solar solar 19336 Feb 22 04:03 net.solarnetwork.node.hw.deson-3.0.0.jar -rw-r--r-- 1 solar solar 72378 Feb 22 04:03 net.solarnetwork.node.io.modbus-5.0.0.jar -rw-r--r-- 1 root root 73047 Jul 10 2023 net.solarnetwork.node.io.modbus-5.1.0.jar -rw-r--r-- 1 root root 26266 Jan 19 02:41 net.solarnetwork.node.io.modbus.nifty-2.1.2.jar -rw-r--r-- 1 root root 10886 Nov 8 05:16 net.solarnetwork.node.io.modbus.nifty.jsc-2.1.2.jar -rw-r--r-- 1 solar solar 11023 Mar 8 2023 net.solarnetwork.node.location.ws-4.0.0.jar -rw-r--r-- 1 solar solar 18294 Mar 8 2023 net.solarnetwork.node.metadata.json-3.0.0.jar
This was on initial setup on a fresh node just created and associated not one with a complex history. The effect was that the web user sees no new Modbus Serial Connection get created but it return you to the screen where it would normally list them. By removing the net.solarnetwork.node.io.modbus-5.0.0.jar file and doing sn-restart command, the serial connections were being added and it shows 4 of them.