[OH 2.4.0 M7] Testing Results

Thank you @Dim.

I have created a github issue and included your info from the chrome dev tools as well: https://github.com/openhab/openhab2-addons/issues/4302

1 Like

Same on S1445.

Also, M7 users that use the Hue Emulation binding will likely have some trouble. Here is a discussion post and an issue. Short version… groups can no longer be used, and people have reported issues discovering Items tagged Switchable.

1 Like

I cant even update to M7…
However I updated using openhabian-config and I now have the build #1447. But thats not the M7, right?

When I try to use apt-get in terminal, I get this error:

[20:34:07] openhabian@openHABianPi:~$ apt-get update && sudo apt-get install openhab2=2.4.0~M7-1
Reading package lists... Done
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
[20:34:14] openhabian@openHABianPi:~$

Seems like there is a problem with the Debian repo. openhab2-addons is still at M6 in https://dl.bintray.com/openhab/apt-repo2/dists/testing/main/binary-arm64/:Packages and actually I noticed right now that I’m running openhab2-addons M5 but openhab2 M6!!?? Seems like openhab2-addons is off by one in the repo metadata.

All the M7 packages are available though: https://dl.bintray.com/openhab/apt-repo2/pool/main/2.4.0~M7/

You need to run apt-get update as root also:

$ sudo apt-get update

I did… Doesn´t make any differences.

[20:52:51] openhabian@openHABianPi:~$ sudo apt-get update
Ign:1 http://repos.azulsystems.com/debian stable InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease
Hit:3 http://archive.raspberrypi.org/debian stretch InRelease
Hit:4 http://repos.azulsystems.com/debian stable Release
Hit:5 https://deb.nodesource.com/node_8.x stretch InRelease
Ign:6 https://dl.bintray.com/openhab/apt-repo2 testing InRelease
Hit:7 https://dl.bintray.com/openhab/apt-repo2 testing Release
Reading package lists... Done
[20:53:09] openhabian@openHABianPi:~$ apt-get update && sudo apt-get install openhab2=2.4.0~M7-1
Reading package lists... Done
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
[20:53:24] openhabian@openHABianPi:~$

forgot the first sudo

either 2 separate commands

sudo apt-get update
sudo apt-get install openhab2=2.4.0~M7-1

or all in 1 line (&& is for lazy people like me :slight_smile: )

sudo apt-get update && sudo apt-get install openhab2=2.4.0~M7-1

or even for more lazy:

sudo su

switch perma to root… be careful… with great power comes great responsibility :stuck_out_tongue:

Ok, let me try again. Just type this now:

$ sudo apt-get update && sudo apt-get install openhab2=2.4.0~M7-1

or just remove the apt-get update since you did it already:

$ sudo apt-get install openhab2=2.4.0~M7-1

correct
somehow the “normal” addons package was not build against M7
The legacy is there though :slight_smile:

Ahh ofcouse… Forgot sudo…
Seems like it´s doing somehting now :slight_smile:

by the way: if you were already at M6 (and using the testing repo), you could also use: sudo apt-get update && sudo apt-get upgrade (does the same thing)

Okay nice to know… I´m on my testing Rpi… My main Rpi is still on 2.3 stable… I´m thinking of trying M7 on it, but I still have a few doubts…

1 Like

It rather seems that the metadata are not updated correctly. Now I’m just getting the update to M6 for openhab2-addons and realizes that I have openhab2-addons M5 installed. However, if I look at PaperUI it shows me that I’m using M6 for all my bindings!!?? I guess this is because openHAB2 can download bindings automatically from the web. So my question is: do I need to install the openhab2-addons package at all???

not really.
I never do. I use the online repo to pull whatever binding I need (it’s automatically downloaded for you when you install the addon from PaperUI or place it in addons.cfg)

Just make sure that you have: PaperUI->Configuration->System->Add-on Management->Access Remote Repository enabled (it’s on by default)

1 Like

Note to @Benjy : can you please take a look when you can at the openhab2-addons_2.4.0~M7-1_all.deb package? it seems that we are missing it from the repo metadata. I only checked amd64 & arm64

root@rpi3:~# apt-cache madison openhab2-addons
openhab2-addons | 2.4.0~M6-1 | https://dl.bintray.com/openhab/apt-repo2/ testing/main armhf Packages
openhab2-addons | 2.4.0~M5-1 | https://dl.bintray.com/openhab/apt-repo2/ testing/main armhf Packages
openhab2-addons | 2.4.0~M4-1 | https://dl.bintray.com/openhab/apt-repo2/ testing/main armhf Packages
openhab2-addons | 2.4.0~M3-1 | https://dl.bintray.com/openhab/apt-repo2/ testing/main armhf Packages
openhab2-addons | 2.4.0~M2-1 | https://dl.bintray.com/openhab/apt-repo2/ testing/main armhf Packages
openhab2-addons | 2.3.0.RC1-1 | https://dl.bintray.com/openhab/apt-repo2/ testing/main armhf Packages
openhab2-addons |    2.3.0-1 | https://dl.bintray.com/openhab/apt-repo2/ testing/main armhf Packages
openhab2-addons | 2.3.0~RC2-1 | https://dl.bintray.com/openhab/apt-repo2/ testing/main armhf Packages
openhab2-addons | 2.3.0~RC1-1 | https://dl.bintray.com/openhab/apt-repo2/ testing/main armhf Packages
openhab2-addons |    2.2.0-1 | https://dl.bintray.com/openhab/apt-repo2/ testing/main armhf Packages
openhab2-addons |    2.1.0-2 | https://dl.bintray.com/openhab/apt-repo2/ testing/main armhf Packages
openhab2-addons | 2.0.0~RC1-1 | https://dl.bintray.com/openhab/apt-repo2/ testing/main armhf Packages

