Hi.
I’ve got problems with an item which I previously defined using an .items file that I’ve later removed, but the item is still lurking. No matter what I do I can’t seem to get rid of it. Things I’ve tried:
Just commenting out that row in the file using //
Renaming the entire file
Deleting it using Paper UI and HABmin
Deleting it using Karaf (smarthome:items remove)
smarthome:links clear (not good idea, should’ve read the docs first)
Restarting openhab entirely
I guess the first step here ought to have fixed it, right? Any ideas? Do openhab cache this information elsewhere? I tried a recursive grep through entire /var/lib/openhab2 for the item name without result. It’s nowhere in the jsondb.
Nobody? This one is really driving me mad. I’ve completely wiped out the items directory now just to be sure.
When I try to remove the item using Paper UI I get a little popup saying “Error: 404 - Not Found” and the following line is added to the log:
14:13:09.556 [INFO ] [thome.io.rest.core.item.ItemResource] - Received HTTP DELETE request at ‘items/DanielsMobil’ for the unknown item ‘DanielsMobil’.
Trying to remove it from Karaf using smarthome:items remove just tells me the item was successfully removed but it isn’t. I guess there must be some place I’ve missed checking. Is there any cache of .item files that I could empty?
Take a look in the jsondb files (in the userdata/jsondb folder). There will be a file called items and you might find it in there… Not sure why it wouldn’t be deleted though.
Weird. Recursive case insensitive greps of the item name in entire /var/lib/openhab2 and /etc/openhab2 both come up empty. Even searched through /usr/share/openhab2…
I can see the item in both habmin, Paper UI and with smarthome:items in Karaf console, but it’s not present in basicui.
Beginning to think I should file an issue for this, something is obviously wrong somewhere. Am I correct thinking that I should file it as an ESH issue?