openHAB 2.4 has been released!

After upgrade from 2.4 M8 using openhabian I lost access to karaf console - it do not accept password habopen. Tried to change password as described in doc - no result…
Any idea how to fix this?

2 reboots fixed the problem!

Thanks for all the hard work you guys put into this openHAB. Just getting started and struggling but will get there over time. Appreciate the work you guys are doing.

All, I’d suggest to open dedicated topics (or Github issues, if it is clearly a bug) for any kind of issue that you might come across - the announcement thread is imho no the best place for this!

Thanks a lot to all

thanx guys for your hard work.I have upgraded my 2.4 snapshot to 2.4 stable and the old mqtt binding is missing ,where can i find it so my switches work until i find the time to read more about the new mqtt binding?

See: MQTT Binding 2.4 - what changed? not working anymore - #8 by job

thnx mate that was easy,i will wait for a migration tutorial how to upgrade my sonoffs to the new binding.

1 Like

@Kai and all, this is awesome news! Congrats for the excellent work!

One question from my side: will the new version be included in a new openHABianPi image file that can be downloaded and installed fresh? At the moment the latest image is still the one from April.

Thanks in advance!

openHABian does not contain the openHAB package itself, it only downloads it during install - and yes, it will now download 2.4, without requiring a new image!

Oh sweet!! Good to know, thanks again!

Hi, thank you for the great work!

Trying to understand the mqtt binding too :frowning:

The documentation for this needs updating to state that MQTT is a breaking change, because it disables the legacy 1.x binding I had and installed the MQTT binding which broke everything. Took me a while to work this out!! Or if its not a breaking change, please mention there is intervention required.

A few users on the forum have encountered this.

2 Likes

Thanks for the hard work team.

Just a thought … It would be nice to have been warned about MQTT, and it would be nice to have a migration guide. I was struggling to get my head around how to get my system working again, but eventually discovered that if I enable Legacy 1.x bindings in PAPERUI/Configuration/System then it worked again.

1 Like

im getting the below errors after updating.

2018-12-20 18:20:44.779 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 3556 failed: null
2018-12-20 18:20:44.782 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: null
2018-12-20 18:22:49.896 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 3739 failed: null
2018-12-20 18:22:49.899 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: null
2018-12-20 18:24:21.156 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Startup.rules'
2018-12-20 18:24:23.949 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'Startup.rules'
2018-12-20 18:24:52.379 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'test.sitemap'
2018-12-20 18:24:53.587 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'test.sitemap'
2018-12-20 18:25:02.951 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 3890 failed: null
2018-12-20 18:25:02.955 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: null
2018-12-20 18:25:19.053 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 3909 failed: null
2018-12-20 18:25:19.057 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: null
2018-12-20 18:25:23.271 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 3912 failed: null
2018-12-20 18:25:23.276 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: null
2018-12-20 18:25:42.265 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 3916 failed: null
2018-12-20 18:25:42.269 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: null
2018-12-20 18:25:49.568 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 3967 failed: null
2018-12-20 18:25:49.572 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: null

Awesome!
That’s the ultimate Christmas present.
Thanks a lot guys and enjoy your holidays!

And remember to spend some time with the family to keep the WAF of openhab up un a certain level.
:rofl:

Yes, this is the case for all bindings for which a 2.x version becomes available. We probably should specifically list those in the release notes, you’re right. But the important info is that everyone can keep going using the old versions, so there is effectively no breaking change - only thing that needs to be done is to enable the legacy binding support.

Hi Kai, that to me is a breaking change because everyone, including myself had MQTT break.

Please please list this so others don’t fall into the trap!

2 Likes

I had openHAB 2.3.0 installed by just unzipping the archive. When I try to use the update script to bring it to 2.4.0, it wants root rights. Why?

I commented the root check, but that did not help, because it wants to execute the update script from 2.4.0 after download, which again has the root check.

How can I get around this? Or what is the update procedure for unzipped installations without the update script?

Thanks!

Edit:
I hacked around this and successfully updated to 2.4.0. Still would like to know why root is forced here.

