Http binding - pihole - issues when removed

Had pi-hole setup earlier, but ended up removing it. Since then i get theese errors in my logs:

2020-03-18 10:31:53.101 [ERROR] [org.apache.felix.configadmin        ] - 
[org.osgi.service.cm.ManagedService, org.osgi.service.event.EventHandler, id=453, 
bundle=245/mvn:org.openhab.binding/org.openhab.binding.http/[1.14.0,1.15)]: Unexpected 
problem updating configuration org.openhab.http
java.lang.NumberFormatException: For input string: "600000*/"
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[?:1.8.0_242]
    at java.lang.Integer.parseInt(Integer.java:580) ~[?:1.8.0_242]
    at java.lang.Integer.valueOf(Integer.java:766) ~[?:1.8.0_242]
    at org.openhab.binding.http.internal.HttpBinding.updated(HttpBinding.java:535) ~[?:?]
    at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updated(ManagedServiceTracker.java:189) ~[bundleFile:?]
    at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:152) [bundleFile:?]
    at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:85) [bundleFile:?]
    at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1118) [bundleFile:?]
    at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1074) [bundleFile:?]
    at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:138) [bundleFile:?]
    at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:105) [bundleFile:?]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]

I have removed anything related to pihole, in all my rules, things, items, services. But still they remain when i inspect the http binding in paperui. Have also deleted cache. No go. Any ideas where there might be something holding onto the information? It doesnt help if i delete in the http binding on paperui.

HTTP binding is a version 1.x binding, so it’s not managed from PaperUI.

If it is/was linked to any Items, they would have been in xxx.items files. Maybe check for those.

Bindings may be installed by an entry in addons.cfg, maybe check that.

I swear, i have checked and rechecked and again. There is no reference to pihole or the http binding in any of those files. Any other ideas?

@Kimzer Look in /var/lib/openhab2/jsondb/org.eclipse.smarthome.core.thing.link.ItemChannelLink.json and make sure there isn’t a Link hanging around. Also, for items check: /var/lib/openhab2/jsondb/org.eclipse.smarthome.core.items.Item.json

If you find the item or link in either location you can remove it but stop OH first. You may also what to clean the cache as well.

Thanks for the tip! But unfortunately nothing there either. I dont get it. :S

Well, the binding is installed and complaing, understood or not.
Look in the working copy of addons.cfg, addons.config
Look for a http .jar in your /addons folder

You could also take the easy way and grep for the problematic string.

How exactly do you mean? We dont know which file the problem is in. Checked for addons.cfg, nothing…

Found the solution. I tried to grep, but could not find the culprit file. But i stumbled upon this, and that was the solution. If anyone else experience similar issues with http binding, check out the post below. :slight_smile:

I’m pretty sure nothing would look at those files unless the http binding is installed, which you said you removed.