Hi I run Openhab 2 to Build #600 (manual install) and want to install te final version of openhab 2.0
Do the instructions i read here still apply? Upgrade, Backup and Restore
# stop openhab instance (here: systemd service)
sudo systemctl stop openhab2.service
# backup current installation with settings
sudo mv /opt/openhab2 /opt/openhab2-backup-$TIMESTAMP
# download new version (please replace URL)
sudo unzip openhab-2.0.0-SNAPSHOT.zip -d /opt/openhab2
# restore configuration and userdata
sudo cp -arv /opt/openhab2-backup-$TIMESTAMP/conf /opt/openhab2/
sudo cp -arv /opt/openhab2-backup-$TIMESTAMP/userdata /opt/openhab2/
# fix permissions
sudo chown -hR openhab:openhab /opt/openhab2
# restart openhab instance
sudo systemctl start openhab2.service
Is the link (URL) to the ZIP file on this page the correct source? https://bintray.com/openhab/mvn/openhab-distro/2.0.0
No, that will install the newest snapshot, not the final version.
You need to download
and because you are upgrading from a pretty old build, you won’t have the massive changes implemented (JsonDB storage instead of MapDB storage) yet:
If you have configured your openHAB2 solely with text config files, there is a good chance that you are able to upgrade, but if you have configured it via GUI, e.g. PaperUI, you probably need to start from scratch …
Thanks for you reply Sihui,
It looks like i have to start from the begining.
what are the advantages of using the manual installation over the apt-get
I now have the manual installation need and tidy under \opt\openhab2.
are there technically any advantages of NOT using apt-get?
The recommended install method is apt-get
You don’t have to care about permissions and automatic starting of openHAB is more easier accomplished.
I installed openhab with apt get and its working now.
topic can be closed.