We have published a Release Candidate of openHAB 2.0.0 on Bintray and via APT repo.
Please help testing it - if you come across critical or blocking issues with it, please report them asap.
The focus should be on the core runtime/distro - it is clear that different add-ons have different levels of quality and some are still buggy and under heavy development; I plan to do 2.0.x patches regularly, which will automatically become available to the 2.0.0 distro. Likewise, new bindings (that are still in the review queue and not yet merged), will be added regularly and become available to all users.
UPDATE: What I had forgot to mention: Major work is being put into the documentation, but as this is a huge topic, we require your help! If everybody from the experienced openHAB users could pick one of these open documentation issues,, we could be sure to have decent documentation ready for the launch of openHAB 2! So please help us as good as you can.
Just a note for other Bintray Repo users: Use the openHAB 2 Beta Release (not snapshot) Repository to access the OH2RC1 Release (deb http://dl.bintray.com/openhab/apt-repo2 testing main)
For Linux: You can still use the Bintray Repo and grab the addons using apt-get as @Benjy explains in this post:
I have moved away from the Jenkins (APT) Repo and on to the Bintray Repo since last week so I am not sure about Jenkins… it should work in the same way
Here is my report after installing and testing openHAB 2.0 RC1.
Except few non blocking issues that only occurs after the initial startup, this version is working well for me.
The only issue I can mention concerns only the first startup of openHAB that does not lead to what you have setup in your file addons.cfg. My addons.cfg file contains this:
package = standard
remote = false
ui = paper,basic,classic
After the first startup and after waiting a certain amount of time, HABpanel was installed and Classic UI was not, which is not what I requested. An issue was already opened for that issue. Note that after a restart of openHAB, then HABpanel is uninstalled and Classic UI is installed.
Just after the first startup, I can see another strange thing, in Paper UI, “Access Remote Repository” is ON while I asked it to be OFF in addons.cfg. One time again, restarting openHAB solved this issue.
So, you have just to know that the first time you start openHAB, we will not have exactly what you expect but you will have it after a restart.
Other minor thing: I can find such log entries in my file events.log while I would expect them more in openhab.log. Is it expected ?
2017-01-17 19:33:22.018 [ExtensionEvent ] - Extension 'binding-hue' has been installed.
2017-01-17 19:33:22.081 [ExtensionEvent ] - Extension 'voice-voicerss' has been installed.
2017-01-17 19:33:22.092 [ExtensionEvent ] - Extension 'binding-weather1' has been installed.
2017-01-17 19:33:22.111 [ExtensionEvent ] - Extension 'transformation-regex' has been installed.
I just install OH2RC1 on Windows and I don’t get this log subdirectory… just the normal logs one.
From what I see, these are ExtensionEvent type, so it seems normal to appear in the event.log
Anyway, I think (imho) that we should use/open new threads for issues and put in the title the version that we are running (e.g. OH2RC1). This thread is for the major announcement of OH2RC1, so I propose to keep it clean
Hi All
I try to install openhab2 RC1 via apt on RP2 but when I run systemctl start openhab2 i get only
root@raspberrypi:/opt# systemctl status openhab2
â—Ź openhab2.service - LSB: openHAB2 server
Loaded: loaded (/etc/init.d/openhab2)
Active: active (exited) since Wed 2017-01-18 16:54:12 UTC; 1min 4s ago
Process: 2435 ExecStart=/etc/init.d/openhab2 start (code=exited, status=0/SUCCESS)
Jan 18 16:54:12 raspberrypi openhab2[2435]: Starting openHAB2 server: openhab2.
Jan 18 16:54:12 raspberrypi systemd[1]: Started LSB: openHAB2 server.
Jan 18 16:55:00 raspberrypi systemd[1]: Started LSB: openHAB2 server.
and I can’t connect to server on port 8080
when I manually run start.sh from /usr/share/openhab2 i get error
Error occurred shutting down framework: java.io.FileNotFoundException: /var/lib/openhab2/etc/custom.properties (No such file or directory)
java.io.FileNotFoundException: /var/lib/openhab2/etc/custom.properties (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at java.io.FileInputStream.(FileInputStream.java:93)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
at org.apache.karaf.util.config.PropertiesLoader.loadPropertiesFile(PropertiesLoader.java:150)
at org.apache.karaf.util.config.PropertiesLoader.loadIncludes(PropertiesLoader.java:190)
at org.apache.karaf.util.config.PropertiesLoader.loadPropertiesFile(PropertiesLoader.java:173)
at org.apache.karaf.util.config.PropertiesLoader.loadConfigProperties(PropertiesLoader.java:71)
at org.apache.karaf.main.ConfigProperties.(ConfigProperties.java:205)
at org.apache.karaf.main.Main.updateInstancePidAfterShutdown(Main.java:226)
at org.apache.karaf.main.Main.main(Main.java:191)
I think I just installed it from the previous beta5 version but I am not quite sure it worked because after installing (all scripts looked ok) when I type the following command:
ssh openhab@localhost -p 8101
with password habopen
I get the following:
__ _____ ____
____ ____ ___ ____ / / / / | / __ )
/ __ / __ / _ / __ / // / /| | / __ |
/ // / // / __/ / / / __ / ___ |/ // /
_/ ./_// /// /// |/_____/
/_/ 2.0.0.b5
Release Build
It is normal? it there another way to check the version that is installed?
No. You are currently on the Snapshot (#693) version
To switch from Snapshot versions to the testing versions (Beta, Release Candidate) you need to use another apt package repository.
Follow these instructions to go from Snapshot to RC1 (they also apply to your case):
(before, you need to switch repositories by modifying /etc/apt/sources.list.d/openhab2.list and using the testing repo):
you could stay on the snapshot apt repository and perform an upgrade to get the latest snapshot
Make sure that you have switched to the new bintray snapshot repo (don’t use the older snapshot apt repository at cloudbees)
I am also stuck on b5 somehow. My /etc/apt/sources.list.d/openhab2.list contains the right path but during the apt-get update it seems to be ignored and does not show the full path with */openhab/apt-repo2:
Make sure that your /etc/apt/sources.list.d/openhab2.list file contains only 1 line: deb http://dl.bintray.com/openhab/apt-repo2 testing main
Make sure that you have added the openHAB 2 Bintray repository key: wget -qO - 'https://bintray.com/user/downloadSubjectPublicKey?username=openhab' | sudo apt-key add -
apt-get clean, then apt-get update and then apt-get upgrade