openHAB 2.5.x Patch Releases

something has changed again and previous logging from jsr233 rules has stopped working. I don’t see any changes in the changes list that could impact this. It is working correctly with 2.5.3 and 2.5.4 releases.

Someone else reported something similar and it was resolved by touching the org.ops4j.pax.logging.cfg file…

That sounds more like a workaround than a resolution.

have not yet tried this, but curious how this will solve the issue if the openhab process is started from 0?

That’s because it is a workaround. I’ve seen this happen very rarely since before 2.5M2, but I update files, clear cache, and restart OH a LOT more often than the average user. The actual issue has not been identified, but the symptom is that logging stops for some loggers. The only updates in this release were to add-ons… there were no updates to scripted automation, the update script, or logging. There may be something glitchy with the update process, but it is not specific to this release. It’s something to keep an eye on, but discussion about it does not belong in this topic.

I’m not sure what you mean by this, but if you open a new topic, I’ll be happy to discuss there.

1 Like

Yes, this is another topic that should be addressed. For example, 2.5.4 release ( did not list any changes to the Xiaomi Mi binding, however, there were changes (a bug to be precise) that made the binding unusable for 2 and more gateways. That means the release notes can not be taken as the main source of truth.

1 Like

hmm, could it be such errors are not written to openhab.log? I had a dozend of them, but grep now finds nothing. The error indicated that.getEvent() and .getChannel() are not methods of the receivedEvent base class.

OH version is 2.5.0 Release Build

just doing an apt-get upgrade to upgrade to the latest released OH version and bundles

I now see 2 config files for the Ops4J PAX logging:


Maybe they interfere?

I managed to upgrade to OH 2.5.5 but now I get again the same error when running apt update:

openhabian@openhab:~$ sudo apt update
[sudo] password for openhabian: 
Hit:1 buster InRelease
Get:2 buster InRelease [15.0 kB]                                                        
Get:3 buster InRelease [32.6 kB]                                                           
Hit:4 buster InRelease                                                                       
Hit:5 stable InRelease                                                                      
Hit:6 buster InRelease                                                                     
Ign:7 testing InRelease                                             
Hit:8 buster InRelease            
Err:9 testing Release
  Unknown date format Bad header data [IP: 443]
Get:10 buster/main armhf Packages [330 kB]
Reading package lists... Done     
E: The repository ' testing Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Maybe it’s an intermittent problem.?

There are no testing releases. Just stable & unstable.

Does that mean that the documentation at ( search for testing ) is not up to date / outdated ? The documentation distinguishes between stable, testing and beta releases aka unstable aka snapshots

I assume there may be testing releases as openHAB 3 gets more stable.

Since they are not developing the 2.x core any longer, they just do unstable with monthly stable releases for updated bindings.

1 Like

Sorry, but even if that is or would be the case as far as I understand I still should be able to get previous testing releases without any any error message, right. And it is not the step when I try to get the package it is the step when I download information about the available versions.

root@cubietruck:~# aptitude update
Hit xenial InRelease
Get: 1 xenial-security InRelease [109 kB]
Get: 2 xenial-updates InRelease [109 kB]
Hit xenial InRelease
Get: 3 xenial-backports InRelease [107 kB]
Get: 4 xenial InRelease [4,634 B]
Hit xenial InRelease            
Ign testing InRelease
Get: 5 testing Release [11.6 kB]
Get: 6 testing Release.gpg [821 B]
Get: 7 xenial-updates/main armhf Packages [1,071 kB]
Get: 8 xenial-updates/universe armhf Packages [924 kB]
Hit testing/main armhf Packages [7,609 B]                                                                                                                                                                       
Err testing/main armhf Packages                                                                                                                                                                                 
  Hash Sum mismatch
Fetched 2,336 kB in 9s (248 kB/s)                                                                                                                                                                                                                                 
W: Failed to fetch store:/var/lib/apt/lists/partial/openhab.jfrog.io_openhab_openhab-linuxpkg_dists_testing_main_binary-armhf_Packages.gz: Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.

I also do not expect to the see ‘unknown date format bad header data’ error message in case an new version is being tested.

In case I do

apt-cache madison openhab2

I get

  openhab2 |    2.5.5-1 | testing/main armhf Packages
  openhab2 |    2.5.5-1 | testing/main all Packages
  openhab2 |    2.5.4-1 | testing/main armhf Packages
  openhab2 |    2.5.4-1 | testing/main all Packages
  openhab2 |    2.5.3-1 | testing/main armhf Packages
  openhab2 |    2.5.3-1 | testing/main all Packages
  openhab2 |    2.5.2-1 | testing/main armhf Packages
  openhab2 |    2.5.2-1 | testing/main all Packages
  openhab2 |    2.5.1-2 | testing/main armhf Packages
  openhab2 |    2.5.1-2 | testing/main all Packages
  openhab2 |    2.5.1-1 | testing/main armhf Packages
  openhab2 |    2.5.1-1 | testing/main all Packages
  openhab2 |    2.5.0-1 | testing/main armhf Packages
  openhab2 |    2.5.0-1 | testing/main all Packages
  openhab2 | 2.5.0~RC1-1 | testing/main armhf Packages
  openhab2 | 2.5.0~RC1-1 | testing/main all Packages
  openhab2 | 2.5.0~M6-1 | testing/main armhf Packages
  openhab2 | 2.5.0~M6-1 | testing/main all Packages
  openhab2 | 2.5.0~M5-1 | testing/main armhf Packages
  openhab2 | 2.5.0~M5-1 | testing/main all Packages
  openhab2 | 2.5.0~M4-1 | testing/main armhf Packages
  openhab2 | 2.5.0~M4-1 | testing/main all Packages
  openhab2 | 2.5.0~M3-1 | testing/main armhf Packages
  openhab2 | 2.5.0~M3-1 | testing/main all Packages
  openhab2 | 2.5.0~M2-1 | testing/main armhf Packages
  openhab2 | 2.5.0~M2-1 | testing/main all Packages
  openhab2 | 2.5.0~M1-1 | testing/main armhf Packages
  openhab2 | 2.5.0~M1-1 | testing/main all Packages
  openhab2 |    2.4.0-1 | testing/main armhf Packages
  openhab2 |    2.4.0-1 | testing/main all Packages
  openhab2 | 2.4.0~RC1-1 | testing/main armhf Packages
  openhab2 | 2.4.0~RC1-1 | testing/main all Packages
  openhab2 | 2.4.0~M8-1 | testing/main armhf Packages

and more.

So I do not see any 3.X version in the testing repo but e.g. 2.5.5-1
Looking into shows different version numbers but no 3.X yet. 2.5.6 I assume belongs to unstable.

Try dropping armhf from the repo I think I saw somewhere that it may not be needed any longer.

My ubuntu apt config was not correct. Check the instalation instructions.

1 Like

Then this must have been a recent change. There’s the stable releases, the milestone releases (which my setup is tracking) and the daily snapshot releases (unstable).

So far I automatically received updates up to 2.5.4. Only 2.5.5 gives problems with the repository.

Testing releases stopped after 2.5.0 was released.

EDIT: removed incorrect information - Sorry,.

as far as I can see at this moment stable and testing are on the same version: 2.5.5-1.

sdiff Packages-stable Packages-testing
Package: openhab2-addons                                        Package: openhab2-addons
Source: openhab2-addons                                         Source: openhab2-addons
Version: 2.5.5-1                                                Version: 2.5.5-1
Section: java                                                   Section: java
Priority: optional                                              Priority: optional
Architecture: all                                               Architecture: all
Depends: openhab2                                               Depends: openhab2
Conflicts: openhab2-online, openhab2-offline                    Conflicts: openhab2-online, openhab2-offline
Installed-Size: 191106                                          Installed-Size: 191106
Maintainer:                       Maintainer:
Description: openhab2-addons                                    Description: openhab2-addons
 Linux installation package for openHAB 2 addons.                Linux installation package for openHAB 2 addons.
Homepage:                                       Homepage:
Filename: pool/main/2.5.5/openhab2-addons_2.5.5-1_all.deb       Filename: pool/main/2.5.5/openhab2-addons_2.5.5-1_all.deb
SHA1: 09c359f1325e63da50df06359761e847e584fe1e                  SHA1: 09c359f1325e63da50df06359761e847e584fe1e
SHA256: 3c3415b90182f9b760d350eda3fb4e24faa004acb89fcb889aad8   SHA256: 3c3415b90182f9b760d350eda3fb4e24faa004acb89fcb889aad8
Size: 195450792                                                 Size: 195450792

Package: openhab2                                               Package: openhab2
Source: openhab2                                                Source: openhab2
Version: 2.5.5-1                                                Version: 2.5.5-1
Section: java                                                   Section: java
Priority: optional                                              Priority: optional
Architecture: all                                               Architecture: all
Depends: adduser                                                Depends: adduser
Recommends: zip, unzip                                          Recommends: zip, unzip
Suggests: zulu-8 | zulu-embedded-8 | oracle-java8-installer |   Suggests: zulu-8 | zulu-embedded-8 | oracle-java8-installer |
Conflicts: openhab2-online, openhab2-offline                    Conflicts: openhab2-online, openhab2-offline
Installed-Size: 92564                                           Installed-Size: 92564
Maintainer:                       Maintainer:
Description: openhab2                                           Description: openhab2
 Linux installation package for openHAB 2.                       Linux installation package for openHAB 2.
Homepage:                                       Homepage:
Filename: pool/main/2.5.5/openhab2_2.5.5-1_all.deb              Filename: pool/main/2.5.5/openhab2_2.5.5-1_all.deb
SHA1: d0b0af31d32597b65fbfefb95d315e7d6cd53302                  SHA1: d0b0af31d32597b65fbfefb95d315e7d6cd53302
SHA256: 0e14ddba8d3d2f0b5e5167faf37438584718199c416e8c49ec0cc   SHA256: 0e14ddba8d3d2f0b5e5167faf37438584718199c416e8c49ec0cc
Size: 82996316                                                  Size: 82996316

So even in case there is no testing release with the purpose of deploying testing before stable release the testing release still is available.

I ran openhabian-config today. First time in ages. And behold, a warning appeared:

┌──────────────────────────────┤ openHABian breaking NEWS ├──────────────────────────────┐
│                                                                                        │ 
│ This is the new announcement page to pop up whenever you start openhabian-config and     
│ there's significant news we would like to share with you. Hit tab to unselect buttons    
│ and scroll through the text using UP/DOWN/PG UP/PG DOWN.                                 
│ When you choose 'I have read this' the message will not appear on startup anymore.       
│ All announcements will be stored in /opt/openhabian/docs/NEWSLOG for you to lookup.      
│ ## May 31, 2020                                                                          
│ ### Stable branch                                                                        
│ Introducing a new versioning scheme to openHABian. Please welcome `stable` branch.       
│ Similar to openHAB where there's releases and snapshots, you will from now on be using   
│ the stable branch. It's the equivalent of an openHAB release.                            
│ We will keep providing new changes to the master branch first as soon as we make them    
│ available, just like we have been doing in the past. If you want to keep living on the   
│ edge, want to make use of new features fast or volunteer to help a little in advancing   
│ openHABian, you can choose to switch back to the master branch.                          
│ Anybody else will benefit from less frequent but well better tested updates to happen    
│ to the stable branch in batches, whenever the poor daring people to use `master` have    
│ reported their trust in these changes to work flawlessly.                                
│ You can switch branches at any time using the menu option 01.                            
│ ### Supported hardware and Operating Systems                                             
│ openHABian now fully supports all Raspberry Pi SBCs with our fast-start image. As an     
│ add-on package, it is supposed to run on all Debian based OSs.                           
│ Check the [README]( to see what "supported" actually means and what you can   
│ do if you want to run on other HW or OS.                                                 
│ ### ZRAM per default                                                                     
│ Swap, logs and persistence files are now put into ZRAM per default.                      
│ See [ZRAM status thread]( for more     
│ information.                                                                             
│ ### New Java options                                                                     
│ Preparing for openHAB 3, new options for the JDK that runs openHAB are now available:    
│  - Java Zulu 8 32-Bit OpenJDK (default on ARM based platforms)                           
│  - Java Zulu 8 64-Bit OpenJDK (default on x86 based platforms)                           
│  - Java Zulu 11 32-Bit OpenJDK (beta testing)                                            
│  - Java Zulu 11 64-Bit OpenJDK (beta testing)                                            
│  - AdoptOpenJDK 11 OpenJDK (beta replacement for Zulu)                                   
│ openHAB 3 will be Java 11 only.  2.5.X is supposed to work on both, Java 8 and Java      
│ 11.                                                                                      
│ Running the current openHAB on Java 11 however has not been tested on a wide scale.      
│ Please participate in beta testing to help create a smooth transition user experience    
│ for all of us.                                                                           
│ See [announcement thread]( on the   
│ community forum.                                                                         
│                         <I have read this>               <keep displaying>               
│                                                                                        │ 

It appears that this message was created or updated yesterday.

I must have missed the notice to run openhabian-config after having upgraded to 2.5.

Please have a look at your source of information before making such statements. It was about Docker and has nothing to do with openHABian:

1 Like