Hello there, I am facing this issue which results in no “Community Marketplace Add-On” being loaded inside OpenHAB.
To reproduce it, run the Linux Container docker.io/openhab/openhab:5.1.2-alpine, navigate the UI into the Settings page, then the Community Marketplace menu and enable the option “Enable Community Marketplace”.
The folowing warning appears inside the logs (I set to DEBUG the org.openhab.core.addon.marketplace logger):
event.log
18:25:19.695 [DEBUG] [nity.CommunityMarketplaceAddonService] - bundle org.openhab.core.addon.marketplace:5.1.2 (158)[org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService(54)] : ConfigurableComponentHolder configuration updated for pid org.openhab.marketplace with change count 14
18:25:19.696 [DEBUG] [nity.CommunityMarketplaceAddonService] - bundle org.openhab.core.addon.marketplace:5.1.2 (158)[org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService(54)] : Querying state active
18:25:19.696 [DEBUG] [nity.CommunityMarketplaceAddonService] - bundle org.openhab.core.addon.marketplace:5.1.2 (158)[org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService(54)] : Querying state active
18:25:19.696 [DEBUG] [nity.CommunityMarketplaceAddonService] - bundle org.openhab.core.addon.marketplace:5.1.2 (158)[org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService(54)] : invoking modified: modified: parameters [org.apache.felix.scr.impl.helper.ReadOnlyDictionary]
18:25:19.844 [WARN ] [nity.CommunityMarketplaceAddonService] - Unable to retrieve marketplace add-ons: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 1 column 22709 path $.topic_list.topics[1].tags[0] See https://github.com/google/gson/blob/main/Troubleshooting.md#unexpected-json-structure
18:25:19.845 [DEBUG] [nity.CommunityMarketplaceAddonService] - bundle org.openhab.core.addon.marketplace:5.1.2 (158)[org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService(54)] : invoked modified: modified
18:25:19.845 [DEBUG] [nity.CommunityMarketplaceAddonService] - bundle org.openhab.core.addon.marketplace:5.1.2 (158)[org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService(54)] : No change in target property for dependency $000: currently registered: true
18:25:19.845 [DEBUG] [nity.CommunityMarketplaceAddonService] - bundle org.openhab.core.addon.marketplace:5.1.2 (158)[org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService(54)] : No change in target property for dependency $001: currently registered: true
18:25:19.845 [DEBUG] [nity.CommunityMarketplaceAddonService] - bundle org.openhab.core.addon.marketplace:5.1.2 (158)[org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService(54)] : No change in target property for dependency $002: currently registered: true
18:25:19.846 [DEBUG] [nity.CommunityMarketplaceAddonService] - bundle org.openhab.core.addon.marketplace:5.1.2 (158)[org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService(54)] : No change in target property for dependency $003: currently registered: true
18:25:19.846 [DEBUG] [nity.CommunityMarketplaceAddonService] - bundle org.openhab.core.addon.marketplace:5.1.2 (158)[org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService(54)] : No change in target property for dependency AddonHandler: currently registered: true
18:25:19.846 [DEBUG] [nity.CommunityMarketplaceAddonService] - bundle org.openhab.core.addon.marketplace:5.1.2 (158)[org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService(54)] : No change in target property for dependency osgi.ds.satisfying.condition: currently registered: true
18:25:19.846 [DEBUG] [nity.CommunityMarketplaceAddonService] - bundle org.openhab.core.addon.marketplace:5.1.2 (158)[org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService(54)] : Querying state active
18:25:19.847 [DEBUG] [nity.CommunityMarketplaceAddonService] - bundle org.openhab.core.addon.marketplace:5.1.2 (158)[org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService(54)] : ImmediateComponentHolder Finished configuring the dependency managers for component for pid org.openhab.marketplace
18:25:19.847 [DEBUG] [nity.CommunityMarketplaceAddonService] - bundle org.openhab.core.addon.marketplace:5.1.2 (158)[org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService(54)] : ImmediateComponentHolder Will not enable component for pid org.openhab.marketplace: holder enabled state: true, metadata enabled: true
I will post only the warning message below to make it more readable:
Unable to retrieve marketplace add-ons: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 1 column 22709 path $.topic_list.topics[1].tags[0] See gson/Troubleshooting.md at main · google/gson · GitHub
Following that, no community add-on can be found through the Add-On UI section’s search function, not even the ones already installed.
Am I missing something important that changed with the 5.1.2 version, or this is an actual issue? Let me know if more information is needed to troubleshoot it in case.
Same message here since a recent openHAB restart, also openHAB 5.1.2.
I had to restart the server to make openHAB work again … but the error message persists.
2026-02-18 14:25:58.894 [WARN ] [ity.CommunityMarketplaceAddonService] - Unable to retrieve marketplace add-ons: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 1 column 22806 path $.topic_list.topics[1].tags[0] See …
I doubt it was a change in OH itself. I think there was in the last couple of weeks a major upgrade to the forum software (the moderator queue looks different at least). If that changed the JSON returned when an OH instance queries the forum for the marketplace entries that could explain the error.
It’s not the usual 429 too many requests error this time. It’s a JSON parsing error.
This problem also occurs in the Automation UI segments of the Add-on Store.
I’m not sure what the best process would be, and I don’t have any marketplace add-ons installed at the moment. What I would try is the following:
look in $OH_USERDATA//jsondb/org.openhab.marketplace.json and find the add-on you want to remove. The first entry in the record is the UID of the add-on (e.g. “marketplace:162133”).
from Developer Tools → API Explorer → addons try to use the uninstall endpoint with that ID to remove the add-on.
Of course you could also just stop openHAB and remove that entry from that JSONDB file but using the API would be less disruptive.
I suspect you could also use the karaf console. List the bundles to find the bundle ID and use the commands to remove the bundle.
In the meantime, please file an issue on openhab-core.
Note, my steps were just a way to remove the marketplace add-ons while all this is broken. I do not expect this to fix the warning message nor fix anything. It’s just a temporary work around to remove marketplace add-ons until this problem is fixed.
After calling the API end point with that UID did that entry get removed from org.openhab.marketplace.json or is it still there?
I think when the problem is fixed I can reinstall that addon and then delete it the usual way through MainUI. I’m pretty sure the warn message will then disappear.
With all the recent problems with the Marketplace, I don’t want to use it anymore …
That’s what I expect. The warning message comes when OH tries to fetch all the marketplace entries. However, managing the add-ons that are already installed is independent from accessing the marketplace. So as long as you can get the UID of the add-on, you should be able to uninstall using the standard OH APIs.
Installation is not going to work though until the problem is fixed. And removing any installed add-ons is not going to make the warning message go away.
I suspect the API changed then and the JSON changed format.
I have the UID, but removing it from any entry in jsondb did not get rid of the warning message.
Edit: maybe it is because of the space in the name: 357 │ Active │ 80 │ 0.4.0 │ openHAB Add-ons :: Bundles :: Open Meteo Binding
This entry in karaf is gone meanwhile …
Again, the warning message is not going to go away until openhab-core is fixed.
You asked “Does anybody know how to uninstall a market place addon, if one does not have access through the UI?”
I answered that.
The warning isn’t going away until someone fixes the bug. It has nothing to do with the actually installed add-ons.
No, the warning has nothing to do with installed add-ons.
The warning comes when OH attempts to fetch the list of all add-ons posted to the marketplace. That’s the only time the warning occurs and the only way to make it go away right now is to make OH not try to fetch that list (i.e. disable the community marketplace). But it’s just a warning and it’s not causing any problems.
The warning has nothing to do with add-ons you’ve already installed though. There is no add-on you can install or remove that will make the warning go away.
??
Why? I understood what you were telling, I just wanted to describe what I did.
All good, I don’t need support
Edit: I think I know the reason for the confusion: all the steps I described where executed before you even posted your first message.
I was never good in present, past and future tenses.