Karaf console: bundle:uninstall and bundle:update not running as expected!

@Kai @sihui

For me it’s now enough to know how it works:

I edited (checked) the following files:

\userdata\etc\ version.properties
\userdata\etc\ org.ops4j.pax.url.mvn.cfg
\userdata\config\org\ops4j\pax\url\ mvn.config

I checked if there are the following (correct) entries:

version.properties

online-repo     : https://openhab.jfrog.io/openhab/online-repo-snapshot/2.1

org.ops4j.pax.url.mvn.cfg

org.ops4j.pax.url.mvn.repositories = https://openhab.jfrog.io/openhab/online-repo-snapshot/2.1@id=openhab@snapshots

mvn.config

org.ops4j.pax.url.mvn.repositories="https://openhab.jfrog.io/openhab/online-repo-snapshot/2.1@id\=openhab@snapshots"

Then I uninstall my binging(s) that should be updated via PaperUI
or I remove them from \conf\services\ addons.cfg

Then I go to the following folder:

\userdata\tmp\mvn\org\openhab\binding and delete the corresponding folder of the binding, eg:

org.openhab.binding.harmonyhub

Then I put the entry back to \conf\services\ addons.cfg

or install it via PaperUI again.

Then the newest available version of the binding will be downloaded from above Online-Repo.

Ready! :slight_smile:

1 Like