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?