Can't open http://openhab link

Clean Official Ubuntu Server 16.04 LTS is off-mainstream?

I do everything in steps in the official instructions published here https://www.openhab.org/docs/installation/openhabian.html#other-linux-systems-add-openhabian-just-like-any-other-software

I’m trying to get it to work, but the openhabian is not working. And I do not know why.

By some miracle I guessed that I needed to install Java. I tried to find the Zulu package - but it simply does not exist. At least Google doesn’t know where to find it. So, I’m installed some another java. I’m not specialist in Java, so I installed what is in the Ubuntu packages.

Next, I’m trying to install Grafana, InfluxDB, MQTT from openhabian-config, but I only get errors or failure messages.

I asked for help, because the openhabian is so complex and incomprehensible that it is impossible for a simple devop (me) to install it correctly according to the instructions from the 15th attempt in 7 days.

In general, I always tried to figure it out myself, but in this case this is basically impossible.

So I just ask for help in launching this “spacecraft flight control system” openhabian.

Perhaps there is some detailed working instruction, where it is written - in what sequence and what to install (for example, where to get Zulu, at what stage to install, how and when to install Grafana, InfluxDB, etc.) ?

Your DNS stuff is off-mainstream for sure and heaven knows what else.
And you have to meet the prerequisites. Read the README and debug guide as I told you to.
Strictly speaking, Ubuntu also is not supported although in general it works fine to install there.
But stuff like DNS resolving and unfiltered Inet access is a must.
As I said go read the debug guide set e.g. debugmode=maximum in /etc/openhabian.conf then you’ll see every command, it’s all just scripts, maybe that helps you, but don’t expect support for an unsupported system.

I am using arbian based on Ubuntu 16.04 LTS so far it is working.

I would do one step after an other.
The source for openhabian-config is available on github. As you execute it you already have it on your system. Take the first error message that you get and search in the code for the error message. A few lines above there must be a statement that checks for an error code or any other condition. This should indicate the item that needs to be fixed.
As already mentioned there is a guidline for how to debug the stuff ( haven’t done that as I like to have a look to the source code ).

As there are different versions of java be careful just taking one version.
I did not check all the details but as far as I can see also java can be installed by using openhabian-config. In the installation does not work you can have a look into the source to check where it’s taken from.

I am using the Grafana, InfluxDB package that is provided by Ubuntu 16.04. This is not the latest, greatest version as you would get by using openhabian-config. E.g. for Debian stretch based system this is or at least was a problem as the latest version use newer glibc versions. This will also happen vor 16.04 once the development is being done with a higher glibc version which will come as 20.04 is available.

Zulu ( java in general ) is a prerequisite; openhab can’t be started without java.
So that’s required before openhab to be started ( installed ).
Grafana, InfluxDB are optional. You need them to get persistence. Start first getting a running system; then add other optional stuff.

That’s how I understand how it works and how I would solve the problems. Of course there are other ways.

Your DNS stuff is off-mainstream for sure and heaven knows what else.

So, I’m try using 8.8.8.8 for next setup.

I go around all the restrictions within the country through dozens of VPNs working within BGP announcements, so the Internet has no restrictions.

Okay, guys. Thanx you all.

Now I’m start with Ubuntu 20.04 LTS.

So, I’m installing Ubuntu 20.04 LTS.
Next - I’m trying to install Azul Java (Zulu-8).
And than I’m ask you all - what I’m must do next…

After installing Java, follow the docs for packet installation of openHAB on linux…

Oh guys, I can’t install Ubuntu 20.04 because is only 64 bit.

But I need 32 bit. What I can do next?

Ubuntu page shows 32bit version as well

32bit for RPi…
But I prepared for this task Hewlett-Packard HP t5740e.

This computer has only 2 gigabytes of memory on board and 32-bit software will work with memory much more economically.

You are confusing me now.
Your first post said installing on a raspberry Pi, now you want to use a different machine ?
You should be able to find a 32bit version on Ubuntu pages as well.

Yes indeed.

First, I installed openHAB2 on HP (Ubuntu 16.04.6) and I started having the above problems. I thought - probably on Ubuntu normally will not work.

I took one of my RPi3, and installed openHABian with “openhabian-pi-raspbian-201908050414-gitca0976f-crc6a66b5a1.img” on it - but it had exactly the same problems.

Nothing worked, although I put the official supported image on the officially supported hardware. I realized that the software out of the box does not work anywhere.

I thought that since the problems are the same on HP with Ubuntu and on RPi3 with official image, then I can trying solve these problems on HP, because I need RPi3 for other tasks…

It works fine with almost anyone. The problem isn’t in the software but in your environment hence changing boxes will not help either.
Take care to match the prerequisites and use debugmode=maximum as I told you.

I can confirm, openHAB just runs fine on Ubuntu.
My productive system runs on Ubuntu 16.04 LTS on Intel NUC and I have several virtual machines with Ubuntu 18.04, 19.04 and 20.04LTS on my Proliant server, no issues.

I did not find any prerequisites for the use of openHABian on RPi3. At least in the instruction (https://www.openhab.org/docs/installation/openhabian.html#raspberry-pi-prepackaged-sd-card-image) they are not. Can you tell me what prerequisites should be met to use openHABian image on RPi3 out the box?

I can now record the image on a flash drive, turn on RPI - and show you that nothing works.
Moreover, I can give you direct access via IPv6 to this raspberry - and you will see that nothing works out of the box.

WOW! This is exactly what I need!
Please tell me what and in what sequence I need to install on Ubuntu 16.04 so that the openHAB2 is installed and working correctly?

Okay, start from the beginning

Install Ubuntu on your HP, still would advise to use 20.04LTS
Second, Install Azul Java 8 (Zulu-8)
Read the openHAB docs for packet installation on Linux, add the repositorys to your system.
Apt-get install openHAB2
Start and give it some time to finish downloading necessary packages.
open ip-of-your-hp:8080 to get to the dashboard.
Chose package to install, recommended is standard.
Give it some Time to download further packages.
Opening the dashboard again should now show you PaperUI

Sorry, it’s in the debug guide. Link see my post #22 .

Tough cookie. :roll_eyes: I just tested it for you:

And voilá:

In conclusion:
There’s no problem with openhabian in combination with Ubuntu.
Neither is with Raspberry since i did this a couple of times already and probably 80% of the users running openHAB
There must be something wrong with your system at all or you didn’t follow the steps above

And if you accidentally skipped the initial setup, don’t worry:

QIP Shot - Screen 273

I installed Ubuntu 16.04.
I unpacked and screwed Zulu-8.
Did as you write - the result you see.
What am I doing wrong?

Now trying this method:

Because this

not work for me.