I got āERROR 500 - Internal Server Errorā when opening Items-Section in Paper UI.
In all the other Sections there is no error.
I added some Items yesterday in Paper UI and in an items-file and all was fine.
Today I got the error.
I tried an restart and an apt-get upgrade to install the latest Version, but Iām not on the snapshot-builds.
Iāve no real ideas but the first thing I would check is the permission on the conf/items folder and .items files and userdata/jsondb files and folders (for apt-get conf is /etc/openhab2 and userdata is /var/lib/openhab2). 500 means permission denied.
These should be readable by the openhab user and the jsondb files need to be read/write by the openhab user.
I had the same problem some time ago.
It turned out that I defined some items with a wrong transformation; something like using %d instead of %s for a string - or the other way aroundā¦ I donāt remember exactly.
Also, when I had this problem, I wasnāt able to acces the REST API to query items, similar to https://community.openhab.org/t/oh2-rest-interface-cant-get-list-of-items/18173.
So you might want to check your .items filesā¦
That was it.
While adding the items, I also installed the MAP-transform and used %d instead of %s.
After correcting the map-file and switching from %d to %s, I see all items in the item-section.
I have the āError 500-Problemā too.
Iāve changed the %d to %s. No results.
I guess I have the problem since I updated from Openhab 2.0 to 2.1.
You have mentioned, to check the permissions on the files / folders.
How can I check the permission or repair the permission rights?
Thank you for your help.
I tried to update the thing (node10) in the paperUI.
The log shows following entries:
2017-07-18 21:17:04.802 [ERROR] [ome.io.rest.core.thing.ThingResource] - Exception during HTTP PUT request for update config at 'things/zwave:device:0a1350b5:node10/co$
2017-07-18 21:17:20.900 [ERROR] [ome.io.rest.core.thing.ThingResource] - Exception during HTTP PUT request for update config at 'things/zwave:device:0a1350b5:node10/co$
@Dim
Thank you for the tip.
I tried to change the parameters in Habmin with no problems.
So, if I have to integrate new things to the openhab-zwave-network I have to search the new things in PaperUI first.
Then the configuration of the new Thing has to be done in Habmin? Is this sequence correct?
Use PaperUI to discover/include new Z-Wave things into openHAB (and link them to items if not using manual config files for your items)
Use HABmin to manage the Z-Wave devices settings/parameters.
Ps: Some say that HABmin does a better job at discovering/including new Z-Wave things also (especially with the new refactored Z-Wave binding when it comes to secure inclusion).
Ps2: Hint: The main author (@chris) of the Z-Wave binding is the author of HABmin
Note: This version (2.2.0.201707122217) is from the āmainstreamā snapshot (2.2.x) binding that I display in the example above (included in openHAB 2.2.0 Snapshot Build #986).
The refactored snapshot would show 2.1.x (latest version at the time of this post: 2.1.0.201707062012) and
The mainstream stable would show simply 2.1.0 (without any date stamp)
Most likely, you are running the mainstream 2.1.0 version (included in the openHAB 2.1.0 stable distribution)