New to Openhab…
Trying to install on a UBUNTU 18.04 LTS server and I can’t seem to be able to open the council using [ipaddrr]:8080 from my pc that i can SSH into the server from.
I have been using the openhabian install and spent hours this weekend trying to get it and no luck. Yes I did install zulu vs 8 (32bit) Java.
I am now wondering if i need to do a manual install as my server is not named openhab and there isn’t a user named openhab (even after openhabian install).
I am new to UBUNTU (but used to do a lot of linux a long time ago) so I am not afraid to get my hands dirty. I plan on running a number of services from this server as I had a spare desktop laying around collecting dust that I thought could be put to good use as apposed to purchasing a pi.
Did you follow the manual instructions for openHABian? Clone the repo, run openhabian-config, and go through the menu options. NOTE: openhabian-config will install the correct Java for you.
When you use the manual install, it does not change the hostname. If you are on an RPi and use the SD card image install method, it names the machine openhabianpi.
great!
OpenHAB is running
now lets just solve the connection problem with the interface. How are you trying to connect to OpenHAB? Thru a device on the same network?
Then you haven’t installed openHABian. (NOTE: You can and I recommend that you should use openHABian on any Debian based Linux distro). You’ve just installed openHAB. That won’t change the host name. That won’t install anything else. It only installs OH.
Based on the error you are getting either your Java did not get installed correctly, you have installed the wrong Java runtime, or something else is broken with your OH install. I strongly recommend, especially since you are new to Linux, that you follow the manual instructions for installing openHABian. This will give you Java and OH correctly installed and configured on your Ubuntu server.
Actually it’s not.
This means it’s stuck in a restart loop. OH is trying to start, failing to start, and systemd is trying to start it again.
This also tells use that it failed with a status code of 1. I’m not sure what that means but anything besides 0 is an error.
There is not enough in the logs here to indicate that OH is even getting started so I’m going to guess that Java is messed up.
About a year and a half ago I started to setup openhab and created BKW. I didn’t have anything to use with it yet and repurposed the pi for another use.
Installed an ecobee4 last week and am going to start to install smart switches soon so I took an old pc and started to build out a server for Openhab. I forgot I created the first community account and created the BKW67 one. My post responding to a question above had links in it (direct output from the openhab command “sudo systemctl status openhab2” and the forum locked my account (still locked, which is fine) as I found my login credentials for my original BKW account, and was able to post the results using that account.