openv / vcontrold

:fire: vcontrold Daemon for control and logging of Viessmann® type heating devices
https://github.com/openv/openv/wiki
GNU General Public License v3.0
101 stars 54 forks source link

how to update installed version to the latest #41

Closed passuff closed 5 years ago

passuff commented 5 years ago

I'm new to this stuff and glad to have vcontrold running but is there a way to update vcontrold easily without loosing all the adjustments?

speters commented 5 years ago

User-configurable adjustments are in the xml files. So you should make sure you keep a backup.

The program files vcontrold and vclient can be simply replaced with a newer version (either by manual replacement, make install or by installing a newer deb package). During installation, /usr/share/doc/vcontrold gets written, so don't use this location to store your edited configs (wouldn't be the right place anyway).

The provided deb packages are dead-simple (just installing the plain files) and provide no means of a start-stop procedure for the daemon, or taking care of config locations or edits.

You need to restart the vcontrold daemon after having updated/changed its binary.