I’m a bit lost with all the different posts around how to upgrade to the latest version of OH2 on a Synology DiskStation.
I really appreciate if someone can explain the steps to take to complete this task ?
Here is my current setup:
OH version 2.0.0.010
Bindings installed via PaperUI (Astro, AVM, TR064, Homematic, HTTP, Hue, Network, NTP, no ZWAVE Binding)
Items installed via PaperUI (Item linking = Simple Mode)
conf and userdata are located in /volume1/public/openHAB
public folder is backed up on my PC, with HyperBackup daily and using ./backup from CLI
What is the best method to do the upgrade and restore the existing configuration without trouble ?
Via Package Center in DS ?
potential steps to take via Package Center:
Thanks Scott,Just one more question on the sequence of events during installation to be clear:
Once the new OH SPK is installed on the DS via package center, I prevent the application from starting right away.
Then I ssh into the server and replace the default files from the install with the ones from my backup including the addons.cfg as you suggested.
Once that’s complete I start the updated OH application for the first time and it will pickup the conf and userdata including loading e.g. the bindings acc to addons.cfg (there are no manually installed bindings outside of PaperUI), I’m assuming it will load the latest version of the bindings, pls confirm …
Is this a correct sequence of steps to get it done ?
@madi Lots of permissions changes too. Reinstalling means it removes the openhab user which resets all the permissions. Try to fix them using the ui instead of the cli. There’s some difference in the way the two work and the ui is more correct. Next time @me I’m missing these notifications