Platform information - capable to run OH 2.5, java 11 openjdk, OS debian
java --version
openjdk 11.0.9.1 2020-11-04
OpenJDK Runtime Environment (build 11.0.9.1+1-post-Debian-1deb10u2)
OpenJDK Server VM (build 11.0.9.1+1-post-Debian-1deb10u2, mixed mode, sharing)
=======================================================
/var/log/openhab/openhab.log:
OH3 starting, running, after change to repo with OH3 stable still on:
Dec 22 07:59:00 debian-4 systemd[1]: Started openHAB - empowering the smart home.
root@debian-4:/home/mlody# tail -f /var/log/openhab
openhab/ openhab2/
root@debian-4:/home/mlody# tail -f /var/log/openhab/
openhab.log Readme.txt
root@debian-4:/home/mlody# tail -f /var/log/openhab/openhab.log
Dec 22, 2020 7:59:05 AM org.apache.karaf.main.Main launch
INFO: Installing and starting initial bundles
Dec 22, 2020 7:59:06 AM org.apache.karaf.main.Main launch
INFO: All initial bundles installed and set to start
Dec 22, 2020 7:59:06 AM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Trying to lock /var/lib/openhab/tmp/lock
Dec 22, 2020 7:59:06 AM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Lock acquired
Dec 22, 2020 7:59:06 AM org.apache.karaf.main.Main$KarafLockCallback lockAcquired
INFO: Lock acquired. Setting startlevel to 100
OS cleaned atfer removing OH2.5/OH3.0 SNAPSHOT
OH3 not starting, not listening on tcp port.
Full log from install to start:
root@debian-4:/home/mlody# apt-cache search openhab
openhab-addons - openhab-addons
openhab - openhab
openhab2-addons - openhab2-addons
openhab2-addons-legacy - openhab2-addons-legacy
openhab2 - openhab2
root@debian-4:/home/mlody# apt-get install openhab
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following NEW packages will be installed:
openhab
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 0 B/83.2 MB of archives.
After this operation, 94.0 MB of additional disk space will be used.
Selecting previously unselected package openhab.
(Reading database … 39279 files and directories currently installed.)
Preparing to unpack …/openhab_3.0.0-1_all.deb …
Unpacking openhab (3.0.0-1) …
Setting up openhab (3.0.0-1) …
[openHAB] openHAB was not running so will not start after upgrade.
[openHAB] Please use the command:
sudo /bin/systemctl start openhab.service
Processing triggers for systemd (241-7~deb10u5) …
root@debian-4:/home/mlody# systemctl status openhab
● openhab.service - openHAB - empowering the smart home
Loaded: loaded (/lib/systemd/system/openhab.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: https://www.openhab.org/docs/
https://community.openhab.org
Dec 22 07:15:30 debian-4 karaf[6842]: at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.asyncStop(EquinoxBundle.java:156)
Dec 22 07:15:30 debian-4 karaf[6842]: at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle.stop(EquinoxBundle.java:262)
Dec 22 07:15:30 debian-4 karaf[6842]: at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle.stop(EquinoxBundle.java:267)
Dec 22 07:15:30 debian-4 karaf[6842]: at org.eclipse.osgi.launch.Equinox.stop(Equinox.java:123)
Dec 22 07:15:30 debian-4 karaf[6842]: at org.apache.karaf.main.Main$2.run(Main.java:354)
Dec 22 07:15:30 debian-4 karaf[6842]: Caused by: java.util.concurrent.TimeoutException: Timeout after waiting 5 seconds to acquire the lock.
Dec 22 07:15:30 debian-4 karaf[6842]: at org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)
Dec 22 07:15:30 debian-4 karaf[6842]: … 5 more
Dec 22 07:15:36 debian-4 systemd[1]: openhab.service: Succeeded.
Dec 22 07:15:36 debian-4 systemd[1]: Stopped openHAB - empowering the smart home.
root@debian-4:/home/mlody# systemctl start openhab
root@debian-4:/home/mlody# systemctl status openhab
● openhab.service - openHAB - empowering the smart home
Loaded: loaded (/lib/systemd/system/openhab.service; disabled; vendor preset: enabled)
Active: active (running) since Tue 2020-12-22 07:59:00 CET; 1s ago
Docs: https://www.openhab.org/docs/
https://community.openhab.org
Main PID: 2165 (java)
Tasks: 17 (limit: 4764)
Memory: 23.6M
CGroup: /system.slice/openhab.service
└─2165 /usr/bin/java -XX:-UsePerfData -Dopenhab.home=/usr/share/openhab -Dopenhab.conf=/etc/openhab -Dopenhab.runtime=/usr/share/openhab/runtime -Dopenhab.userdata=/var/li
Dec 22 07:59:00 debian-4 systemd[1]: Started openHAB - empowering the smart home.
root@debian-4:/home/mlody# systemctl status openhab
● openhab.service - openHAB - empowering the smart home
Loaded: loaded (/lib/systemd/system/openhab.service; disabled; vendor preset: enabled)
Active: active (running) since Tue 2020-12-22 07:59:00 CET; 14s ago
Docs: https://www.openhab.org/docs/
https://community.openhab.org
Main PID: 2165 (java)
Tasks: 32 (limit: 4764)
Memory: 96.8M
CGroup: /system.slice/openhab.service
└─2165 /usr/bin/java -XX:-UsePerfData -Dopenhab.home=/usr/share/openhab -Dopenhab.conf=/etc/openhab -Dopenhab.runtime=/usr/share/openhab/runtime -Dopenhab.userdata=/var/li
Dec 22 07:59:00 debian-4 systemd[1]: Started openHAB - empowering the smart home.
root@debian-4:/home/mlody# tail -f /var/log/openhab
openhab/ openhab2/
root@debian-4:/home/mlody# tail -f /var/log/openhab/
openhab.log Readme.txt
root@debian-4:/home/mlody# tail -f /var/log/openhab/openhab.log
Dec 22, 2020 7:59:05 AM org.apache.karaf.main.Main launch
INFO: Installing and starting initial bundles
Dec 22, 2020 7:59:06 AM org.apache.karaf.main.Main launch
INFO: All initial bundles installed and set to start
Dec 22, 2020 7:59:06 AM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Trying to lock /var/lib/openhab/tmp/lock
Dec 22, 2020 7:59:06 AM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Lock acquired
Dec 22, 2020 7:59:06 AM org.apache.karaf.main.Main$KarafLockCallback lockAcquired
INFO: Lock acquired. Setting startlevel to 100