I also updated today from 924 to 925 but I haven’t experienced any problems…
It may take some time (few minutes on my rPi3) after first service start for the UIs to come up
What is the output of your java -version command?
Also, try to start up OH2 by using /usr/share/openhab2/start_debug.sh to see if any additional info comes up.
First: systemctl stop openhab2 and then start_debug.sh
zulu does not fix it, same errors.
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (Zulu 8.21.0.1-linux64) (build 1.8.0_131-b11)
OpenJDK 64-Bit Server VM (Zulu 8.21.0.1-linux64) (build 25.131-b11, mixed mode)
openhab> list -s |grep paper
205 | Active | 80 | 0.9.0.201705120951 | Eclipse SmartHome Paper UI, Fragments: 225 | org.eclipse.smarthome.ui.paper
225 | Resolved | 80 | 2.1.0.201705212134 | openHAB Paper UI Theme Fragment, Hosts: 205 | org.openhab.ui.paperui
the active version is a different one, howto update ?
Just checking some stuff: Can you post the contents of your /var/lib/openhab2/etc/version.properties ?
The online-repo should be set to https://openhab.jfrog.io/openhab/online-repo-snapshot/2.1
Also, Access Remote Repository should be enabled in your system.
You could try the following (warning: this is a hack… take caution )
stop OH2
Delete files /var/lib/openhab2/tmp/mvn/org/eclipse/smarthome/extension/ui/org.eclipse.smarthome.ui.paper/0.9.0-SNAPSHOT/org.eclipse.smarthome.ui.paper-0.9.0-SNAPSHOT.jar /var/lib/openhab2/tmp/mvn/org/openhab/core/org.openhab.ui.paperui/2.1.0-SNAPSHOT/org.openhab.ui.paperui-2.1.0-SNAPSHOT.jar
Start OH2 and let it download and install from the online repo the latest versions of the jars…
(or grab them manually from here: Link1Link2)
I have no clue what is the root-cause of your problem and I don’t really recommend hacking the installation to fix it…
That’s correct for the /etc/apt/sources.list.d/openhab2.list file for apt-get commands (update/upgrade)
What about the entry for the online repo for addons on /var/lib/openhab2/etc/version.properties (should be: https://openhab.jfrog.io/openhab/online-repo-snapshot/2.1)
Something else is wrong then and it’s not being created…
I am lost I don’t know what to suggest
Maybe post some of the contents of the fileinstall-[...] and/or hs_err_pid[...] files?
To eliminate this possibility: Check permissions, available disk space, and similar stuff that would prevent openHAB2 to create the /var/lib/openhab2/tmp/mvn directory and subsequent subdirs within that…
permissions are ok openhab:openhab
diskspace also.
i have just cleared tmp folder
and this is the result after oh2 start
/var/lib/openhab2/tmp# ls
fileinstall-8738955009357315628 karaf.pid libNRJavaSerial_openhab_0 lock port
btw this is version.properties
openHAB Distribution Version Information
----------------------------------------
build-no : Build #925
online-repo : https://openhab.jfrog.io/openhab/online-repo-snapshot/2.1
Repository Version
----------------------------------------
openhab-distro : 2.1.0-SNAPSHOT
smarthome : 0.9.0-SNAPSHOT
openhab-core : 2.1.0-SNAPSHOT
openhab1-addons : 1.10.0-SNAPSHOT
openhab2-addons : 2.1.0-SNAPSHOT
karaf : 4.0.8
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fb530f41274, pid=1271, tid=0x00007fb537064700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_131-b11) (build 1.8.0_131-b11)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.131-b11 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [liballjoyn_java.so+0x107274] JBusAttachment::Disconnect()+0x4d4
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
and also
/var/lib/openhab2/kar/openhab-addons-2.1.0-SNAPSHOT/org/eclipse/smarthome/extension/ui/org.eclipse.smarthome.ui.paper/0.9.0-SNAPSHOT/org.eclipse.smarthome.ui.paper-0.9.0-SNAPSHOT.jar
yes karaf console etc. is working, i just realized that “Control” in paper ui is empty.
i see just right now, there must be something else wrong.
also the log files in /var/lib/openhab2/logs
latest written on 22.05.2017 20:58:56
events.log
openhab.log
no newer entries.
all the automatic is working fine rules sitemaps, also habpanel
log:tail in console has output
Can you skip the /var/lib/openhab2/ dir from your restore? (Put back only only /etc/openhab2/)
You will lose jsondb, habpanel and other configs like this.