After upgrade from OpenHab 2.5 to 3: No ui access

Hi all,

I just upgraded from OH 2.5 to 3 using openhabian-config. I had no errors during the upgrade process. However, I cannot access the UI and my app can’t connect to OH either.

I searched the forum and found similar reports but none of the suggested tipps work for me.

sudo systemctl status openhab results in:

openhab.service - openHAB instance, reachable at http://openHABianDevice:8080
Loaded: loaded (/usr/lib/systemd/system/openhab.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/openhab.service.d
└─override.conf
Active: active (running) since Fri 2021-04-23 14:44:06 CEST; 1min 46s ago
Docs: Introduction | openHAB
https://community.openhab.org
Main PID: 4815 (java)
Tasks: 30 (limit: 2062)
CGroup: /system.slice/openhab.service
└─4815 /usr/bin/java -XX:-UsePerfData -Dopenhab.home=/usr/share/openhab -Dopenhab.conf=/etc/openhab -Dopenhab

Apr 23 14:44:06 openHABianDevice systemd[1]: Started openHAB instance, reachable at http://openHABianDevice:8080.
…skipping…
● openhab.service - openHAB instance, reachable at http://openHABianDevice:8080
Loaded: loaded (/usr/lib/systemd/system/openhab.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/openhab.service.d
└─override.conf
Active: active (running) since Fri 2021-04-23 14:44:06 CEST; 1min 46s ago
Docs: Introduction | openHAB
https://community.openhab.org
Main PID: 4815 (java)
Tasks: 30 (limit: 2062)
CGroup: /system.slice/openhab.service
└─4815 /usr/bin/java -XX:-UsePerfData -Dopenhab.home=/usr/share/openhab -Dopenhab.conf=/etc/openhab -Dopenhab

Apr 23 14:44:06 openHABianDevice systemd[1]: Started openHAB instance, reachable at http://openHABianDevice:8080.

I tried to change the port but it didn’t help. “Fix permissions” results in an error. But I can’t find out why.

Did anyone experience a similar behaviour? Any solutions? If you need more information please let me know.

Best, Max

About all we can tell is that openHAB is in fact running. You’ve not given us the error when trying to fix permissions. You’ve not given us any logs so the best we can offer is :man_shrugging:

The information you provided shows that OH is up since

this might not be long enough until all services are up and running.
As rikoshak wrote provide info from the openhab.log files.

It looked as if Openhab 2 was not uninstalled properly. I tried to apt purge and empty the cache. Even though it ended with an error message, I eventually got the web ui up and running after another install via openhabian-config. I guess I have run the whole process 5 times but now it seems to work.
Thanks for your help, @Wolfgang_S and @rlkoshak.