[SOLVED] Jar missing files after update (unstable version on ubuntu linux)

dear all

I’m updating my unstable release (core and addons ) from openhab_3.3.0~S2801 to the newer versione, but after installing the package via atp update and apt upgrade command, the sistem starts, openhab UI is reacheble but nothing happens
i received a lot of error about missing file jar and every 15 seconds thee following warning

2022-03-15 12:43:53.629 [WARN ] [core.karaf.internal.FeatureInstaller] - Could not determine addons folder, its content or the list of installed repositories!

2022-03-15 12:43:53.630 [INFO ] [core.karaf.internal.FeatureInstaller] - Some .kar files are not installed yet. Delaying add-on installation by 15s.

I have already cleaned cache, restared several times manually put addons .kar file in /user/share/openah/addons folder, Try to install missing bindings from UI but also this operation fails.

How can I solve?

thanks for your quick support

1 Like

This is a fresh install? Or an updated installation?

updating from snapshot openhab_3.3.0~S2801 to openhab_3.3.0~S2802 but the same for the following snapshot:
openhab_3.3.0~S2803,
openhab_3.3.0~S2804,
openhab_3.3.0~S2805

downgrading from openhab_3.3.0~S2805 to openhab_3.3.0~S2801 it start again to works

Do you have addons from the community marketplace installed?

Please use the karaf console and do

feature:repo-list

yes one or 2 , I have to remove them?

No, I’m just trying to figure out what the problem is. Which ones do you have installed? And please show the output of the command above.

openhab> feature:repo-list
Repository                    β”‚ URL
──────────────────────────────┼──────────────────────────────────────────────────────────────────
distro-3.2.0-SNAPSHOT         β”‚ mvn:org.openhab.distro/distro/3.2.0-SNAPSHOT/xml/features
openhab-addons-3.2.0-SNAPSHOT β”‚ mvn:org.openhab.distro/openhab-addons/3.2.0-SNAPSHOT/xml/features
org.ops4j.pax.web-7.3.16      β”‚ mvn:org.ops4j.pax.web/pax-web-features/7.3.16/xml/features
framework-4.3.2               β”‚ mvn:org.apache.karaf.features/framework/4.3.2/xml/features
standard-4.3.2                β”‚ mvn:org.apache.karaf.features/standard/4.3.2/xml/features

That’s very strange. It should look like this:

openhab> feature:repo-list
Repository                                  β”‚ URL
────────────────────────────────────────────┼───────────────────────────────────────────────────────────────────────────────────────────
org.ops4j.pax.web-7.3.23                    β”‚ mvn:org.ops4j.pax.web/pax-web-features/7.3.23/xml/features
distro-3.3.0-SNAPSHOT                       β”‚ mvn:org.openhab.distro/distro/3.3.0-SNAPSHOT/xml/features
openhab-addons-3.3.0-SNAPSHOT               β”‚ mvn:org.openhab.distro/openhab-addons/3.3.0-SNAPSHOT/xml/features
framework-4.3.6                             β”‚ mvn:org.apache.karaf.features/framework/4.3.6/xml/features
standard-4.3.6                              β”‚ mvn:org.apache.karaf.features/standard/4.3.6/xml/features

You are currently running an older 3.3.0-SNAPSHOT, correct? I would suggest to clean cache and temp and restart (on the version that is working) and see if the updates repos are shown.

And please (before cleaning cache) show the output of

list -s org.openhab.core

command list -s result


openhab> list -s org.openhab.core
START LEVEL 100 , List Threshold: 50
 ID β”‚ State  β”‚ Lvl β”‚ Version            β”‚ Symbolic name
────┼────────┼─────┼────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────
154 β”‚ Active β”‚  80 β”‚ 3.2.0.202109160627 β”‚ org.openhab.core
openhab>

I’m going to clean cache,

What is the path for temp folder?

	Repository Installation	Manual Installation (according to guide)