I agree with Kris. If user does have to do something to restore what was previously working, even if it’s just 3 clicks, it is a breaking change. It would be a time saver if we could keep this in mind for the next releases. The mqtt change was quite a surprise for me because even as of 2.4 M5, the old plug-in was still there. I didn’t expect it to be dropped just within couple of short milestone builds.

Since the upgrade I get a lot of ThingAction errors:
I usually use this action to verify the online state of my main things

2018-12-21 09:18:28.713 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'OFFLINE check Syn Surveillance': The name 'ThingAction' cannot be resolved to an item or type; line 307, column 15, length 11
2018-12-21 09:18:28.714 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'OFFLINE check Harmony': The name 'ThingAction' cannot be resolved to an item or type; line 230, column 15, length 11
2018-12-21 09:18:28.724 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'OFFLINE check Dash2': The name 'ThingAction' cannot be resolved to an item or type; line 128, column 15, length 11
2018-12-21 09:18:28.745 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'OFFLINE check Berling': The name 'ThingAction' cannot be resolved to an item or type; line 190, column 15, length 11
2018-12-21 09:18:28.745 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'State check Volvo': The name 'ThingAction' cannot be resolved to an item or type; line 270, column 15, length 11
2018-12-21 09:18:28.792 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'OFFLINE check Buderus': The name 'ThingAction' cannot be resolved to an item or type; line 210, column 15, length 11
2018-12-21 09:18:28.813 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'OFFLINE check Dash1': The name 'ThingAction' cannot be resolved to an item or type; line 109, column 15, length 11
2018-12-21 09:18:28.808 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'OFFLINE check ZWave': The name 'ThingAction' cannot be resolved to an item or type; line 327, column 15, length 11
2018-12-21 09:18:28.814 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'OFFLINE check Amazon Account': The name 'ThingAction' cannot be resolved to an item or type; line 90, column 15, length 11
2018-12-21 09:18:28.823 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'OFFLINE check Dash3': The name 'ThingAction' cannot be resolved to an item or type; line 147, column 15, length 11
2018-12-21 09:18:28.862 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'OFFLINE check Netatmo Main Module': The name 'ThingAction' cannot be resolved to an item or type; line 250, column 15, length 11
2018-12-21 09:18:31.900 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'OFFLINE check Harmony': The name 'ThingAction' cannot be resolved to an item or type; line 230, column 15, length 11
2018-12-21 09:18:31.890 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'OFFLINE check Dash2': The name 'ThingAction' cannot be resolved to an item or type; line 128, column 15, length 11
2018-12-21 09:18:31.927 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'OFFLINE check Berling': The name 'ThingAction' cannot be resolved to an item or type; line 190, column 15, length 11
2018-12-21 09:18:31.940 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'State check Volvo': The name 'ThingAction' cannot be resolved to an item or type; line 270, column 15, length 11
2018-12-21 09:18:31.940 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'OFFLINE check Syn Surveillance': The name 'ThingAction' cannot be resolved to an item or type; line 307, column 15, length 11
2018-12-21 09:18:31.953 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'OFFLINE check ZWave': The name 'ThingAction' cannot be resolved to an item or type; line 327, column 15, length 11
2018-12-21 09:18:31.952 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'OFFLINE check Dash1': The name 'ThingAction' cannot be resolved to an item or type; line 109, column 15, length 11
2018-12-21 09:18:31.975 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'OFFLINE check Buderus': The name 'ThingAction' cannot be resolved to an item or type; line 210, column 15, length 11
2018-12-21 09:18:31.992 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'OFFLINE check Netatmo Main Module': The name 'ThingAction' cannot be resolved to an item or type; line 250, column 15, length 11
2018-12-21 09:18:32.002 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'OFFLINE check Dash3': The name 'ThingAction' cannot be resolved to an item or type; line 147, column 15, length 11
2018-12-21 09:18:32.010 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'OFFLINE check Amazon Account': The name 'ThingAction' cannot be resolved to an item or type; line 90, column 15, length 11

I did not find anything about a change in this regard.
An suggestion would be greatly appreciated.

EDIT:
I guess I found a suggestion and will verify:

EDIT 2:
That seems to have fixed the issue - Thanks @Kai