PINE64

Full Version: [solved] Openhab not starting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi all

Got my pine this week and downloaded the current openhab image today. Copying to SD worked great (dd in Linux) and pine starts up fine. 

Openhab is not started though so i tried to manually start it again. Still nothing. Here is the output from the status command
Code:
openhab.service - Starts and stops openHAB   Loaded: loaded (/lib/systemd/system/openhab.service; enabled; vendor preset: en
   Active: inactive (dead) since Sat 2016-06-18 20:39:54 UTC; 10min ago
     Docs: http://www.openhab.org
  Process: 1999 ExecStart=/opt/openhab/start.sh (code=exited, status=0/SUCCESS)
 Main PID: 1999 (code=exited, status=0/SUCCESS)
 
Jun 18 20:39:54 openhab systemd[1]: Started Starts and stops openHAB.
Jun 18 20:39:54 openhab start.sh[1999]: Launching the openHAB runtime...

The log folder under userdata doesn't even exist. Don't know where to start looking. Any ideas? 

Thanks
Could you try to manually start it in the foreground, i.e run start.sh in /opt/openhab?
Already tried that, doesn't work. I think I didn't get any output if I remember correctly. Will post the details once I'm back home.
Also looked into start.sh and saw that it starts the executable karaf. Tried to start that diretly too without luck.
16 Gb img of OpenHub by any chance ? - if yes, then I heard reports that the img is broken. Try the 8Gb img then.
(06-20-2016, 04:53 AM)Luke Wrote: [ -> ]16 Gb img of OpenHub by any chance ? - if yes, then I heard reports that the img is broken. Try the 8Gb img then.

Just had to check: Yes, 16 Gb! By broken you mean it starts but the openhab installation is broken on it?
Will first try the 8 Gb version before spending too much time analyzing the problem. Thanks for the heads up!
(06-20-2016, 11:40 AM)socken23 Wrote: [ -> ]
(06-20-2016, 04:53 AM)Luke Wrote: [ -> ]16 Gb img of OpenHub by any chance ? - if yes, then I heard reports that the img is broken. Try the 8Gb img then.

Just had to check: Yes, 16 Gb! By broken you mean it starts but the openhab installation is broken on it?
Will first try the 8 Gb version before spending too much time analyzing the problem. Thanks for the heads up!

By broke I mean that ItsDave (from IRC) tried the 16Gb img and it didn't work for him. He later downloaded the 8Gb image and had no issues with it... not exactly a technical explanation I know, but it seems like the 16Gb is somehow affected.
(06-20-2016, 12:12 PM)Luke Wrote: [ -> ]
(06-20-2016, 11:40 AM)socken23 Wrote: [ -> ]
(06-20-2016, 04:53 AM)Luke Wrote: [ -> ]16 Gb img of OpenHub by any chance ? - if yes, then I heard reports that the img is broken. Try the 8Gb img then.

Just had to check: Yes, 16 Gb! By broken you mean it starts but the openhab installation is broken on it?
Will first try the 8 Gb version before spending too much time analyzing the problem. Thanks for the heads up!

By broke I mean that ItsDave (from IRC) tried the 16Gb img and it didn't work for him. He later downloaded the 8Gb image and had no issues with it... not exactly a technical explanation I know, but it seems like the 16Gb is somehow affected.

Answer enough  Wink Will try it and report back when I've got the time to test it. Thanks!
: Yes, you were right! The 8Gb version works out-of-the-box

: Are you also involved in preparing these images? Maybe you can check the 16Gb version. Although, are these images fundamentally different? According to the wiki page, you execute resize_rootfs.sh anyway after the first startup so what's the difference between using the 8Gb image with the resize command and using the 16Gb image?

Anyway, thanks a lot, problem solved
Glad I could help. Now, see if you can expand the size of the img ( does it come with the resize script ? )
Yes, calling resize_rootfs.sh as root works perfectly.
Pages: 1 2