am I doing something wrong with the apt upgrade of OH2 snapshot on my rpi?
When doing apt update and upgrade i get the new version like 20161023. It installs and is then doing a “clear” on my screen. (blank prompt)
Then when trying to do upgrade again it still says there is version 20161023 available for upgrade. I can do upgrade on repeat without getting a final result.
OH2 is upgraded (habmin says version of 20161022, before it was 20161015 as I remember) but all of my installed extensions are gone and I have to reinstall them. Luckily my things aren’t gone.
I’m using this line:
deb https://openhab.ci.cloudbees.com/job/openHAB-Distribution/ws/distribution/openhab-offline/target/apt-repo / /
maybe you have the same problem I had.
this article solved my problem
APT snapshot installation notice
I believe openHAB is always set to try and update. So you needn’t worry about the update prompt if you’re seeing the latest version.
As for the extensions, I’ve found that the easiest way for them to persist over different versions is to state them in your /etc/openhab2/services/addons.cfg e.g:
binding = zwave,weather,hue,network,astro,systeminfo,ntp
ui = basic,paper,habmin
persistence = mysql,mapdb
Ok thank you for your answers. I’ll try with the addons.cfg