openHAB application	/usr/share/openhab	/opt/openhab
Additional add-on files	/usr/share/openhab/addons	/opt/openhab/addons
Site configuration	/etc/openhab	/opt/openhab/conf
Log files	/var/log/openhab	/opt/openhab/userdata/logs
Userdata like rrd4j databases	/var/lib/openhab	/opt/openhab/userdata
Backups folder	/var/lib/openhab/backups	/opt/openhab/backups
Service configuration	/etc/default/openhab	(not preconfigured)
1 Like

after clean cache, after command sudo apt remove openhab and after reinstalling the last working snapshot (openhab_3.3.0~S2801 ) ,
this is the result of command feature:repo-list

openhab> feature:repo-list
Repository                    β”‚ URL
──────────────────────────────┼──────────────────────────────────────────────────────────────────
org.ops4j.pax.web-7.3.23      β”‚ mvn:org.ops4j.pax.web/pax-web-features/7.3.23/xml/features
distro-3.3.0-SNAPSHOT         β”‚ mvn:org.openhab.distro/distro/3.3.0-SNAPSHOT/xml/features
openhab-addons-3.3.0-SNAPSHOT β”‚ mvn:org.openhab.distro/openhab-addons/3.3.0-SNAPSHOT/xml/features
framework-4.3.6               β”‚ mvn:org.apache.karaf.features/framework/4.3.6/xml/features
standard-4.3.6                β”‚ mvn:org.apache.karaf.features/standard/4.3.6/xml/features
openhab>

I’m update to latest snapshot…and there is the same error :frowning:

and this is the result of command list -s org.openhab.core

openhab> list -s org.openhab.core
START LEVEL 100 , List Threshold: 50
 ID β”‚ State  β”‚ Lvl β”‚ Version            β”‚ Symbolic name
────┼────────┼─────┼────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────
150 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150301 β”‚ org.openhab.core
openhab>

I also have the same error with the latest docker image:

2022-03-15 18:04:51.601 [WARN ] [core.karaf.internal.FeatureInstaller] - Could not determine addons folder, its content or the list of installed repositories!

2022-03-15 18:04:51.602 [INFO ] [core.karaf.internal.FeatureInstaller] - Some .kar files are not installed yet. Delaying add-on installation by 15s.

Is this happening once or continuously? If it is happening only once then it is working as intended.

And it’s still happening more than once? I’ll check that.

Continously.

==> /logs/openhab.log <==
2022-03-15 18:04:51.601 [WARN ] [core.karaf.internal.FeatureInstaller] - Could not determine addons folder, its content or the list of installed repositories!
2022-03-15 18:04:51.602 [INFO ] [core.karaf.internal.FeatureInstaller] - Some .kar files are not installed yet. Delaying add-on installation by 15s.
2022-03-15 18:05:06.603 [WARN ] [core.karaf.internal.FeatureInstaller] - Could not determine addons folder, its content or the list of installed repositories!
2022-03-15 18:05:06.604 [INFO ] [core.karaf.internal.FeatureInstaller] - Some .kar files are not installed yet. Delaying add-on installation by 15s.
2022-03-15 18:05:21.606 [WARN ] [core.karaf.internal.FeatureInstaller] - Could not determine addons folder, its content or the list of installed repositories!
2022-03-15 18:05:21.607 [INFO ] [core.karaf.internal.FeatureInstaller] - Some .kar files are not installed yet. Delaying add-on installation by 15s.
2022-03-15 18:05:36.608 [WARN ] [core.karaf.internal.FeatureInstaller] - Could not determine addons folder, its content or the list of installed repositories!
2022-03-15 18:05:36.609 [INFO ] [core.karaf.internal.FeatureInstaller] - Some .kar files are not installed yet. Delaying add-on installation by 15s.
2022-03-15 18:05:51.610 [WARN ] [core.karaf.internal.FeatureInstaller] - Could not determine addons folder, its content or the list of installed repositories!
2022-03-15 18:05:51.611 [INFO ] [core.karaf.internal.FeatureInstaller] - Some .kar files are not installed yet. Delaying add-on installation by 15s.
2022-03-15 18:06:06.612 [WARN ] [core.karaf.internal.FeatureInstaller] - Could not determine addons folder, its content or the list of installed repositories!
2022-03-15 18:06:06.612 [INFO ] [core.karaf.internal.FeatureInstaller] - Some .kar files are not installed yet. Delaying add-on installation by 15s.
2022-03-15 18:06:21.613 [WARN ] [core.karaf.internal.FeatureInstaller] - Could not determine addons folder, its content or the list of installed repositories!

