Browser fails to reach openHAB after install

Yes

I entered http:\192.168.1.100:8080
“Site cannnot be reached.”

I have putty

What is the port number please?
I can also attach a monitor and display.

Thanks

If you really entered this it would not work…

Needs http://192.168.1.100:8080

If it doesn’t work ssh in or connect monitor.

1 Like

I entered 192.168.1.100:8080 into putty IP address and kept default port set at 22, tried same IP and set port to 8080 also and the result was failure to connect.

Connected my display and keyboard to the Raspberry and got a blank screen when I hit enter and cycled Rasp power.

Was successful at SSH into the pi using 192.168.1.100 and default channel and this was the result:

login as: openhabian
openhabian@192.168.1.100’s password:
Linux openhab 4.19.57-v7l+ #1244 SMP Thu Jul 4 18:48:07 BST 2019 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
openhabian@openhab:~ $

Is this helpful?
What do I do from here?

Just to review my ethernet setup. Browser is Crome, connected to both ethernet and wifi. I tried dropping Wifi but made no difference.

Thanks
Jim

Sorry I meant 192

Jim

Try using http://openhab:8080 or http://openhab.local:8080 and see if that works. Also this is a openHABian installation, please be sure to specify that in the thread title.

now that you were able to openssh you need to review the logs typically at ```
sudo sh -c “echo ‘deb http://phoscon.de/apt/deconz
$(lsb_release -cs) main’ >
/etc/apt/sources.list.d/deconz.list”
/var/log/openhab2. In that directory you should see a log file if openhab2 is running.

you can also execute the command sudo systemctl status openhab2.

Lastly, http://192.168.1.100:8080 is what you type in the web browser what happens when you do that?

Seems like your installation hasn´t finished yet…
I´m just installing openhabian onto an Rpi4 myself, using SD card. Atm it has taken 20 minutes, and still not ready, (but its close now… I have a monitor connected to my Rpi4 so I can tell what happens).
I could ssh after aprox 5 minutes of the installing, and then I have the same result as you did get. Thats why I assume your installation isnt finished yet.

EDIT - Installation done. Took 40 minutes (yikes!!!)… openhab is available at http://IP:8080
(I never use the DNS name, as I´m used to IP adresse… they tend to work :slight_smile: ).

It may be caused by the fact the current release image for openHABian is not working perfectly as there have been a number of breaking changes since it was made. We are working on a new image now.

As a temporary solution you could try using the image provided at https://github.com/openhab/openhabian/actions/runs/183061807

1 Like

Ahmmm… Thats hopefully not true??? I have been struggling for quite a few days with my test setup… I just dumped my setup on my SSD drive and is installing yet a fresh image copy on a SD.
And now you tell me, this may be a known issue for the openhabian image :unamused:

If there are issues with the image, it should NOT be available, in my opinion.

We know, and have been trying to work to fix it ASAP.

@mstormi I think we may need to stop waiting for Holger and create a new image with what we have and then when offline and all related patches are ready make either a patch release or new release.

Which I truely appreaciate.
In the mean time… Which version would be suitable for Rpi4, the 32bit or 64bit?

32bit, 64bit is in beta and not well tested.

I could give it a shot, if you want me to?

It should be perfectly stable, go ahead and see if it works for you and see if it installs correctly.

Btw will the .elf and .dat files be updated to boot from USB which is required for the latest EEPROM which enable USB boot on Rpi4 or do I still need to copy those manually?

RPi 4 USB boot is not supported with openHABian right now, if you want to go down that road you are on your own. My recommendation is to use an SD card and use Balena Etcher to write the image to it.

I didnt have patient, so I gave it a shot without copying the files…
It is actully boot fine, and is installing openhabian right now :smiley:

EDIT. and now its done its 1 time setup… Going to test it.

EDIT again:
Seems like its up running. But port 8080 as well as 9001 is not responding, (gets a connection refused). I can SSH fine though.

Using username "openhabian".
openhabian@10.4.28.127's password:
Linux openhab 5.4.42-v8+ #1319 SMP PREEMPT Wed May 20 14:18:56 BST 2020 aarch64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

Wi-Fi is currently blocked by rfkill.
Use raspi-config to set the country before use.


###############################################################################
###############  openhab  #####################################################
###############################################################################
##        Ip = 10.4.28.127
##   Release = Debian GNU/Linux 10 (buster)
##    Kernel = Linux 5.4.42-v8+
##  Platform = Raspberry Pi 4 Model B Rev 1.1
##    Uptime = 0 day(s). 0:14:46
## CPU Usage = 0% avg over 4 cpu(s) (4 core(s) x 1 socket(s))
##  CPU Load = 1m: 0.20, 5m: 0.59, 15m: 0.64
##    Memory = Free: 1.57GB (43%), Used: 2.12GB (57%), Total: 3.70GB
##      Swap = Free: 0.09GB (100%), Used: 0.00GB (0%), Total: 0.09GB
##      Root = Free: 101.11GB (96%), Used: 4.11GB (4%), Total: 109.74GB
##   Updates = 72 apt updates available.
##  Sessions = 1 session(s)
## Processes = 127 running processes of 32768 maximum processes
###############################################################################

              Welcome to            __  _____    ____  _
            ____  ____  ___  ____  / / / /   |  / __ )(_)___ _____
           / __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __  / / __ `/ __ \
          / /_/ / /_/ /  __/ / / / __  / ___ |/ /_/ / / /_/ / / / /
          \____/ .___/\___/_/ /_/_/ /_/_/  |_/_____/_/\__,_/_/ /_/
              /_/
                  openHAB 2.5.7-1 (Release Build)


Looking for a place to get started? Check out 'sudo openhabian-config' and the
documentation at https://www.openhab.org/docs/installation/openhabian.html
The openHAB dashboard can be reached at http://openhab:8080
To interact with openHAB on the command line, execute: 'openhab-cli --help'

[20:15:56] openhabian@openhab:~$

EDIT again.
I rebooted the system. And now I can access port 8080 and 9001. Things seems to be running.

Short update…
The Rpi4 runs way faster than ever with this 64bit opemhabian image… But using alot more memory due to 64bit ofcouse. (not sure if 64bit is really worth it).

Anyway, I installed a coupple of bindings, (system and ipcamera binding). And I installed FFMPEG to be used with the camera binding…
I had some issue with ipcamera binding (which I also had previously, so thats normal). I then stopped OH, cleaned cache and rebooted.
Everything came up running fine, except now the Frontail issue is now back. Frontail seems to be running, I just cant connect to it. After a few minutes of waiting, I suddenly can connect to it fine.

So, right now I have the exact same setup, and the exact same results I had previously,
Only change is, openhab seems to be running alot faster/smoother and using more memory due to the 64bit openhabian image.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.