Upgrade On Windows

This guide will explain how to upgrade to CloneDeploy 1.1.0 on Windows installations.  Please note I will no longer be creating automated update packages for Windows.

I.  Upgrade Path

CloneDeploy 1.0.0 and CloneDeploy 1.0.1 including all patch versions can be directly upgraded to CloneDeploy 1.1.0

II. Notices

  • LDAP authentication has a new implementation.  Existing LDAP users will not be able to login until the new settings are properly configured
  • The client boot image had many of it’s binaries updated.  If you are using the client iso / usb, you must generate a new one after the upgrade, the previous one will not work.

III. Upgrade

This guide assumes a 64-bit version of Windows, if you are using 32-bit, update all occurrences of program files(x86) to program files

  1. Download the CloneDeploy-1.1.0-upgrade.zip
  2. Extract it to your desktop
  3. Stop the IIS Web Service
  4. Open File Explorer and navigate to C:\Program Files (x86)\clonedeploy\web
  5. Open web.config with a text editor such as Notepad++
  6. Copy your database password from line 8 and your dbEncryptionKey from line 37
  7. Rename the C:\Program Files (x86)\clonedeploy\web folder to web.bak (In case we need to roll back)
  8. Open the clonedeploy-1.1.0-upgrade folder on your desktop and navigate to the web directory
  9. Rename web.config.windows to web.config
  10. Edit web.config and change xx_marker1_xx to your database password and xx_marker2_xx to your dbEncryptionKey
  11. Copy the tftpboot and web folders from clonedeploy-1.1.0-upgrade to C:\Program Files (x86)\clonedeploy (the tftpboot folder will be merged with the existing, and the web folder should be new since the old version was renamed to web.bak)
  12. Open a cmd prompt as administrator
  13. cd "c:\Program Files (x86)\MariaDB 10.1\bin"
  14. mysqldump.exe clonedeploy -u root -p  > %userprofile%\Desktop\cdbackup.sql -v
  15. Enter your database password when prompted
  16. mysql.exe clonedeploy -u root -p < %userprofile%\Desktop\clonedeploy-1.1.0-upgrade\1.1.0-update.sql -v
  17. Enter your database password when prompted
  18. icacls "C:\Program Files (x86)\clonedeploy\web" /T /C /grant IIS_IUSRS:(OI)(CI)M
  19. Restart the IIS Service
  20. You may need to clear your browser’s cache to reflect the new web design
in Upgrade To 1.1.0
Comments are closed.