This procedure involves upgrading to a newer version of Kayako Fusion, Case or Engage from a lower release.
It is always recommended that the support desk be running on the latest Kayako 4 release. The latest releases have the most recent bug fixes and security patches applied, hence making your help desk bug free and secure.
|Upgrading to Kayako 4.50?|
If you are upgrading from a release earlier than Kayako 4.50, please note that there have been some major framework changes which may break compatibility with third-party modules and plugins. There may be additional steps you need to take. Please see the change log for more information.
In order to get access to the latest updates for your Kayako helpdesk, your license needs to be active (your product updates and support subscription). To check if your license is active, login to my.kayako.com and click on Orders.
To ensure that your clients does not face any inconvenience while the support desk is being upgraded, it is recommended to take it offline. This is easily done by putting up a single index.html file in the document root directory. This file should have a notice in it explaining to your customers that you're currently upgrading your help desk and that it will be back shortly.
This also prevents any incoming email sent to your email queue(s) from becoming tickets and interfering with the upgrade process.
The most important step in upgrading the support desk is making very sure you have a complete and valid backup of your version 4 support desk data.
By default, the storage location of download files and file attachments is set to "files" directory (to check the storage location, click here). In this case, keep a copy of the files directory (placed in ../swift/ directory) as all of your ticket attachments and download files are stored here.
MySQL has published information about backing up databases here.
|It is always recommended to backup the database via server command line interface|
You should store this backup database on a RAID machine or optical storage (or multiple physical locations) for safe-keeping.
Export all the support desk templates that you have modified. The procedure to export the templates is as explained here.
|Make sure that you have exported the modified templates for all the template groups.|
Export the language pack or additional language packs, if any. The procedure to export the languages is as explained here.
Once the archive is extracted, you will get a directory which has the following directories:
|apps||This directory contains the live chat application - Kayako Desktop.|
|upload||Contains the product files|
Upload the contents of the "upload" directory to the document root of the web server, overwriting the current version product files. The procedure to upload product files using an FTP client is as explained here.
|Upgrading to 4.50 or later?|
Please note that [substantial framework changes] have been made in this update, including some directory changes. You are advised to upload a fresh copy of the helpdesk files, or in other words, remove the old files and copy back old ones as necessary, such as __swift/files/, __swift/config/config.php.
|Do not overwrite the "files" and "GeoIP" directory, placed in the directory "../swift/". If overwritten, replace the "files" directory after the upgrade with the backup of the "files" directory you have taken previously.|
Now copy/move the following backed up directories/files to the document root, replacing them with the existing directories/files:
You need to set the file permissions, as described here.
Access the setup page as http://your_supportdesk_URL/setup/ and click Upgrade as shown:
Clicking on the Upgrade option from the menu, you will be prompted to review the license agreement as shown here:
Click on the I Agree button and the script will then check your web server to ensure that it meets the minimum system requirements for the upgrade. If you encounter errors, follow the instructions on your screen. Otherwise, press Next to start the automated upgrade procedure:
The automated upgrade procedure will cycle through screens resembling this one until it has completed:
|The automated portion of the upgrade script may take quite some time. Do not interrupt it for any reason.|
Once the upgrade process has completed, you will see the following screen:
The setup directory must be deleted as soon as the upgrade finishes as a security measure. You will receive warnings if you do not delete the setup directory.
Login to the admin control panel and you will get the alerts to restore the templates and language phrases.
After upgrading your installation of Kayako Fusion, Case or Engage, you may need to restore some templates. This is because the newer version of the software may carry with it newer versions of templates. Rather than overwriting your customized templates, the upgrade system will simply mark the modified templates as “Upgrade Revert Required” after the upgrade. It may be such that you do need to revert the templates that have been updated, so that new functionality can be implemented.
The procedure to restore the templates is as explained here.
After upgrading your installation of Kayako Fusion, Case or Engage, you may need to restore some phrases. This is because the newer version of the software may carry with it the newer version of the language phrases. Rather than overwriting your customized phrases, the upgrade system will simply mark the modified phrases as “Upgrade Revert Required” after the upgrade.
The procedure to restore the language phrases is as explained here.
The support desk cache needs to be rebuild to recreate the cached contents in the "__swift/cache/" directory, as well as all the cached data like "settings", "staffgroups","languagephrase" etc. stored in the database, prior to the upgrade.
The procedure to rebuild support desk cache is as explained here.