OpenHAB3 No access via Port 8080

  • Platform information:
    • Hardware: Raspberry Pi 3 Model B Rev 1.2
    • OS: Openhabian
    • Java Runtime Environment:
    Openjdk version "11.0.11" 2021-04-20 LTS
   OpenJDK Runtime Environment Zulu11.48+21-CA (build 11.0.11+9-LTS)
   OpenJDK Client VM Zulu11.48+21-CA (build 11.0.11+9-LTS, mixed mode)
  * openHAB version: 3.0.2
  • Issue of the topic: After power failure, the program is running but cant get any interface except the SSH including myopenhab cloud which return
    openHAB connection error: Connection refused
    when i check the open ports, port 8080 is missing…
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      root       18704      1065/smbd
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      root       17059      658/sshd
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      root       18703      1065/smbd
tcp6       0      0 [::]:8101               [::]:*                  LISTEN      openhab    18733      1039/java
tcp6       0      0 [::]:139                [::]:*                  LISTEN      root       18702      1065/smbd
tcp6       0      0 [::]:5007               [::]:*                  LISTEN      openhab    20938      1039/java
tcp6       0      0 localhost:38191         [::]:*                  LISTEN      openhab    20627      1039/java
tcp6       0      0 [::]:22                 [::]:*                  LISTEN      root       17061      658/sshd
tcp6       0      0 [::]:445                [::]:*                  LISTEN      root       18701      1065/smbd
udp        0      0 0.0.0.0:55310           0.0.0.0:*                           avahi      16463      362/avahi-daemon: r
udp        0      0 0.0.0.0:68              0.0.0.0:*                           root       16141      697/dhclient
udp        0      0 10.0.0.255:137          0.0.0.0:*                           root       18094      1062/nmbd
udp        0      0 10.0.0.28:137           0.0.0.0:*                           root       18093      1062/nmbd
udp        0      0 0.0.0.0:137             0.0.0.0:*                           root       18081      1062/nmbd
udp        0      0 10.0.0.255:138          0.0.0.0:*                           root       18096      1062/nmbd
udp        0      0 10.0.0.28:138           0.0.0.0:*                           root       18095      1062/nmbd
udp        0      0 0.0.0.0:138             0.0.0.0:*                           root       18082      1062/nmbd
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           avahi      16461      362/avahi-daemon: r
udp6       0      0 [::]:5353               [::]:*                              openhab    20937      1039/java
udp6       0      0 [::]:5353               [::]:*                              openhab    20933      1039/java
udp6       0      0 [::]:5353               [::]:*                              avahi      16462      362/avahi-daemon: r
udp6       0      0 [::]:33563              [::]:*                              avahi      16464      362/avahi-daemon: r

Is there any log entry in /var/log/openhab/openhab.log that gives any hint ?

how do i get there? within the SSH

  • login to Pi by using ssh
  • cd /var/log/openhab
  • do: more openhab.log