No it’s continuous

2022-03-15 19:09:54.887 [WARN ] [core.karaf.internal.FeatureInstaller] - Could not determine addons folder, its content or the list of installed repositories!

2022-03-15 19:09:54.887 [INFO ] [core.karaf.internal.FeatureInstaller] - Some .kar files are not installed yet. Delaying add-on installation by 15s.

2022-03-15 19:10:09.888 [WARN ] [core.karaf.internal.FeatureInstaller] - Could not determine addons folder, its content or the list of installed repositories!

2022-03-15 19:10:09.888 [INFO ] [core.karaf.internal.FeatureInstaller] - Some .kar files are not installed yet. Delaying add-on installation by 15s.

2022-03-15 19:10:24.888 [WARN ] [core.karaf.internal.FeatureInstaller] - Could not determine addons folder, its content or the list of installed repositories!

2022-03-15 19:10:24.889 [INFO ] [core.karaf.internal.FeatureInstaller] - Some .kar files are not installed yet. Delaying add-on installation by 15s.

2022-03-15 19:10:39.889 [WARN ] [core.karaf.internal.FeatureInstaller] - Could not determine addons folder, its content or the list of installed repositories!

2022-03-15 19:10:39.890 [INFO ] [core.karaf.internal.FeatureInstaller] - Some .kar files are not installed yet. Delaying add-on installation by 15s.

and NO it doesn’t work, all thinghs are not initialiazed and items are null

the only line in the log are the warnings and the info I posted above.

furthermore with commands bundle:list it seems that addons are not installed

openhab> bundle:list
START LEVEL 100 , List Threshold: 50
 ID β”‚ State  β”‚ Lvl β”‚ Version                β”‚ Name