Nice thank you. I’ll remove it then. Remote Access is enabled, that’s actually why I’m running M6 addons despite the fact that I have openhab2-addons M5 installed (I see both versions in PaperUI, now I understand why). Thank you again.

1 Like

Interesting, the build went fine, all three packages were uploaded to the repo before the metadata was calculated, will have a look when I can.

1 Like

The 2.4.0~M7-1 versions of the openhab2-addons and openhab2-addons-legacy packages are now available.

1 Like

You have some generic problem with your linux box (Synology?). open up a new thread and we can troubleshoot there to avoid spamming this thread plz.

Hey,
right now testing the M7 and all in all it works like a charm. There is just one error message, which I dont know where it comes from. Not sure if its an issue with the M7? Maybe it`s helpful posting it here :wink: .

2018-12-04 16:12:43.848 [INFO ] [control.internal.WebSocketConnection] - Web Socket error {}

org.eclipse.jetty.io.EofException: null

	at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:286) ~[75:org.eclipse.jetty.io:9.4.11.v20180605]

	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.flush(SslConnection.java:1005) ~[75:org.eclipse.jetty.io:9.4.11.v20180605]

	at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:429) [75:org.eclipse.jetty.io:9.4.11.v20180605]

	at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:323) [75:org.eclipse.jetty.io:9.4.11.v20180605]

	at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:380) [75:org.eclipse.jetty.io:9.4.11.v20180605]

	at org.eclipse.jetty.websocket.common.io.FrameFlusher.flush(FrameFlusher.java:218) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]

	at org.eclipse.jetty.websocket.common.io.FrameFlusher.process(FrameFlusher.java:157) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]

	at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:241) [87:org.eclipse.jetty.util:9.4.11.v20180605]

	at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:224) [87:org.eclipse.jetty.util:9.4.11.v20180605]

	at org.eclipse.jetty.websocket.common.io.FrameFlusher.enqueue(FrameFlusher.java:90) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]

	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.outgoingFrame(AbstractWebSocketConnection.java:495) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]

	at org.eclipse.jetty.websocket.client.io.WebSocketClientConnection.outgoingFrame(WebSocketClientConnection.java:72) [91:org.eclipse.jetty.websocket.client:9.4.11.v20180605]

	at org.eclipse.jetty.websocket.common.WebSocketSession.close(WebSocketSession.java:223) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]

	at org.eclipse.jetty.websocket.common.WebSocketSession.close(WebSocketSession.java:202) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]

	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onConnectionStateChange(AbstractWebSocketConnection.java:353) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]

	at org.eclipse.jetty.websocket.common.io.IOState.notifyStateListeners(IOState.java:184) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]

	at org.eclipse.jetty.websocket.common.io.IOState.onReadFailure(IOState.java:498) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]

	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(AbstractWebSocketConnection.java:547) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]

	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:391) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]

	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:281) [75:org.eclipse.jetty.io:9.4.11.v20180605]

	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102) [75:org.eclipse.jetty.io:9.4.11.v20180605]

	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:291) [75:org.eclipse.jetty.io:9.4.11.v20180605]

	at org.eclipse.jetty.io.ssl.SslConnection$3.succeeded(SslConnection.java:151) [75:org.eclipse.jetty.io:9.4.11.v20180605]

	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102) [75:org.eclipse.jetty.io:9.4.11.v20180605]

	at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) [75:org.eclipse.jetty.io:9.4.11.v20180605]

	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:762) [87:org.eclipse.jetty.util:9.4.11.v20180605]

	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:680) [87:org.eclipse.jetty.util:9.4.11.v20180605]

	at java.lang.Thread.run(Thread.java:748) [?:?]

Caused by: java.io.IOException: Broken pipe

	at sun.nio.ch.FileDispatcherImpl.write0(Native Method) ~[?:?]

	at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) ~[?:?]

	at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93) ~[?:?]

	at sun.nio.ch.IOUtil.write(IOUtil.java:51) ~[?:?]

	at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471) ~[?:?]

	at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:264) ~[?:?]

	... 27 more

2018-12-04 16:12:43.885 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1006. Reason: WebSocket Read EOF