Closed rtuck99 closed 1 year ago
Think this is probably only experienced for manual installation in the addons directory, because FeatureInstaller checks addons.config and doesn't find the binding there
Seems the easiest way to workaround this is
config:edit org.openhab.addons
config:property-get binding
then prepend the binding thusly:
config:property-set binding glowmarkt,systeminfo,mqtt,http,pushover,networkupstools,network
config:update
This happened again: 2023-08-14 05:02:16.524 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Location set to '51.3998848,-0.9043968'. 2023-08-14 05:02:16.532 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Locale set to 'en_GB'. 2023-08-14 05:02:33.411 [INFO ] [internal.service.FeaturesServiceImpl] - Removing features: openhab-binding-vicare/[4.0.1,4.0.1] 2023-08-14 05:02:45.599 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'jdbc.persist' 2023-08-14 05:02:50.398 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'vicare-bridge.things' 2023-08-14 05:03:08.455 [INFO ] [internal.service.FeaturesServiceImpl] - Changes to perform: 2023-08-14 05:03:08.474 [INFO ] [internal.service.FeaturesServiceImpl] - Region: root 2023-08-14 05:03:08.481 [INFO ] [internal.service.FeaturesServiceImpl] - Bundles to uninstall: 2023-08-14 05:03:08.487 [INFO ] [internal.service.FeaturesServiceImpl] - com.qubular.openhab-binding-vicare-bundle/4.0.1 2023-08-14 05:03:08.507 [INFO ] [internal.service.FeaturesServiceImpl] - com.qubular.vicare-osgi/4.0.1 2023-08-14 05:03:08.525 [INFO ] [internal.service.FeaturesServiceImpl] - Uninstalling bundles: 2023-08-14 05:03:08.526 [INFO ] [internal.service.FeaturesServiceImpl] - com.qubular.openhab-binding-vicare-bundle/4.0.1 2023-08-14 05:03:08.578 [INFO ] [internal.service.FeaturesServiceImpl] - com.qubular.vicare-osgi/4.0.1
On starting OpenHAB 4 with either binding installed, the binding starts successfully but then about 1 minute later is refreshed by Karaf for some reason in https://github.com/apache/karaf/blob/808631e794806214b9058be42ed9da589968216a/features/core/src/main/java/org/apache/karaf/features/internal/service/Deployer.java
This causes it to be unloaded but the binding is never reloaded by Karaf. Have seen this with bindings installed in addons/ directory, not sure if also seen when installed from marketplace.