────┼────────┼─────┼────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────
 29 β”‚ Active β”‚  80 β”‚ 2.12.5                 β”‚ Jackson-annotations
 30 β”‚ Active β”‚  80 β”‚ 2.12.5                 β”‚ Jackson-core
 31 β”‚ Active β”‚  80 β”‚ 2.12.5                 β”‚ jackson-databind
 32 β”‚ Active β”‚  80 β”‚ 2.12.5                 β”‚ Jackson-dataformat-YAML
 33 β”‚ Active β”‚  80 β”‚ 2.12.5                 β”‚ Jackson datatype: JSR310
 34 β”‚ Active β”‚  80 β”‚ 6.2.6                  β”‚ Woodstox
 35 β”‚ Active β”‚  80 β”‚ 2.8.9                  β”‚ Gson
 36 β”‚ Active β”‚  80 β”‚ 30.1.0.jre             β”‚ Guava: Google Core Libraries for Java
 37 β”‚ Active β”‚  80 β”‚ 1.0.1                  β”‚ Guava InternalFutureFailureAccess and InternalFutures
 38 β”‚ Active β”‚  80 β”‚ 5.0.1.v20210324-2015   β”‚ Google Guice - Core Library
 40 β”‚ Active β”‚  80 β”‚ 4.8.138.v20211212-1642 β”‚ ClassGraph
 41 β”‚ Active β”‚  80 β”‚ 2.1.9                  β”‚ swagger-annotations
 42 β”‚ Active β”‚  80 β”‚ 2.1.9                  β”‚ swagger-core
 43 β”‚ Active β”‚  80 β”‚ 2.1.9                  β”‚ swagger-integration
 44 β”‚ Active β”‚  80 β”‚ 2.1.9                  β”‚ swagger-jaxrs2
 45 β”‚ Active β”‚  80 β”‚ 2.1.9                  β”‚ swagger-models
 46 β”‚ Active β”‚  80 β”‚ 2.0.2                  β”‚ Jakarta Bean Validation API
 48 β”‚ Active β”‚  80 β”‚ 2.3.3                  β”‚ Jakarta XML Web Services API
 51 β”‚ Active β”‚  80 β”‚ 3.5.7                  β”‚ JmDNS
 52 β”‚ Active β”‚  80 β”‚ 2.1.3                  β”‚ Units of Measurement API
 54 β”‚ Active β”‚  80 β”‚ 0.5.10                 β”‚ Jollyday
 55 β”‚ Active β”‚  80 β”‚ 3.2.0.v201101311130    β”‚ ANTLR Runtime
 56 β”‚ Active β”‚  80 β”‚ 1.0.0.v201105210816    β”‚ Aopalliance Plug-in
 57 β”‚ Active β”‚  80 β”‚ 1.2.2                  β”‚ org.apache.aries.component-dsl.component-dsl
 58 β”‚ Active β”‚  80 β”‚ 1.0.1                  β”‚ Apache Aries JAX-RS Specification API
 59 β”‚ Active β”‚  80 β”‚ 2.0.0                  β”‚ Apache Aries JAX-RS Whiteboard
 61 β”‚ Active β”‚  80 β”‚ 3.12.0                 β”‚ Apache Commons Lang
 62 β”‚ Active β”‚  80 β”‚ 3.4.5                  β”‚ Apache CXF Core
 63 β”‚ Active β”‚  80 β”‚ 3.4.5                  β”‚ Apache CXF Runtime JAX-RS Frontend
 64 β”‚ Active β”‚  80 β”‚ 3.4.5                  β”‚ Apache CXF JAX-RS Client
 65 β”‚ Active β”‚  80 β”‚ 3.4.5                  β”‚ Apache CXF JAX-RS Server-Side Events Support
 66 β”‚ Active β”‚  80 β”‚ 3.4.5                  β”‚ Apache CXF Runtime Security functionality
 67 β”‚ Active β”‚  80 β”‚ 3.4.5                  β”‚ Apache CXF Runtime HTTP Transport
 76 β”‚ Active β”‚  80 β”‚ 4.3.6                  β”‚ Apache Karaf :: OSGi Services :: Event
 87 β”‚ Active β”‚  80 β”‚ 1.0.0.2                β”‚ Apache ServiceMix :: Bundles :: javax.inject
 95 β”‚ Active β”‚  80 β”‚ 2.2.5                  β”‚ XmlSchema Core
 96 β”‚ Active β”‚  80 β”‚ 4.20.0                 β”‚ Apache XBean :: OSGI Bundle Utilities
 97 β”‚ Active β”‚  80 β”‚ 4.20.0                 β”‚ Apache XBean :: Classpath Resource Finder
 98 β”‚ Active β”‚  80 β”‚ 0.7.7                  β”‚ jose4j
 99 β”‚ Active β”‚  80 β”‚ 2.17.0.v20190920-0401  β”‚ EMF Common
