Closed anon8675309 closed 2 years ago
It appears to be something in ./var/lib/openhab2
that is causing this. I see that version number hard-coded in a number of places in there.
All of the following files are in ./var/lib/openhab2
and contain 2.5.3:
It appears that the openhab-cli info
command gets version information from /var/lib/openhab2/etc/version.properties
.
The mentioned script is only to pull to a local installation the version which is on github only if the reported version installed is lower than the version on the github repo. Right now there is no newer version on github. All the logic above is inside HestiaPi and the script you mention is not to be called "by hand" but by this "Thing": https://github.com/HestiaPi/hestia-touch-openhab/blob/efc69c44a1894183c9e6140254faf0b513820ebf/var/lib/openhab2/jsondb/org.eclipse.smarthome.core.thing.Thing.json#L1989
The
rsync
command in updateone.sh causes openhab to (partially) get reverted from the version that was installed (e.g. 2.5.12) to 2.5.3.Steps to reproduce:
openhab-cli info
to see that you have 2.5.12 installedopenhab-cli info
to see that it now reports that you have 2.5.3 installed