Openhabian update process flow

I’m running openHAB 2.2.0 Build #1036 with openhabian on a Pi3.

The last build is #1054
https://openhab.ci.cloudbees.com/job/openHAB-Distribution/lastBuild/

If I’m using the openhabian-config update function nothing new is found.

I would like to understand the processflow of publishing new versions.

Nightly builds were created automatically in cloudbees?
What happens then until openhabian gets noticed about this?

Michael

Hi @mashborn,

openHABian uses the apt-snapshot repository. The Linux packages are built automatically and follow the build you linked above in a different cloudbees project.

These builds usually complete within two minutes of the general distribution completing, and build #1054 is definitely available as an apt package.

As far as I understand (@ThomDietrich, please correct me if I’m wrong), as long as you’ve selected option unstable (41 in openHABian-config), then updating can be done with:

sudo apt-get update && sudo apt-get upgrade

Hope this helps,
Ben

1 Like

Hi @Benjy,
I can see in the SSH-Loginscreen and in the homepage of my installation, that #1036 is my current installation.
apt update / upgrade is running without errors, but don’t change any files.

I copied some files from an old installation to openhab2-userdata.
Maybe I’ve overwritten a update-relevant file?

Michael

Hi again,
I’ve installed OH on another Pi3.
There it’s updated to the newest version.
A file-comparison of sys-folders shows no differences - so it seems that both are running the same version.
But userdata-folders are very different.
Are there any caches of the executed java-sources?

Michael

It seems that you may have overwritten the text file that contains the build number (\var\lib\openhab2\etc\branding.properties) . This is for information purposes only, so I wouldn’t worry about it. You can reinstall the latest version, which will replace the non-configurable files but leave your own files alone via the command:

sudo apt-get install --reinstall openhab2

Hope that helps!
Ben

2 Likes

That worked. Thank you!