Network Binding has to be re-added on a reboot or an systemctl restart openhab2.service.
System info at the bottom.
Problem is consistently repeatable:
[12:58:27] root@openHABianPi:~# systemctl restart openhab2.service
[12:59:01] root@openHABianPi:~# systemctl status openhab2.service
● openhab2.service - openHAB 2 - empowering the smart home
Loaded: loaded (/usr/lib/systemd/system/openhab2.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2019-10-08 12:59:01 AKDT; 8s ago
Docs: Introduction | openHAB
https://community.openhab.org
Process: 9268 ExecStop=/usr/share/openhab2/runtime/bin/karaf stop (code=exited, status=0/SUCCESS)
Main PID: 9455 (java)
Tasks: 26 (limit: 4915)
CGroup: /system.slice/openhab2.service
└─9455 /usr/bin/java -Dopenhab.home=/usr/share/openhab2 -Dopenhab.conf=/etc/openhab2 -Dopenhab.runtime=/usr/share/openhab2/runtime -Dopenhab.userdata=/var/lib/openhab2 -Dopenh
Oct 08 12:59:01 openHABianPi systemd[1]: Started openHAB 2 - empowering the smart home.
openhab.log:
[13:00:11] root@openHABianPi:~# cat /var/log/openhab2/openhab.log | grep -i network | grep -vi Z-Wave | grep -vi zwave
2019-10-08 12:59:40.848 [DEBUG] [etControllerCapabilitiesMessageClass] - Controller is on other network = false
2019-10-08 12:59:47.542 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled ‘openhab-binding-network’
[13:00:36] root@openHABianPi:~#
Attempts to fix:
updated to current via openhabian-config
fixed permissions via openhabian-config “Fix Permissions”
Looking in the community for ‘network binding uninstalled’ and 'network binding uninstalled on restart gave several hits:
This seems to be the most relevant one:
but appears to be unresolved.
This also has information, but seems to indicate that there are incompatibilities between paperui and various config files, some of which appear to be openhabian specific. Perhaps openhabian is not well understood by newbs such as myself?
There were other hits that seemed to be openhabian related.
Not sure what to do now. Suggestions?
Thanks,
Relevant info below:
[12:44:43] root@openHABianPi:~# uname -an
Linux openHABianPi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux
[12:45:21] root@openHABianPi:~# openhab-cli info
Version: 2.4.0 (Build)
User: openhab (Active Process 23626)
User Groups: openhab tty dialout audio bluetooth gpio
Directories: Folder Name | Path | User:Group
----------- | ---- | ----------
OPENHAB_HOME | /usr/share/openhab2 | openhab:openhab
OPENHAB_RUNTIME | /usr/share/openhab2/runtime | openhab:openhab
OPENHAB_USERDATA | /var/lib/openhab2 | openhab:openhab
OPENHAB_CONF | /etc/openhab2 | openhab:openhab
OPENHAB_LOGDIR | /var/log/openhab2 | openhab:openhab
OPENHAB_BACKUPS | /var/lib/openhab2/backups | openhab:openhab
URLs: http://192.168.22.15:8080
https://192.168.22.15:8443
[12:45:34] root@openHABianPi:~# java -version
openjdk version “1.8.0_222”
OpenJDK Runtime Environment (Zulu8.40.0.178-CA-linux_aarch32hf) (build 1.8.0_222-b178)
OpenJDK Client VM (Zulu8.40.0.178-CA-linux_aarch32hf) (build 25.222-b178, mixed mode, Evaluation)
[13:00:36] root@openHABianPi:~# cat /etc/openhab2/services/network.cfg
binding.network:allowSystemPings=true
binding.network:allowDHCPlisten=true
binding.network:arpPingToolPath=arping
binding.network:cacheDeviceStateTimeInMS=2000
[13:02:31] root@openHABianPi:~# find /etc/openhab2 -iname “network”
/etc/openhab2/services/network.cfg
[13:03:11] root@openHABianPi:~#
[13:03:11] root@openHABianPi:~# find /usr/share/openhab2 -iname “network”
[13:04:31] root@openHABianPi:~#