Addons.cfg issue (in Snapshots #1712, #1713, #1714)

Hello,

Not sure why first binding is ignored in addons.cfg

if I put in addons.cfg line binding
binding = ntp,modbus
I see only modbus installed. but when I add
binding = ntp,ntp,modbus
then I see ntp & modbus installed.

the same issue with ui, transformations

I am doing something wrong? using latest unstable snapshoot.

Log:
Failed installing ‘openhab-misc-= market, openhab-transformation-= javascript, openhab-ui-= basic, openhab-binding-= ntp’

Ed

Although you can use the addons.cfg it really exists only for compatibility with OH 1 and the old bindings. You should be able to install most bindings through the PaperUI. You can also manually add bindings by placing them in the addons directory in userdata.

@Bl00d_b0b Ed what version are you on?

openHAB 2.5.0 Build #1713

there is my .cfg

addons.txt (2.3 KB)

market & ruleengine can ( & should) both be installed from the Paper UI.

Hello,

Not sure, you right. because my config file install them, but only one problem, the first word is ignored.
mics = market,ruleengine installing only ruleengine but
misc = market,market,ruleengine install market and rule engine.

and as I say’d , the same for all other options in addons.cfg.

Ed

Based on my test with SNAPSHOT build #1713, I think this is a bug with this build. I didn’t get so far as to get build #1713 working here, but I may try repeating the first entry in each of my addons.cfg file configuration items.

My log contains repeated occurrences of the following error sequence:

2019-10-08 05:17:52.246 [ERROR] [ool-25-thread-1] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-package-= minimal': No matching features for openhab-package-= minimal/0
2019-10-08 05:17:52.300 [ERROR] [ool-25-thread-1] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-lutron, openhab-misc-= ruleengine, openhab-transformation-= jsonpath, openhab-transformation-regex, openhab-binding-zwave, open
hab-ui-restdocs, openhab-binding-= astro, openhab-binding-mqtt, openhab-persistence-rrd4j, openhab-transformation-map, openhab-binding-ntp, openhab-ui-habmin, openhab-binding-expire1, openhab-ui-= basic, openhab-ui-paper, openhab-persistence-= mapdb, op
enhab-transformation-scale': Error:
        Error downloading mvn:org.openhab.ui.bundles/org.openhab.ui.paper/2.5.0-SNAPSHOT
2019-10-08 05:18:52.247 [ERROR] [ool-27-thread-1] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-package-= minimal': No matching features for openhab-package-= minimal/0
2019-10-08 05:18:52.307 [ERROR] [ool-27-thread-1] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-lutron, openhab-misc-= ruleengine, openhab-transformation-= jsonpath, openhab-transformation-regex, openhab-binding-zwave, open
hab-ui-restdocs, openhab-binding-= astro, openhab-binding-mqtt, openhab-persistence-rrd4j, openhab-transformation-map, openhab-binding-ntp, openhab-ui-habmin, openhab-binding-expire1, openhab-ui-= basic, openhab-ui-paper, openhab-persistence-= mapdb, op
enhab-transformation-scale': Error:
        Error downloading mvn:org.openhab.ui.bundles/org.openhab.ui.paper/2.5.0-SNAPSHOT
2019-10-08 05:19:52.246 [ERROR] [ool-28-thread-1] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-package-= minimal': No matching features for openhab-package-= minimal/0
2019-10-08 05:19:52.290 [ERROR] [ool-28-thread-1] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-lutron, openhab-misc-= ruleengine, openhab-transformation-= jsonpath, openhab-transformation-regex, openhab-binding-zwave, open
hab-ui-restdocs, openhab-binding-= astro, openhab-binding-mqtt, openhab-persistence-rrd4j, openhab-transformation-map, openhab-binding-ntp, openhab-ui-habmin, openhab-binding-expire1, openhab-ui-= basic, openhab-ui-paper, openhab-persistence-= mapdb, op
enhab-transformation-scale': Error:
        Error downloading mvn:org.openhab.ui.bundles/org.openhab.ui.paper/2.5.0-SNAPSHOT

My addons.cfg (works just fine for SNAPSHOT build #1706):

# The installation package of this openHAB instance
# Note: This is only regarded at the VERY FIRST START of openHAB
# Note: If you want to specify your add-ons yourself through entries below, set the package to "minimal"
# as otherwise your definition might be in conflict with what the installation package defines.
#
# Optional. If not set, the dashboard (https://<yourserver>:8080/) will ask you to choose a package.
#
# Valid options:
#   - minimal  : Installation only with dashboard, but no UIs or other add-ons. Use this for custom setups.
#   - simple   : Setup for using openHAB purely through UIs - you need to expect MANY constraints in functionality!
#   - standard : Default setup for normal users, best for textual setup
#   - expert   : Setup for expert users, especially for people migrating from openHAB 1.x
#   - demo     : A demo setup which includes UIs, a few bindings, config files etc.
#
# See https://www.openhab.org/docs/configuration/packages.html for a detailed explanation of these packages.
#
package = minimal

# Access Remote Add-on Repository
# Defines whether the remote openHAB add-on repository should be used for browsing and installing add-ons.
# This not only makes latest snapshots of add-ons available, it is also required for the installation of
# any legacy 1.x add-on. (default is true)
#
remote = true

# Include legacy 1.x bindings. If set to true, it also allows the installation of 1.x bindings for which there is 
# already a 2.x version available (requires remote repo access, see above). (default is false)
#
legacy = true

# A comma-separated list of bindings to install (e.g. "binding = sonos,knx,zwave")
binding = astro,expire1,lutron,mqtt,ntp,zwave

# A comma-separated list of UIs to install (e.g. "ui = basic,paper")
ui = basic,habmin,paper,restdocs

# A comma-separated list of persistence services to install (e.g. "persistence = rrd4j,jpa")
persistence = mapdb,rrd4j

# A comma-separated list of actions to install (e.g. "action = mail,pushover")
#action = 

# A comma-separated list of transformation services to install (e.g. "transformation = map,jsonpath")
transformation = jsonpath,map,regex,scale

# A comma-separated list of voice services to install (e.g. "voice = marytts,freetts")
#voice = 

# A comma-separated list of miscellaneous services to install (e.g. "misc = myopenhab")
misc = ruleengine

Be sure to file an issue on github. That is where testing build issues are tracked & resolved.

Had the same problems with Snapshot #1712. Tonight I could provide my error log.

All I could tell atm, from my memories: I had this similar error (with # 1712):

No matching features for openhab-package-= standard/0

File an issue here
This forum is not for testing bug issues. GitHub is designed for that in the current OH design.

I’ve always used addons.cfg to install bindings and it always ran smoothly.

I’m going to do this asap, when I’m back at home!

:raised_hand: My fault: Bugfix submitted. Never put a trim() in the wrong place …

3 Likes

I’ve tried #1705 now, it’s also running!

OK, the fix is on its way! :slight_smile:

@Bl00d_b0b @cweitkamp @Thedannymullen @scottk @Bruce_Osborne
.

It has been merged.

With Snapshot #1715 it is running again.

08:45:45.273 [INFO ] [smarthome.event.ExtensionEvent       ] - Extension 'package-standard' has been installed.
08:47:13.880 [INFO ] [.ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin
08:47:15.208 [INFO ] [.openhab.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
08:47:15.833 [INFO ] [smarthome.event.ExtensionEvent       ] - Extension 'binding-hue' has been installed.
08:47:15.849 [INFO ] [smarthome.event.ExtensionEvent       ] - Extension 'persistence-rrd4j' has been installed.
08:47:15.849 [INFO ] [smarthome.event.ExtensionEvent       ] - Extension 'ui-basic' has been installed.
08:47:15.864 [INFO ] [smarthome.event.ExtensionEvent       ] - Extension 'transformation-map' has been installed.
08:47:15.880 [INFO ] [smarthome.event.ExtensionEvent       ] - Extension 'binding-astro' has been installed.
08:47:15.896 [INFO ] [smarthome.event.ExtensionEvent       ] - Extension 'ui-habmin' has been installed.
08:47:15.927 [INFO ] [smarthome.event.ExtensionEvent       ] - Extension 'transformation-javascript' has been installed.
08:47:15.974 [INFO ] [smarthome.event.ExtensionEvent       ] - Extension 'ui-paper' has been installed.
08:47:15.974 [INFO ] [smarthome.event.ExtensionEvent       ] - Extension 'transformation-jsonpath' has been installed.
2 Likes