Upgraded #OpenHAB to 4.0 today by accident (careless use of apt upgrade).
Considering the fact that it includes some breaking changes, things went surprisingly smooth.
I had everything back up again in less than an hour, including all the UoM and JS Engine changes necessary.