This guide will explain how to upgrade to CloneDeploy 1.2.0 on Linux installations. This was specifically written for Ubuntu 16.04.1, make changes as necessary. Thanks again to cfinnberg for providing this article.  http://forum.clonedeploy.org/237-unofficial-guide-to-update-on-linux/0#p1193

I. Upgrade Path

CloneDeploy upgrades are incremental. Only 1.1.x can be directly upgraded to CloneDeploy 1.2.0. DO NOT attempt to upgrade from 1.0.x to 1.2.0. You must first upgrade to 1.1.x

II. Notices

  • The Linux Imaging Environment has changed. If you are using the client iso / usb, you must generate a new one after the upgrade.

III. Upgrade

Recommended before the upgrade: Update your linux box:

sudo apt update && sudo apt upgrade 
sudo reboot 	#(if necessary)
sudo su

1. Download and unzip CloneDeploy-1.2.0-upgrade.zip to your home folder:

wget --content-disposition -P ~ https://sourceforge.net/projects/clonedeploy/files/CloneDeploy%201.2.0/clonedeploy-1.2.0-upgrade.zip/download
unzip ~/clonedeploy-1.2.0-upgrade.zip -d ~

3. Update tftpboot:

cp -r ~/clonedeploy-1.2.0-upgrade/tftpboot/* /tftpboot

4. Stop Apache service:

service apache2 stop

5. Rename CloneDeploy folder:

mv /var/www/html/clonedeploy{,.bak}

6. Copy the new CloneDeploy folder:

cp -r ~/clonedeploy-1.2.0-upgrade/web /var/www/html/clonedeploy

7. Copy the old config from the old folder to the new CD folder:

cp /var/www/html/clonedeploy.bak/web.config /var/www/html/clonedeploy/

8. Repair permissions in CD folder:

chown www-data.www-data /var/www/html/clonedeploy

9. Backup CD database (enter your database password when prompted):

mysqldump clonedeploy -v -u root -p > ~/cdbackup.sql

10. Update CD database (enter your database password when prompted):

mysql clonedeploy -v -u root -p < ~/clonedeploy-1.2.0-upgrade/1.2.0-update.sql

11. Restart Apache service:

service apache2 start

12. Log in and check that it shows the updated version and that everithing works ok:
Note: You may need to clear your browser’s cache to reflect the new web design
-image-
13. Delete temporal files and exit from sudo:

rm -rf ~/clonedeploy-1.2.0-upgrade
rm ~/clonedeploy-1.2.0-upgrade.zip
rm ~/cdbackup.sql
exit

in Upgrade To 1.2.0