How to update the 20i WHMCS module
Our WHMCS module integrates 20i services with the WHMCS Web Hosting Automation platform. It enables you to register domains, set up hosting accounts and sell Cloud Servers automatically through the WHMCS software. The module is updated frequently, releasing new features and bug updates, so it is important to remain updated with the latest version.
Note: Only 20i Resellers can access and use our WHMCS module.
To update the 20i WHMCS module, you essentially reinstall the latest module files over the existing ones. There is no automatic upgrade button, and so we will have to take the following steps.
Step 1: Download the latest module
Get the current release of the module from here.
Step 2: Backup your current module folders (recommended)
Within your current WHMCS installation, take a copy of these directories:
/20i
/modules
It may also be recommended to back up the entire WHMCS installation in case of misuse of commands. If you are a Timeline Backups customer, you can roll back to the last automatic snapshot, or create an on-demand snapshot.
Step 3: Replace the files with the new version
Extract the download, then upload/copy the new module directory into your webspace, just outside of your WHMCS installation directory. This directory will contain the important directories we will require. We'll now begin by replacing the old directories:
Replace /20i
Replace /modules
You can do this by following these commands.
mv public_html/20i public_html/20i~
cp -r module/20i public_html
cp -rf module/modules public_html
rm -rI public_html/20i~
Note: In this example, the WHMCS installation is located within /public_html, and the latest module directory is outside of this directory.
Step 4: Validate in WHMCS
After the file replacement, check in WHMCS admin that the 20i server/registrar modules still appear as available and operate normally (no further changes are usually required unless the release notes mention new settings).
