Can not access openhab

Hey guys,

Im installing open hab on a linux server edition OS. I want to install Lubuntu gui or some other light weight gui, but when ever i seem to do that its breaks openhab. this time it happened after running the command…

$ sudo apt update && sudo apt upgrade

Anyhelp would be great. Here are the links to the guides i used.

Thank you

Welcome to the community!

Seems you may be trying to run everything under the same user with sudo rights? You need to run OH as its own user.

Great response time. thank you

so i need to make a separate user from the one i made during the installation of ubunutu

I use Linux every day but I’m no Linux expert.:grin: Maybe @Bruce_Osborne can assist with users and privileges for what you’re trying to accomplish. By mentioning his name in this post hopefully he will jump in and save the day (he is/was? a linux administrator) .:crossed_fingers:

Have you read the documentation for installing OH? https://www.openhab.org/docs/installation/linux.html#package-repository-installation

Oh yes of course…just a thought…is thee is discord or any other place openhab peeps gather?

You can check out github https://github.com/openhab

Here you can search for issues just select which one is related to what your issue is.

Also try a search and you may find a tutorial that will help with proper setup.
https://community.openhab.org/search?q=install%20openhab%20on%20linux%20

Actually I was a UNIX (mainly Solaris) Administrator but currently dabble in Linux too since it is UNIX-like.
I can tell you the official instructions work well. You would trust somebody who cannot even spell install ?
. My main system is currently running Debian in a VM. I recommend using openHABian Linux install instructions to insure you have all the necessary dependencies.

I would install the GUI before installing openHAB.

1 Like

:crazy_face:

Thanks for jomping in.:rofl:

1 Like

I HATE it when I typo trying to correct somebody. :exploding_head:

1 Like

installed ubuntu server…added the gui…tried openhabian(which im not happy with) and got this

exburn@exhab:~/Desktop$ sudo systemctl status openhab2.service
● openhab2.service - openHAB 2 - empowering the smart home
   Loaded: loaded (/usr/lib/systemd/system/openhab2.service; enabled; vendor preset: enabled)
   Active: activating (auto-restart) (Result: exit-code) since Sat 2019-12-21 17:32:28 UTC; 3s ago
     Docs: https://www.openhab.org/docs/
           https://community.openhab.org
  Process: 6372 ExecStart=/usr/share/openhab2/runtime/bin/karaf ${OPENHAB_STARTMODE} (code=exited, status=1/FAILURE)
 Main PID: 6372 (code=exited, status=1/FAILURE)
exburn@exhab:~/Desktop$ sudo systemctl start openhab2.service
exburn@exhab:~/Desktop$ sudo systemctl status openhab2.service
● openhab2.service - openHAB 2 - empowering the smart home
   Loaded: loaded (/usr/lib/systemd/system/openhab2.service; enabled; vendor preset: enabled)
   Active: activating (auto-restart) (Result: exit-code) since Sat 2019-12-21 17:32:59 UTC; 2s ago
     Docs: https://www.openhab.org/docs/
           https://community.openhab.org
  Process: 6591 ExecStart=/usr/share/openhab2/runtime/bin/karaf ${OPENHAB_STARTMODE} (code=exited, status=1/FAILURE)
 Main PID: 6591 (code=exited, status=1/FAILURE)