[SOLVED] Addons page not loaded

Hello
I’ve tried to install on docker openhab2.3 and 2.4.M5
after installing I see the addons page not loaded.

any ideas why?
tried to clean userdata directory ans still the same thing…

strange… I have never seen such gray overlay (or did you add this?) on the PaperUI and both Install and Uninstall options showing…

anything interesting in the logs?

did you deploy the offline-addons package also?

Didn’t deploy anything…
In the logs I see:

18-Nov-2018 00:01:50.891 [INFO ] [javassist ] - FrameworkEvent INFO - javassist
java.io.IOException: Exception in opening zip file: /openhab/userdata/cache/org.eclipse.osgi/24/0/bundleFile
at org.eclipse.osgi.framework.util.SecureAction.getZipFile(SecureAction.java:321) ~[?:?]
at org.eclipse.osgi.storage.bundlefile.ZipBundleFile.basicOpen(ZipBundleFile.java:93) ~[?:?]
at org.eclipse.osgi.storage.bundlefile.ZipBundleFile.getZipFile(ZipBundleFile.java:106) ~[?:?]
at org.eclipse.osgi.storage.bundlefile.ZipBundleFile.checkedOpen(ZipBundleFile.java:65) ~[?:?]
at org.eclipse.osgi.storage.bundlefile.ZipBundleFile.getEntry(ZipBundleFile.java:240) ~[?:?]
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassImpl(ClasspathManager.java:560) ~[?:?]
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java:538) ~[?:?]
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:525) ~[?:?]
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:328) ~[?:?]
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:368) ~[?:?]
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:446) ~[?:?]
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395) ~[?:?]
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387) ~[?:?]
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:?]
at org.jvnet.hk2.internal.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:77) ~[?:?]
at java.lang.Class.forName0(Native Method) ~[?:?]
at java.lang.Class.forName(Class.java:348) ~[?:?]
at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:577) ~[?:?]
at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:557) ~[?:?]
at java.lang.reflect.WeakCache$Factory.get(WeakCache.java:230) ~[?:?]
at java.lang.reflect.WeakCache.get(WeakCache.java:127) ~[?:?]
at java.lang.reflect.Proxy.getProxyClass0(Proxy.java:419) ~[?:?]
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:719) ~[?:?]
at org.jvnet.hk2.internal.ProxyUtilities$3.run(ProxyUtilities.java:134) ~[?:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
at org.jvnet.hk2.internal.ProxyUtilities.secureCreate(ProxyUtilities.java:129) ~[?:?]
at org.jvnet.hk2.internal.ProxyUtilities.generateProxy(ProxyUtilities.java:208) ~[?:?]
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:1994) ~[?:?]
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:114) ~[?:?]
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:88) ~[?:?]
at org.glassfish.jersey.internal.inject.ContextInjectionResolver.resolve(ContextInjectionResolver.java:126) ~[?:?]
at org.jvnet.hk2.internal.Utilities.justInject(Utilities.java:945) ~[?:?]
at org.jvnet.hk2.internal.ServiceLocatorImpl.inject(ServiceLocatorImpl.java:979) ~[?:?]
at org.jvnet.hk2.internal.ServiceLocatorImpl.inject(ServiceLocatorImpl.java:969) ~[?:?]
at org.glassfish.jersey.server.ApplicationHandler.initialize(ApplicationHandler.java:617) ~[?:?]
at org.glassfish.jersey.server.ApplicationHandler.access$500(ApplicationHandler.java:184) ~[?:?]
at org.glassfish.jersey.server.ApplicationHandler$3.call(ApplicationHandler.java:350) ~[?:?]
at org.glassfish.jersey.server.ApplicationHandler$3.call(ApplicationHandler.java:347) ~[?:?]
at org.glassfish.jersey.internal.Errors.process(Errors.java:315) ~[?:?]
at org.glassfish.jersey.internal.Errors.process(Errors.java:297) ~[?:?]
at org.glassfish.jersey.internal.Errors.processWithException(Errors.java:255) ~[?:?]
at org.glassfish.jersey.server.ApplicationHandler.(ApplicationHandler.java:347) ~[?:?]
at org.glassfish.jersey.servlet.WebComponent.(WebComponent.java:392) ~[?:?]
at org.glassfish.jersey.servlet.ServletContainer.reload(ServletContainer.java:681) ~[?:?]
at com.eclipsesource.jaxrs.publisher.internal.ServletContainerBridge.run(ServletContainerBridge.java:54) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:?]
at java.lang.Thread.run(Thread.java:748) ~[?:?]
Caused by: java.io.FileNotFoundException: /openhab/userdata/cache/org.eclipse.osgi/24/0/bundleFile (No such file or directory)
at java.util.zip.ZipFile.open(Native Method) ~[?:?]
at java.util.zip.ZipFile.(ZipFile.java:223) ~[?:?]
at java.util.zip.ZipFile.(ZipFile.java:153) ~[?:?]
at java.util.zip.ZipFile.(ZipFile.java:167) ~[?:?]
at org.eclipse.osgi.framework.util.SecureAction$16.run(SecureAction.java:308) ~[?:?]
at org.eclipse.osgi.framework.util.SecureAction$16.run(SecureAction.java:1) ~[?:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
at org.eclipse.osgi.framework.util.SecureAction.getZipFile(SecureAction.java:306) ~[?:?]
… 52 more

logs scream about files not found in the userdata/cache. Could it be permissions?

you mentioned that you cleaned userdata (only cache & tmp subdirs i hope from userdata :slight_smile:)

in theory, after you stop OH2, clean cache & tmp, start OH2 they should be repopulated with files.

what is your java -version ?

I’ve found out the problem
It is becuase its behind nginx…
when I’m entering the container directly without the nginx the problem not occurred.
Any Idea what should I change in nginx?

so the proxy was not allowing OH2 to download stuff from the repos to populate cache ?

No, I added some security headers that prevents me to work with openhab normally…
Anyway thank you for your help!

1 Like