100 β”‚ Active β”‚  80 β”‚ 2.20.0.v20190920-0401  β”‚ EMF Ecore
101 β”‚ Active β”‚  80 β”‚ 2.14.0.v20190528-0725  β”‚ EMF Change Model
102 β”‚ Active β”‚  80 β”‚ 2.16.0.v20190528-0725  β”‚ EMF XML/XMI Persistence
103 β”‚ Active β”‚  80 β”‚ 3.13.0.v20200828-1034  β”‚ Common Eclipse Runtime
132 β”‚ Active β”‚  80 β”‚ 0.12.0.v20210402-1305  β”‚ org.eclipse.lsp4j
133 β”‚ Active β”‚  80 β”‚ 0.12.0.v20210402-1305  β”‚ org.eclipse.lsp4j.jsonrpc
134 β”‚ Active β”‚  80 β”‚ 2.26.0.v20220228-0748  β”‚ Xtend Runtime Library
135 β”‚ Active β”‚  80 β”‚ 2.26.0.v20220228-0748  β”‚ Xtend Macro Interfaces
136 β”‚ Active β”‚  80 β”‚ 2.26.0.v20220228-0751  β”‚ Xtext
137 β”‚ Active β”‚  80 β”‚ 2.26.0.v20220228-0758  β”‚ Xtext Common Types
138 β”‚ Active β”‚  80 β”‚ 2.26.0.v20220228-0751  β”‚ Xtext IDE Core
139 β”‚ Active β”‚  80 β”‚ 2.26.0.v20220228-0751  β”‚ Xtext Utility
140 β”‚ Active β”‚  80 β”‚ 2.26.0.v20220228-0758  β”‚ Xbase Model
141 β”‚ Active β”‚  80 β”‚ 2.26.0.v20220228-0758  β”‚ Xbase Generic IDE Services
142 β”‚ Active β”‚  80 β”‚ 2.26.0.v20220228-0748  β”‚ Xbase Runtime Library
146 β”‚ Active β”‚  80 β”‚ 9.2.0                  β”‚ org.objectweb.asm.commons
147 β”‚ Active β”‚  80 β”‚ 9.2.0                  β”‚ org.objectweb.asm.tree
148 β”‚ Active β”‚  80 β”‚ 9.2.0                  β”‚ org.objectweb.asm.tree.analysis
149 β”‚ Active β”‚  80 β”‚ 9.2.0                  β”‚ org.objectweb.asm.util
150 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150301     β”‚ openHAB Core :: Bundles :: Core
151 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150311     β”‚ openHAB Core :: Bundles :: Marketplace Add-on Services
152 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150311     β”‚ openHAB Core :: Bundles :: Community Marketplace Add-on Service :: Karaf
153 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150304     β”‚ openHAB Core :: Bundles :: Audio
154 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150303     β”‚ openHAB Core :: Bundles :: JAAS Authentication
155 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150304     β”‚ openHAB Core :: Bundles :: OAuth2Client
156 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150306     β”‚ openHAB Core :: Bundles :: Automation
157 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150310     β”‚ openHAB Core :: Bundles :: Automation Media Modules
158 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150308     β”‚ openHAB Core :: Bundles :: Automation Script Modules
159 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150310     β”‚ openHAB Core :: Bundles :: Automation Script RuleSupport
160 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150308     β”‚ openHAB Core :: Bundles :: Automation REST API
161 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150306     β”‚ openHAB Core :: Bundles :: Binding XML
162 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150303     β”‚ openHAB Core :: Bundles :: Configuration Core
163 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150306     β”‚ openHAB Core :: Bundles :: Configuration Discovery
164 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150309     β”‚ openHAB Core :: Bundles :: Configuration mDNS Discovery
165 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150305     β”‚ openHAB Core :: Bundles :: Configuration Dispatcher
166 β”‚ Active β”‚  75 β”‚ 3.3.0.202203150304     β”‚ openHAB Core :: Bundles :: Configuration XML
167 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150304     β”‚ openHAB Core :: Bundles :: Ephemeris
168 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150304     β”‚ openHAB Core :: Bundles :: ID
169 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150302     β”‚ openHAB Core :: Bundles :: Console
170 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150303     β”‚ openHAB Core :: Bundles :: Console for OSGi runtime Karaf
171 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150300     β”‚ openHAB Core :: Bundles :: HTTP Interface
172 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150303     β”‚ openHAB Core :: Bundles :: HTTP Interface Authentication
174 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150308     β”‚ openHAB Core :: Bundles :: Monitor
175 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150302     β”‚ openHAB Core :: Bundles :: Network I/O
176 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150302     β”‚ openHAB Core :: Bundles :: REST Interface
177 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150306     β”‚ openHAB Core :: Bundles :: Audio REST Interface
178 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150305     β”‚ openHAB Core :: Bundles :: Authentication Support for the REST Interface
179 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150308     β”‚ openHAB Core :: Bundles :: REST Interface :: Core
180 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150309     β”‚ openHAB Core :: Bundles :: REST mDNS Announcer
181 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150310     β”‚ openHAB Core :: Bundles :: Sitemap REST Interface
182 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150306     β”‚ openHAB Core :: Bundles :: SSE Interface
183 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150304     β”‚ openHAB Core :: Bundles :: REST Interface :: Swagger 1
184 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150311     β”‚ openHAB Core :: Bundles :: UI REST Interface
185 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150307     β”‚ openHAB Core :: Bundles :: Voice REST Interface
186 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150307     β”‚ openHAB Core :: Bundles :: mDNS Service
187 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150304     β”‚ openHAB Core :: Bundles :: Karaf Integration
188 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150305     β”‚ openHAB Core :: Bundles :: Model Core
189 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150307     β”‚ openHAB Core :: Bundles :: Model Items
190 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150308     β”‚ openHAB Core :: Bundles :: Model Item IDE
191 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150308     β”‚ openHAB Core :: Bundles :: Model Items Runtime
192 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150312     β”‚ openHAB Core :: Bundles :: Language Server
193 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150307     β”‚ openHAB Core :: Bundles :: Model Persistence
194 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150309     β”‚ openHAB Core :: Bundles :: Model Persistence IDE
195 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150309     β”‚ openHAB Core :: Bundles :: Model Persistence Runtime
196 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150311     β”‚ openHAB Core :: Bundles :: Model Rules
197 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150312     β”‚ openHAB Core :: Bundles :: Model Rule IDE
198 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150312     β”‚ openHAB Core :: Bundles :: Model Rules Runtime
199 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150309     β”‚ openHAB Core :: Bundles :: Model Script
200 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150311     β”‚ openHAB Core :: Bundles :: Model Script IDE
201 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150311     β”‚ openHAB Core :: Bundles :: Model Script Runtime
202 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150307     β”‚ openHAB Core :: Bundles :: Model Sitemap
203 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150309     β”‚ openHAB Core :: Bundles :: Model Sitemap IDE
204 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150310     β”‚ openHAB Core :: Bundles :: Model Sitemap Runtime
205 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150309     β”‚ openHAB Core :: Bundles :: Model Thing
206 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150310     β”‚ openHAB Core :: Bundles :: Model Thing IDE
207 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150310     β”‚ openHAB Core :: Bundles :: Model Thing Runtime
208 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150305     β”‚ openHAB Core :: Bundles :: Persistence
209 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150303     β”‚ openHAB Core :: Bundles :: Semantics
210 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150305     β”‚ openHAB Core :: Bundles :: JSON Storage
211 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150304     β”‚ openHAB Core :: Bundles :: Thing
212 β”‚ Active β”‚  75 β”‚ 3.3.0.202203150306     β”‚ openHAB Core :: Bundles :: Thing XML
213 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150305     β”‚ openHAB Core :: Bundles :: Transformation Service
214 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150309     β”‚ openHAB Core :: Bundles :: UI
215 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150311     β”‚ openHAB Core :: Bundles :: UI Icon Support
216 β”‚ Active β”‚  80 β”‚ 3.3.0.202203150306     β”‚ openHAB Core :: Bundles :: Voice
217 β”‚ Active β”‚  80 β”‚ 3.3.0.202203131216     β”‚ openHAB UI :: Bundles :: Main UI
218 β”‚ Active β”‚  80 β”‚ 3.3.0.202203131208     β”‚ openHAB UI :: Bundles :: Icon Set :: Classic
225 β”‚ Active β”‚  80 β”‚ 1.0.0.201802012106     β”‚ org.osgi:org.osgi.service.jaxrs
226 β”‚ Active β”‚  80 β”‚ 1.5.0                  β”‚ ThreeTen-Extra
227 β”‚ Active β”‚  80 β”‚ 1.27.0                 β”‚ SnakeYAML
228 β”‚ Active β”‚  80 β”‚ 2.1                    β”‚ SI Units
229 β”‚ Active β”‚  80 β”‚ 2.1.0                  β”‚ SI Quantities
230 β”‚ Active β”‚  80 β”‚ 4.2.1                  β”‚ Stax2 API
231 β”‚ Active β”‚  80 β”‚ 2.1.2                  β”‚ Units of Measurement Reference Implementation
232 β”‚ Active β”‚  80 β”‚ 2.1.0                  β”‚ Units of Measurement Common Library for Java
233 β”‚ Active β”‚  80 β”‚ 1.4.19                 β”‚ XStream Core
openhab>

