Skip to content
VPS, Dedicated Servers and Colocation across ServerBike service locations

WHMCS integration

Upgrading the module

Upgrade an existing installation to version 0.1.8 safely.

ServerBike Reseller 0.1.8
Documentation menu
ServerBike Reseller Documentation

Upgrade an existing installation to 0.1.8

Applies to ServerBike Reseller for WHMCS 0.1.8 and ServerBike Reseller Public API 1.1.1.

Always upgrade the addon and server module together from the same official archive; never mix versions. Check the exact WHMCS and PHP requirements and read the release notes first. Plan a maintenance window, and avoid starting new paid operations while you prepare the upgrade.

  1. Note the installed version and the UUIDs of any pending operations. Take a verified backup of the WHMCS database, both existing module folders, the private keyring and its custody journal. Keep the backup away from web access and unauthorized users.
  2. Leave the existing keyring folder untouched. Do not create a new keyring or add your credential again just to upgrade the files.
  3. Replace both module folders with the ones from the verified official archive, keeping the expected layout. Do not uninstall the module or use Remove all module data. Deactivating the module does not delete data, but it is no substitute for a backup.
  4. The module's database changes only add to the existing schema and are safe to apply more than once. WHMCS runs the module upgrade when the version number changes; if you replace files with the same version, the first addon page load or cron run detects the new schema. Never run hand-written migration SQL, and never delete or rewrite operation records, mappings or retail prices.
  5. Open the addon and check the version, Diagnostics and the connection. Let the WHMCS cron run. Check that existing product and service mappings, recurring prices, settings and pending operations are still correct. Pending operations must continue under their original UUIDs and must not be sent again.
  6. Check your catalog and one representative existing service without changing anything. Resume normal processing only when all checks pass.

If the upgrade fails

Stop and keep the logs, with any secrets removed. You may restore the previous module files only if no new schema revision was applied, or if the old code works with the added schema. If you are unsure, contact support first. Never drop the newly added database columns or tables, edit operation records, restore an old keyring on its own or roll the database back past paid wholesale transactions without reconciling them. Restoring a backup can leave your WHMCS out of step with your ServerBike account, so agree a recovery plan with ServerBike before you resume.

Earlier versions

0.1.8 is the current recommended version, and earlier releases are no longer distributed. Changes in recent versions:

  • 0.1.5: Create can no longer revive a terminated service or unsuspend a suspended service.
  • 0.1.6: Added initial password support for Windows and product group import.
  • 0.1.7: Price and sale settings became part of the import steps.

Use 0.1.8 for Windows services and for the current API connection through ServerBike's proxy. Only the WHMCS versions listed in the requirements are supported. See the release notes.