Openhab2 stable or beta?

Seems a little undocumented… Openhab2 is in beta stage
So for point 3

To install a beta releases use:
echo 'deb testing main' | sudo tee      /etc/apt/sources.list.d/openhab.list
For stable releases use:
echo 'deb stable main' | sudo tee /etc/apt/sources.list.d/openhab.list

Is beta for the nightly builds or?
Which one to prefer in this case?

openHAB 2 is indeed in beta. I believe your guess is correct, the “beta” repo is the nightlies or at least pretty recent and the stable is the Beta Release 3 version from a couple of weeks ago.

Once OH 2 is fully released this will change and the stable will be the most recent full release and the beta channel will be for the next version currently under test.

Is updating of nightly builds via apt working for anybody? I installed OH2 via apt on Sunday and added the testing string to openhab.list:

'deb testing main'

sudo apt-get update |grep bin Ign testing InRelease Get:1 testing Release.gpg [821 B] Get:2 testing Release [6.052 B] Get:3 testing/main amd64 Packages [508 B] Get:4 testing/main i386 Packages [508 B] Ign testing/main Translation-en_US Ign testing/main Translation-en jkling@Pollux-OH2:/usr/share/openhab2/runtime/karaf/etc$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages have been kept back: linux-generic linux-headers-generic linux-image-generic 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. jkling@Pollux-OH2:/usr/share/openhab2/runtime/karaf/etc$

So according to apt everything seems to be up to date. However Karaf still shows the beta3 version:

161 | Active | 90 | 2.0.0.b3 | openHAB Core

So for me it looks like “testing” is beta. But I hope to be wrong and there is a way to get nightly updates via apt. Any ideas?

Actually upon further looking I think I’m mistaken. The Stable directories are currently not populated and the Beta only has the current stable release which is beta3. Once OH 2 goes to a full release the stable directories will become populated and the beta directories will be for testing the next release.

If you want the nightlies you need to download them from cloudbees.

In github @theo wrote:

You can test the current snapshot of the offline distribution by adding this line to your apt-sources:

deb /

or the online distribution by adding that line:

deb /

I changed this in my apt-sources but also had to perform a

sudo apt-get install openhab2-online=2.0.0~SNAPSHOT

Now it looks like the cloudbees version is used.

So the

deb testing main

will not get updated until OH2 b4? Any timeframe for this?

And to switch to nightly builds all is needed - edit the /etc/apt/sources.list.d/openhab.list
substitutuing bintray repo for cloudbees and than running

sudo apt-get install openhab2-online=2.0.0~SNAPSHOT

Or it’s bettter to remove OH2 before that?


for me that’s also interesting. And once OH2 gets released, can I simply update the beta to the release version without loosing the configuration?