there si the way to download an archive with all the jar files to put manually in the addons folder?

Can you please show

config:list "(service.pid=org.apache.felix.fileinstall~deploy)"

and check if the felix.fileinstall.dir exists and points to a directory that openHAB can access? For me the result is:

openhab> config:list "(service.pid=org.apache.felix.fileinstall~deploy)"
----------------------------------------------------------------
Pid:            org.apache.felix.fileinstall~deploy
FactoryPid:     org.apache.felix.fileinstall
BundleLocation: ?
Properties:
   felix.fileinstall.active.level = 90
   felix.fileinstall.dir = /Users/jan/Downloads/openhab-3/addons
   felix.fileinstall.filename = file:/Users/jan/Downloads/openhab-3/userdata/etc/org.apache.felix.fileinstall-deploy.cfg
   felix.fileinstall.filter = .*\.(jar|kar)
   felix.fileinstall.log.level = 3
   felix.fileinstall.poll = 10000
   felix.fileinstall.start.level = 80
   felix.fileinstall.subdir.mode = skip
   felix.fileinstall.tmpdir = /Users/jan/Downloads/openhab-3/userdata/tmp/bundles
   service.factoryPid = org.apache.felix.fileinstall
   service.pid = org.apache.felix.fileinstall~deploy

Background information: There were reports of exceptions during startup and the reason turned out to be a not fully installed .kar in the addons folder. I therefore implemented a check for that. It seems that for some yet unknown reason it fails in determining the addon folder. We need to find out what’s wrong.

