Hi all,
my setup is:
Raspberry Pi 3B+ with 16GB SD
Openhabian with openHAB 2.4 stable
I keep having trouble with a recurring Error 500 in Paper UI. It shows up every time I try to edit a zwave thing in Paper UI (e.g. changing the thing name). At the same time most of the settings for zwave things in Habmin are gone (parameters and association groups). This occurs every time I installed or uninstalled a binding via Paper UI. The only way to get rid of the error is to uninstall the zwave binding and reinstall it via the Zwave and Zigbee Manual Installer Script.
Apparently this issue has already shown up in a snapshot version, fixed in a later one. However, when upgrading to 2.5 (where this fix should be incorporated, if my understanding of version numbers is correct) it still persisted on my system.
For clarification here is the sequence in chronological order:
-
Everything is working fine, all settings for zwave things in Habmin are present, no Error 500 is shown in Paper UI when editing zwave things.
-
I install or uninstall any binding via Paper UI.
-
Error 500 is shown every time I edit a zwave thing in Paper UI. At the same time parameters and association groups for zwave things are gone in Habmin.
-
I uninstall the zwave binding via Paper UI.
-
I reinstall the zwave binding via the Manual Installer Script.
-
see 1.
Right now this is just a little bit of a nuisance since I know how to solve the issue. I suspect, however, this might have a common cause with other problems I am having. I recently updated to 2.5 stable but was unable to run it permanently as I ran into the recurring ‚System started‘ trigger encountered by several users (see here). During troubleshooting I somehow managed to break the system completely so had to roll back to a backup and 2.4. I afterwards decided to first tackle those small problems evidently present in my system and then try and update again.
I believe to have read all threads relating to the infamous Error 500 but no one seems to have had exactly this sequence of events when encountering the error. Following commonly given advice I have already tried clearing the cache and restarting several times, but to no avail.
A few things which might or might not be connected to the Error 500 issue:
-
In my addons folder there are two jar-files (org.apache.servicemix.bundles.xstream-1.4.7_1 and org.openhab.binding.zwave-3.0.0-SNAPSHOT). The latter one obviously stems from manually installing the zwave binding. The first one I am not sure about when and how it got there. I cannot remove either file, otherwise all my zwave things will come up as uninitialized upon next restart. Are those files supposed to be there? After reading a few threads on that my understanding is they are only required upon first installation of the binding and should be removed thereafter.
-
As mentioned above after updating to 2.5 my rule with ‚System started‘ trigger was triggered frequently. This happened every time a zwave thing had been changed (e.g. change of parameter). I do not know whether this could be connected to the Error 500 issue, but editing zwave things seems to play a role in all those issues suspiciously often.
-
Some time ago my openhab.log stopped being written to. After some time it was possible to solve that by simply deleting the file and having openHAB create a new one.
Maybe all this info helps in pointing me in the right direction. Does anyone have an idea on how to further troubleshoot this? My last resort would be to wait for the next update due next week and then start with a fresh installation. Still, given the time required I would still prefer to be able to fix this issue.