Khaos Control Web has update functionality that allows customer to update their own website once a new version has been released.
This replaces the previously manual process of updating the files on the web server.
Updating the website
- Log into the CMS.
- Go to "KC:Web" -> "Updates".

NOTE: This page might take a while to load as it will be downloading the latest release versions.
- The available update versions will be shown in a menu where you can select the version that you want to update to.

NOTE: It is very important that you only update to a version that is compatible with your current Khaos Control version. Updating to a newer version than that may cause error with the Watcher.
- Select the version you want to update to and this will show you the available updates for that version.

- Select which element you want to update, either the website code, or the Watcher, which handles the connection between the website and your Khaos Control database.

NOTE: It is best practice to apply the updates individually, and it is best to update the Watcher first in order to prevent the website from making calls to functions that don't exist in the old Watcher.
- Click the "Apply Updates" button.

- The update will then be applied you will get a success message once it has been completed.
NOTE: The website or Watcher will need to be recycled after the update in order for the changes to be correctly picked up, this is handled automatically but may take a few seconds.
Reverting an Update
If there is an issue with the website after an update has been applied, it is possible to revert back to the previous version:
- Log into the CMS
- Go to "KC:Web" -> "Updates".

- You should have a section at the top of the page with options to roll back the code or Watcher.

- To apply the rollback just click the appropriate button and it will be handled in the same way as when applying an update.
If there is still an issue after rolling back the update, or you don't have the option to do so, please contact us.