Clean docker install fails - Error downloading mvn:org.samba.jcifs/jcifs/1.3.17

Hi all,

I am trying to do a clean docker install on a rapberry pi 4. I cannot install any add ons. I get the following message over and over in my logs:

2021-04-21 17:26:39.544 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-persistence-mapdb, openhab-binding-exec, openhab-voice-mactts, openhab-voice-marytts, openhab-misc-openhabcloud, openhab-ui-habot, openhab-transformation-bin2json, openhab-voice-picotts, openhab-binding-network, openhab-persistence-influxdb, openhab-binding-hdpowerview, openhab-ui-habpanel, openhab-binding-buienradar, openhab-binding-chromecast, openhab-binding-mqtt, openhab-transformation-map, openhab-binding-logreader, openhab-binding-enocean, openhab-transformation-xslt, openhab-binding-homematic, openhab-transformation-exec, openhab-binding-systeminfo, openhab-transformation-jinja, openhab-transformation-scale, openhab-binding-samsungtv, openhab-voice-voicerss, openhab-binding-hyperion, openhab-binding-wled, openhab-transformation-javascript, openhab-binding-openthermgateway, openhab-transformation-regex, openhab-binding-openuv, openhab-binding-weatherunderground, openhab-transformation-jsonpath, openhab-binding-zwave, openhab-binding-miio, openhab-binding-wifiled, openhab-transformation-xpath, openhab-ui-basic, openhab-binding-openweathermap, openhab-binding-http, openhab-binding-astro, openhab-binding-squeezebox': Error:
        Error downloading mvn:org.samba.jcifs/jcifs/1.3.17

I looked all over the forum. I only found this post

Unfortunately no resolution. Does anyone have an idea? Is some kind of resource down?

EDIT
I checked, my container is able to download files. So doesn’t look like a internet connection issue. I can access bash by using
sudo docker exec -it openhab /bin/bash
from there I can issue
wget https://openhab.jfrog.io/openhab/libs-release/jcifs/jcifs/1.3.17/jcifs-1.3.17.jar and i get the file

I was actually working on this as you were posting the message. Manually copying the jar to userdata/tmp/mvn/org/samba/jcifs/jcifs/1.3.17/, setting the permissions (openhab:9001 for my setup), then restarting openhab worked for me.

Thanks! I will try this later. I saw your post and copied the file and changed the owner to openhab. What are the permissions, maybe i missed something there.

This is what mine has:

-rw-r--r-- 1 openhab 9001 402249 Mar 22 2012 jcifs-1.3.17.jar

Thank, I have those too. Now I get

Unable to create resource for bundle mvn:org.samba.jcifs/jcifs/1.3.17

Hmm… might have spoken too early. I am still seeing an error. Might have to tweak the permissions.

If I look at the logs for docker I see:

openhab          | org.apache.karaf.features.internal.util.MultiException: Error:
openhab          |      Unable to create resource for bundle mvn:org.samba.jcifs/jcifs/1.3.17
openhab          |      at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.<init>(MavenDownloadManager.java:91)
openhab          |      at org.apache.karaf.features.internal.download.impl.MavenDownloadManager.createDownloader(MavenDownloadManager.java:72)
openhab          |      at org.apache.karaf.features.internal.region.Subsystem.downloadBundles(Subsystem.java:457)
openhab          |      at org.apache.karaf.features.internal.region.Subsystem.downloadBundles(Subsystem.java:452)
openhab          |      at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:224)
openhab          |      at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:393)
openhab          |      at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1062)
openhab          |      at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:998)
openhab          |      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
openhab          |      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
openhab          |      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
openhab          |      at java.base/java.lang.Thread.run(Thread.java:834)
openhab          |      Suppressed: java.lang.Exception: Unable to create resource for bundle mvn:org.samba.jcifs/jcifs/1.3.17
openhab          |              at org.apache.karaf.features.internal.region.Subsystem.createResource(Subsystem.java:824)
openhab          |              at org.apache.karaf.features.internal.region.Subsystem.lambda$downloadBundles$1(Subsystem.java:499)
openhab          |              at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.lambda$download$0(MavenDownloadManager.java:138)
openhab          |              at org.apache.karaf.features.internal.download.impl.DefaultFuture.notifyListener(DefaultFuture.java:350)
openhab          |              at org.apache.karaf.features.internal.download.impl.DefaultFuture.notifyListeners(DefaultFuture.java:335)
openhab          |              at org.apache.karaf.features.internal.download.impl.DefaultFuture.setValue(DefaultFuture.java:259)
openhab          |              at org.apache.karaf.features.internal.download.impl.AbstractDownloadTask.setFile(AbstractDownloadTask.java:61)
openhab          |              at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:61)
openhab          |              at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
openhab          |              at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
openhab          |              at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
openhab          |              ... 3 more
openhab          |      Caused by: org.osgi.framework.BundleException: Unable to build resource for mvn:org.samba.jcifs/jcifs/1.3.17: Unsupported 'Bundle-ManifestVersion' value: 1
openhab          |              at org.apache.felix.utils.resource.ResourceBuilder.build(ResourceBuilder.java:82)
openhab          |              at org.apache.felix.utils.resource.ResourceBuilder.build(ResourceBuilder.java:71)
openhab          |              at org.apache.karaf.features.internal.region.Subsystem.createResource(Subsystem.java:822)
openhab          |              ... 13 more
openhab          |      Caused by: org.osgi.framework.BundleException: Unsupported 'Bundle-ManifestVersion' value: 1
openhab          |              at org.apache.felix.utils.resource.ResourceBuilder.doBuild(ResourceBuilder.java:90)
openhab          |              at org.apache.felix.utils.resource.ResourceBuilder.build(ResourceBuilder.java:80)
openhab          |              ... 15 more

So a little bit more information, “Unsupported ‘Bundle-ManifestVersion’ value: 1”

Ok, this might not be state of the art, but I have banged on the damn thing and got it working. What I did was:

I still think that there is something wrong somewhere.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.