OpenHAB has been running fine for the last few weeks. Suddenly I have lost OpenHAB (everything on port 8080, myOpenHAB etc). This is the second time that it has happened now, the last time i completely reinstalled OpenHABian. I am running on a raspberry pi 2 and can still ssh etc.
There is an error message in the log which says:
2018-01-24 17:31:26.572 [SEVERE] [org.apache.karaf.main.Main] - Could not launch framework
java.lang.RuntimeException: Error initializing storage.
at org.eclipse.osgi.internal.framework.EquinoxContainer.<init>(EquinoxContainer.java:68)
at org.eclipse.osgi.launch.Equinox.<init>(Equinox.java:31)
at org.eclipse.osgi.launch.EquinoxFactory.newFramework(EquinoxFactory.java:24)
at org.apache.karaf.main.Main.launch(Main.java:256)
at org.apache.karaf.main.Main.main(Main.java:179)
Caused by: java.io.UTFDataFormatException: malformed input around byte 13
at java.io.DataInputStream.readUTF(DataInputStream.java:634)
at java.io.DataInputStream.readUTF(DataInputStream.java:564)
at org.eclipse.osgi.storage.Storage.loadGenerations(Storage.java:1208)
at org.eclipse.osgi.storage.Storage.<init>(Storage.java:134)
at org.eclipse.osgi.storage.Storage.createStorage(Storage.java:88)
at org.eclipse.osgi.internal.framework.EquinoxContainer.<init>(EquinoxContainer.java:66)
... 4 more
I would be grateful for any help to get it running again.