Openhab 3 problem

I used openhab 3 since feb '21, bevore oh2 (fresh install of oh3 without migration)
today i did an apt update and upgrade
oh3is installed on a ubuntu server on a intel nuc.
Now oh3 does not start but i stcuk in an oh 2.5.5 installation. I don’t know where it is coming from.
i tried to reinstall but the interesting thing is i always get the oh2 starting page at :8080
but i have not installed oh2.
Is anyone having the same issue?

apt-cache search openhab
openhab-addons - openhab-addons
openhab - openhab
openhab2-addons - openhab2-addons
openhab2-addons-legacy - openhab2-addons-legacy
openhab2 - openhab2
sudo apt-get purge openhab2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'openhab2' is not installed, so not removed

Thank you

Noone here is having f***ing issues, this is a civilized place.

If openhab2 ain’t installed and never was (you said “fresh install of oh3”) it cannot show up, are you sure you’re looking in the right place ?
If you want help you would need to elaborate on how you installed OH.

2 Likes

The *** issue is because nothing is working at my house… and i did nothing than a apt update.

It was a fresh install inclusive ubuntu server.
The confusing is that oh2 is showing up at apt-cache.
I installed oh3 as told in the tutorial. Adding the deb packages to package manager.

The other confusing thing is nodered is separate installed and lost all his data.

What tutorial ? There’s many. Again: if you want help, explain what exactly you did and be comprehensive in doing so. Mind this post.

How to ask a good question / Help Us Help You - Tutorials & Examples - openHAB Community

1 Like

There is exactly one official tutorial out openHAB on Linux | openHAB
I used that and it works :slight_smile:
I already purged openhab, added again the deb sources as described and installed oh3.
same issue. i stuck in oh2.

Please remove the curse words from your post or your post will be removed. While not many, we do have minors and other users who are sensitive to such language on this forum. We want to welcome all users.

Which repo did you add? The release repo includes previous releases of OH too I believe. So there is no reason to be confused by openhab2 being in apt-cache.

You’ve really provided not nearly enough details.

OH 3 was “completely destroyed” how? It’s simply not working? The folders are gone? What’s the output from systemctl when OH is started? What’s the contents of /var/lib/openhab/etc/versions.properties (or something like that)?

Did you ever fix the version of openHAB in apt? What’s the output from apt-cache policy openhab?

What do you see in openhab.log?

That’s unrelated to anything openHAB but it does point to you’re having a problem that is outside of openHAB so we will be powerless to help if that’s the case. There is something more fundamental going on.

sure that you are doing the install on the right machine ?
The OH2 shown in your screenshot is 2.5.5 I doubt that this is still offered by official channels.
So my conclusion - which might be wrong - is that either you have different machines or the install is not done by apt by e.g. a tar file.

ouput of apt-cache policy

apt-cache policy openhab
openhab:
  Installed: 3.1.0~M5-1
  Candidate: 3.1.0~M5-1
  Version table:
     3.1.0~M5-1 500
        500 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing/main a                     md64 Packages
     3.1.0~M4-1 500
        500 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing/main a                     md64 Packages
     3.1.0~M3-1 500
        500 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing/main a                     md64 Packages
     3.1.0~M2-1 500
        500 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing/main a                     md64 Packages
     3.1.0~M1-1 500
        500 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing/main a                     md64 Packages
     3.0.2-1 500
        500 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing/main a                     md64 Packages
        500 https://dl.bintray.com/openhab/apt-repo2 stable/main amd64 Packages
     3.0.1-2 500
        500 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing/main a                     md64 Packages
        500 https://dl.bintray.com/openhab/apt-repo2 stable/main amd64 Packages
     3.0.0-1 500
        500 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing/main a                     md64 Packages
        500 https://dl.bintray.com/openhab/apt-repo2 stable/main amd64 Packages

systemctl shows openhab.service

I think I had some bugs inside the whole system. I did a fresh installation and now i will use docker images for openhab and nodered.

Thank you