Problems after Update manual installation

Hi,
I tried to update my manual installation. I used the published documentation with the necessary commands. After all commands wee submitted my openhab service will not start again. I have no access to web ui.

Following log is for you.

After reboot service and reboot pi
==================================

pi@raspberrypi:~ $ sudo systemctl status openhab2.service
* openhab2.service - The openHAB 2 Home Automation Bus Solution
   Loaded: loaded (/lib/systemd/system/openhab2.service; enabled)
   Active: active (running) since Fr 2017-02-03 16:48:15 CET; 334ms ago
     Docs: http://docs.openhab.org
  Process: 17186 ExecStop=/bin/kill -SIGINT $MAINPID (code=exited, status=1/FAIL URE)
 Main PID: 17189 (karaf)
   CGroup: /system.slice/openhab2.service
           |-17189 /bin/bash /opt/openhab2/runtime/bin/karaf server
           |-17212 /bin/bash /opt/openhab2/runtime/bin/karaf server
           |-17213 /bin/bash /opt/openhab2/runtime/bin/karaf server
           |-17214 /bin/bash /opt/openhab2/runtime/bin/karaf server
           |-17229 /bin/bash /opt/openhab2/runtime/bin/karaf server
           |-17234 /bin/bash /opt/openhab2/runtime/bin/karaf server
           |-17239 /bin/bash /opt/openhab2/runtime/bin/karaf server
           |-17245 /bin/bash /opt/openhab2/runtime/bin/karaf server
           |-17250 /bin/bash /opt/openhab2/runtime/bin/karaf server
           |-17259 /bin/bash /opt/openhab2/runtime/bin/karaf server
           `-17264 /bin/bash /opt/openhab2/runtime/bin/karaf server

Feb 03 16:48:15 raspberrypi systemd[1]: Starting The openHAB 2 Home Automati....
Feb 03 16:48:15 raspberrypi systemd[1]: Started The openHAB 2 Home Automatio....
Feb 03 16:48:15 raspberrypi start.sh[17189]: Launching the openHAB runtime...
Hint: Some lines were ellipsized, use -l to show in full.

After cold reboot
=================

pi@raspberrypi:~ $ sudo systemctl status openhab2.service
* openhab2.service - The openHAB 2 Home Automation Bus Solution
   Loaded: loaded (/lib/systemd/system/openhab2.service; enabled)
   Active: active (running) since Fr 2017-02-03 16:53:14 CET; 1s ago
     Docs: http://docs.openhab.org
  Process: 4582 ExecStop=/bin/kill -SIGINT $MAINPID (code=exited, status=1/FAILURE)
 Main PID: 4585 (karaf)
   CGroup: /system.slice/openhab2.service
           |-4585 /bin/bash /opt/openhab2/runtime/bin/karaf server
           |-4720 /bin/bash /opt/openhab2/runtime/bin/karaf server
           |-4721 /usr/bin/java -version
           |-4722 grep -E "([0-9].[0-9]\..*[0-9]).*"
           |-4723 awk {print substr($3,2,length($3)-2)}
           |-4724 awk {print substr($1, 3, 3)}
           `-4725 sed -e s;\.;;g

Feb 03 16:53:14 raspberrypi systemd[1]: Starting The openHAB 2 Home Automati....
Feb 03 16:53:14 raspberrypi systemd[1]: Started The openHAB 2 Home Automatio....
Feb 03 16:53:14 raspberrypi start.sh[4585]: Launching the openHAB runtime...

retry after few minutes
=======================

pi@raspberrypi:~ $ sudo systemctl status openhab2.service
* openhab2.service - The openHAB 2 Home Automation Bus Solution
   Loaded: loaded (/lib/systemd/system/openhab2.service; enabled)
   Active: active (running) since Fr 2017-02-03 16:56:42 CET; 1s ago
     Docs: http://docs.openhab.org
  Process: 14242 ExecStop=/bin/kill -SIGINT $MAINPID (code=exited, status=1/FAILURE)
 Main PID: 14245 (karaf)
   CGroup: /system.slice/openhab2.service
           |-14245 /bin/bash /opt/openhab2/runtime/bin/karaf server
           |-14354 /usr/bin/java -version
           `-14355 grep ^IBM

Feb 03 16:56:42 raspberrypi systemd[1]: Started The openHAB 2 Home Automatio....
Feb 03 16:56:42 raspberrypi start.sh[14245]: Launching the openHAB runtime...
Hint: Some lines were ellipsized, use -l to show in full.

What is wrong in my system now? Are there any hints for me?
Thanks in advance.

Any hints from the community today?!

I had a similar problem and found extra details when checking the journal entries for the service. What output do you get from this command;

journalctl _PID=14245

This is my output of my service today. At the end I’ve testet the journal command.

pi@raspberrypi:~ $ sudo systemctl status openhab2.service
* openhab2.service - The openHAB 2 Home Automation Bus Solution
   Loaded: loaded (/lib/systemd/system/openhab2.service; enabled)
   Active: active (running) since Sa 2017-02-04 12:15:12 CET; 1s ago
     Docs: http://docs.openhab.org
  Process: 24068 ExecStop=/bin/kill -SIGINT $MAINPID (code=exited, status=1/FAILURE)
 Main PID: 24071 (karaf)
   CGroup: /system.slice/openhab2.service
           |-24071 /bin/bash /opt/openhab2/runtime/bin/karaf server
           |-24206 /bin/bash /opt/openhab2/runtime/bin/karaf server
           |-24207 /usr/bin/java -version
           |-24208 grep -E "([0-9].[0-9]\..*[0-9]).*"
           |-24209 awk {print substr($3,2,length($3)-2)}
           |-24210 awk {print substr($1, 3, 3)}
           `-24211 sed -e s;\.;;g

Feb 04 12:15:12 raspberrypi systemd[1]: Starting The openHAB 2 Home Automati....
Feb 04 12:15:12 raspberrypi systemd[1]: Started The openHAB 2 Home Automatio....
Feb 04 12:15:12 raspberrypi start.sh[24071]: Launching the openHAB runtime...
Hint: Some lines were ellipsized, use -l to show in full.
pi@raspberrypi:~ $ journalctl _PID=24068
No journal files were found.
pi@raspberrypi:~ $ journalctl _PID=14245
No journal files were found.
pi@raspberrypi:~ $ journalctl _PID=24071
No journal files were found.

Does somebody has any idea? I dont wat to make a clean install again

No final idea from the community? I used the offical procedure to update my system to the latest snapshot.

Manual upgrade? (using: http://docs.openhab.org/installation/linux.html#upgrade-backup-and-restore ?)

Try to start OH2 manually, using: /opt/openhab2/start_debug.sh and post the outcome to check.

I have the same problem with the installation on my Pi. The start with the script under /usr/share/openhab2/start_debug.sh says not very much:

Launching the openHAB runtime...
Listening for transport dt_socket at address: 5005

And then i stops there.

OK i managed it. On my raspberry Pi, I installed the java sdk manually and then reinstall openhab2.
And now it works like a charm.