Openhab 2.0 reading old bundle

Hello,

When i remove an old bundle and place a new one, sometimes i see the below error in openhab log. It basically is picking an old bundle. Not sure from where it is picking it. Is this a known issue?

I am running openhab on raspi.

Another singleton bundle selected: osgi.identity; osgi.identity=“org.eclipse.smarthome.binding.”; type=“osgi.bundle”; version:Version=“0.8.0.201606030914”; singleton:=“true”

Thanks,
Raju Namburi

Are you manually putting these bundles in the addons folder? If so, then it’s possible (I think) that if you have the same bundle installed using the UI, that it will stay installed through Karaf, and you will end up with two versions trying to run.

Hello Chris,

Thanks for your reply. Yes I am manually replacing it. I am not installing it. What is the best way to put a new bundle? Whenever I make a new bundle, I remove the old one and replace it with new one in the addons folder. After a couple of times, openhab starts picking an old version.

I think i am not following the right procedure.

Thanks,
Raju Namburi

When I did a “bundle:uninstall” and then place a new bindings in addon folder, it is working.