the command config:list β€œ(service.pid=org.apache.felix.fileinstall~deploy)”
give the following blank result


openhab> config:list "(service.pid=org.apache.felix.fileinstall~deploy)"
openhab>

running the same command without option I found this one


Pid:            org.apache.felix.fileinstall.a702e1ba-1635-4154-906d-a9646a043a56
FactoryPid:     org.apache.felix.fileinstall
BundleLocation: ?
Properties:
   felix.fileinstall.active.level = 90
   felix.fileinstall.dir = /usr/share/openhab/addons
   felix.fileinstall.filename = file:/var/lib/openhab/etc/org.apache.felix.fileinstall-deploy.cfg
   felix.fileinstall.filter = .*\.(jar|kar)
   felix.fileinstall.log.level = 3
   felix.fileinstall.poll = 10000
   felix.fileinstall.start.level = 80
   felix.fileinstall.subdir.mode = skip
   felix.fileinstall.tmpdir = /var/lib/openhab/tmp/bundles
   service.factoryPid = org.apache.felix.fileinstall
   service.pid = org.apache.felix.fileinstall.a702e1ba-1635-4154-906d-a9646a043a56

and the direcory exists, but is empty


livio@UbuntuOH:~$ cd /usr/share/openhab/addons
livio@UbuntuOH:/usr/share/openhab/addons$ ls
README
livio@UbuntuOH:/usr/share/openhab/addons$

So there we have the reason: the different PID. I wonder why the PID is so different. I’ll investigate and provide a fix. For the time being, please stick with an older snapshot, there is nothing you can do at the moment. The empty directory is fine.

1 Like

thanks again, please let me know when I can update and test the solution.