1 Like
openhabian@openhabian:/var/log/openhab $ more openhab.log
2021-06-17 22:21:56.559 [ERROR] [rvice.jetty.internal.JettyServerImpl] - Exception while starting Jetty
java.lang.reflect.InvocationTargetException: null
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?
]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl.start(JettyServerImpl.java:160) [bundleFile
:?]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Stopped.start(ServerControllerImpl.jav
a:486) [bundleFile:?]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.start(ServerControllerImpl.java:82) [b
undleFile:?]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerFactoryImpl$1.start(ServerControllerFactory
Impl.java:164) [bundleFile:?]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Unconfigured.configure(ServerControlle
rImpl.java:795) [bundleFile:?]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.configure(ServerControllerImpl.java:98
) [bundleFile:?]
        at org.ops4j.pax.web.service.internal.Activator.updateController(Activator.java:418) [bundleFile:?]
        at org.ops4j.pax.web.service.internal.Activator.lambda$scheduleUpdateFactory$1(Activator.java:344) [bun
dleFile:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
        at java.lang.Thread.run(Thread.java:829) [?:?]
Caused by: java.lang.ClassFormatError: Unexpected error from weaving hook.
        at org.eclipse.osgi.internal.weaving.WeavingHookConfigurator.processClass(WeavingHookConfigurator.java:
73) ~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.processClass(ClasspathManager.java:674)
~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.defineClass(ClasspathManager.java:645) ~
[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassImpl(ClasspathManager.java:578)
 ~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java
:538) ~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:525
) ~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:328) ~[org.
eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:368) ~[org.eclipse.os
gi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:446) ~[org.eclipse
.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395) ~[org.eclipse.osgi-3.
12.100.jar:?]
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387) ~[org.eclipse.osgi-3.
12.100.jar:?]
        at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150) ~[org.eclip
se.osgi-3.12.100.jar:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
        at org.eclipse.jetty.util.TypeUtil.<clinit>(TypeUtil.java:196) ~[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.newArray(XmlConfiguration.java:1158) ~[
?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.itemValue(XmlConfiguration.java:1578) ~
[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.value(XmlConfiguration.java:1475) ~[?:?
]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.newObj(XmlConfiguration.java:1011) ~[?:
?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.itemValue(XmlConfiguration.java:1574) ~
[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.value(XmlConfiguration.java:1475) ~[?:?
]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.access$500(XmlConfiguration.java:369) ~
[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration$AttrOrElementNode.getList(XmlConfigurat
ion.java:1704) ~[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration$AttrOrElementNode.getList(XmlConfigurat
ion.java:1680) ~[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.call(XmlConfiguration.java:894) ~[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:512) ~[
?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:400) ~[
?:?]
        at org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:340) ~[?:?]
        ... 17 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1852260077 out of bounds for length 4645
        at org.objectweb.asm.ClassReader.readInt(ClassReader.java:3377) ~[?:?]
        at org.objectweb.asm.ClassReader.getFirstAttributeOffset(ClassReader.java:3218) ~[?:?]
        at org.objectweb.asm.ClassReader.accept(ClassReader.java:464) ~[?:?]
        at org.objectweb.asm.ClassReader.accept(ClassReader.java:391) ~[?:?]
        at org.apache.aries.spifly.dynamic.ClientWeavingHook.weave(ClientWeavingHook.java:60) ~[?:?]
        at org.eclipse.osgi.internal.weaving.WovenClassImpl.call(WovenClassImpl.java:163) ~[org.eclipse.osgi-3.
12.100.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.notifyHookPrivileged(ServiceRegistry.java:
1298) ~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.notifyHooksPrivileged(ServiceRegistry.java
:1278) ~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.weaving.WovenClassImpl.callHooks(WovenClassImpl.java:255) ~[org.eclipse.os
gi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.weaving.WeavingHookConfigurator.processClass(WeavingHookConfigurator.java:
67) ~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.processClass(ClasspathManager.java:674)
~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.defineClass(ClasspathManager.java:645) ~
[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassImpl(ClasspathManager.java:578)
 ~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java
:538) ~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:525
) ~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:328) ~[org.
eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:368) ~[org.eclipse.os
gi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:446) ~[org.eclipse
.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395) ~[org.eclipse.osgi-3.
12.100.jar:?]
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387) ~[org.eclipse.osgi-3.
12.100.jar:?]
        at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150) ~[org.eclip
se.osgi-3.12.100.jar:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
        at org.eclipse.jetty.util.TypeUtil.<clinit>(TypeUtil.java:196) ~[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.newArray(XmlConfiguration.java:1158) ~[
?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.itemValue(XmlConfiguration.java:1578) ~
[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.value(XmlConfiguration.java:1475) ~[?:?
]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.newObj(XmlConfiguration.java:1011) ~[?:
?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.itemValue(XmlConfiguration.java:1574) ~
[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.value(XmlConfiguration.java:1475) ~[?:?
]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.access$500(XmlConfiguration.java:369) ~
[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration$AttrOrElementNode.getList(XmlConfigurat
ion.java:1704) ~[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration$AttrOrElementNode.getList(XmlConfigurat
ion.java:1680) ~[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.call(XmlConfiguration.java:894) ~[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:512) ~[
?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:400) ~[
?:?]
        at org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:340) ~[?:?]
        ... 17 more
2021-06-17 22:21:56.653 [ERROR] [j.pax.web.service.internal.Activator] - Unable to start pax web server: Except
ion while starting Jetty
java.lang.RuntimeException: Exception while starting Jetty
        at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl.start(JettyServerImpl.java:198) ~[?:?]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Stopped.start(ServerControllerImpl.jav
a:486) ~[?:?]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.start(ServerControllerImpl.java:82) ~[
?:?]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerFactoryImpl$1.start(ServerControllerFactory
Impl.java:164) ~[?:?]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Unconfigured.configure(ServerControlle
rImpl.java:795) ~[?:?]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.configure(ServerControllerImpl.java:98
) ~[?:?]
        at org.ops4j.pax.web.service.internal.Activator.updateController(Activator.java:418) [bundleFile:?]
        at org.ops4j.pax.web.service.internal.Activator.lambda$scheduleUpdateFactory$1(Activator.java:344) [bun
dleFile:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
        at java.lang.Thread.run(Thread.java:829) [?:?]
Caused by: java.lang.reflect.InvocationTargetException
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?
]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl.start(JettyServerImpl.java:160) ~[?:?]
        ... 12 more
Caused by: java.lang.ClassFormatError: Unexpected error from weaving hook.
        at org.eclipse.osgi.internal.weaving.WeavingHookConfigurator.processClass(WeavingHookConfigurator.java:
73) ~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.processClass(ClasspathManager.java:674)
~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.defineClass(ClasspathManager.java:645) ~
[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassImpl(ClasspathManager.java:578)
 ~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java
:538) ~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:525
) ~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:328) ~[org.
eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:368) ~[org.eclipse.os
gi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:446) ~[org.eclipse
.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395) ~[org.eclipse.osgi-3.
12.100.jar:?]
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387) ~[org.eclipse.osgi-3.
12.100.jar:?]
        at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150) ~[org.eclip
se.osgi-3.12.100.jar:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
        at org.eclipse.jetty.util.TypeUtil.<clinit>(TypeUtil.java:196) ~[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.newArray(XmlConfiguration.java:1158) ~[
?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.itemValue(XmlConfiguration.java:1578) ~
[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.value(XmlConfiguration.java:1475) ~[?:?
]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.newObj(XmlConfiguration.java:1011) ~[?:
?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.itemValue(XmlConfiguration.java:1574) ~
[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.value(XmlConfiguration.java:1475) ~[?:?
]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.access$500(XmlConfiguration.java:369) ~
[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration$AttrOrElementNode.getList(XmlConfigurat
ion.java:1704) ~[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration$AttrOrElementNode.getList(XmlConfigurat
ion.java:1680) ~[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.call(XmlConfiguration.java:894) ~[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:512) ~[
?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:400) ~[
?:?]
        at org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:340) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?
]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl.start(JettyServerImpl.java:160) ~[?:?]
        ... 12 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1852260077 out of bounds for length 4645
        at org.objectweb.asm.ClassReader.readInt(ClassReader.java:3377) ~[?:?]
        at org.objectweb.asm.ClassReader.getFirstAttributeOffset(ClassReader.java:3218) ~[?:?]
        at org.objectweb.asm.ClassReader.accept(ClassReader.java:464) ~[?:?]
        at org.objectweb.asm.ClassReader.accept(ClassReader.java:391) ~[?:?]
        at org.apache.aries.spifly.dynamic.ClientWeavingHook.weave(ClientWeavingHook.java:60) ~[?:?]
        at org.eclipse.osgi.internal.weaving.WovenClassImpl.call(WovenClassImpl.java:163) ~[org.eclipse.osgi-3.
12.100.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.notifyHookPrivileged(ServiceRegistry.java:
1298) ~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.notifyHooksPrivileged(ServiceRegistry.java
:1278) ~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.weaving.WovenClassImpl.callHooks(WovenClassImpl.java:255) ~[org.eclipse.os
gi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.weaving.WeavingHookConfigurator.processClass(WeavingHookConfigurator.java:
67) ~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.processClass(ClasspathManager.java:674)
~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.defineClass(ClasspathManager.java:645) ~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassImpl(ClasspathManager.java:578) ~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java:538) ~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:525) ~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:328) ~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:368) ~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:446) ~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395) ~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387) ~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150) ~[org.eclipse.osgi-3.12.100.jar:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
        at org.eclipse.jetty.util.TypeUtil.<clinit>(TypeUtil.java:196) ~[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.newArray(XmlConfiguration.java:1158) ~[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.itemValue(XmlConfiguration.java:1578) ~[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.value(XmlConfiguration.java:1475) ~[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.newObj(XmlConfiguration.java:1011) ~[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.itemValue(XmlConfiguration.java:1574) ~[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.value(XmlConfiguration.java:1475) ~[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.access$500(XmlConfiguration.java:369) ~[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration$AttrOrElementNode.getList(XmlConfiguration.java:1704) ~[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration$AttrOrElementNode.getList(XmlConfiguration.java:1680) ~[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.call(XmlConfiguration.java:894) ~[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:512) ~[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:400) ~[?:?]
        at org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:340) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl.start(JettyServerImpl.java:160) ~[?:?]
        ... 12 more
2021-06-17 22:22:19.135 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Time zone set to 'Asia/Jerusalem'.
2021-06-17 22:22:19.154 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Location set to '32.42180751361153,35.52492499351502'.
2021-06-17 22:22:19.159 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Locale set to 'iw_IL'.
2021-06-17 22:22:19.162 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Measurement system set to 'SI'.
2021-06-17 22:23:10.772 [INFO ] [.core.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2021-06-17 22:23:18.065 [INFO ] [o.internal.handler.AstroThingHandler] - Scheduled Positional job astro:sun:ff44695785 every 60 seconds
2021-06-17 22:23:23.124 [INFO ] [e.automation.internal.RuleEngineImpl] - Rule engine started.
2021-06-17 22:23:25.414 [WARN ] [core.thing.internal.ThingManagerImpl] - Initializing handler for thing 'systeminfo:computer:openhabian' takes more than 5000ms.
2021-06-17 22:23:27.035 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = xxxxxxx, base URL =
 http://localhost:8080)
2021-06-17 22:23:31.487 [INFO ] [zwave.handler.ZWaveControllerHandler] - Attempting to add listener when controller is null
2021-06-17 22:23:36.778 [INFO ] [ve.internal.protocol.ZWaveController] - Starting ZWave controller
2021-06-17 22:23:36.780 [INFO ] [ve.internal.protocol.ZWaveController] - ZWave timeout is set to 5000ms. Soft reset is false.
2021-06-17 22:23:40.426 [WARN ] [ve.internal.protocol.ZWaveController] - NODE 12: Restore from config: Error. Data invalid, ignoring config.
2021-06-17 22:24:09.114 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = xxxxxxxxxx, base
URL = http://localhost:8080)
2021-06-17 22:24:10.206 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = XXXXXXX, base URL =
 http://localhost:8080)
2021-06-17 22:28:26.857 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 727193 failed: Connection refused
2021-06-17 22:28:26.859 [WARN ] [io.openhabcloud.internal.CloudClient] - Request Failure: Connection refused
2021-06-17 22:28:26.861 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: Connection refused
2021-06-17 22:28:26.983 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 727197 failed: Connection refused
2021-06-17 22:28:26.988 [WARN ] [io.openhabcloud.internal.CloudClient] - Request Failure: Connection refused
2021-06-17 22:28:26.990 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: Connection refused
2021-06-17 22:32:48.873 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 728423 failed: Connection refused
2021-06-17 22:32:48.878 [WARN ] [io.openhabcloud.internal.CloudClient] - Request Failure: Connection refused
2021-06-17 22:32:48.880 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: Connection refused
2021-06-17 22:32:49.006 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 728425 failed: Connection refused
2021-06-17 22:32:49.011 [WARN ] [io.openhabcloud.internal.CloudClient] - Request Failure: Connection refused
2021-06-17 22:32:49.014 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: Connection refused
2021-06-17 22:39:14.166 [WARN ] [wave.discovery.ZWaveDiscoveryService] - NODE 12: Device discovery could not resolve to a thingType! Manufacturer data not known.


Do you have a backup that you can put on another SD card? When an RPi doesn’t work after a power failure, it’s often due to the SD card getting corrupted.

1 Like

Not currently :confused:… will USB do the trick?

You’ll need an SD card if that’s what you were running. You can’t just swap in a USB stick.

If you don’t have a backup, then see if you can start openhabian-config and make one. Then you can copy it off of this system and restore it over a fresh build of OH. But don’t reuse the old SD card.

I would generally recommend making periodic backups of your entire system (or using the backup tools built into openHABian), and always having a spare SD card ready to swap in. That’s not much consolation now, but it’s something to think about in the future.

If you have frequent power outages, then you might want to consider adding a small UPS to shut down your RPi cleanly and avoid SD corruption. But you can also buy a bunch of SD cards for the price of a UPS.

1 Like