Introduction


Each HostBill is shipped with Auto-Upgrade, an enabled by default plugin that is built to make upgrades & patches easier and faster. Plugin is located under Extras->Auto-Upgrade. If it's not enabled you can turn it on under Extras->Plugin in your HostBill Adminarea.

Before using Auto-Upgrade for first time


Before using upgrade or patch for a first time, make sure you've created backup of both your HostBill files and database. Use controlpanel backup option or manual db dump (mysqldump, phpmyadmin or simmilar). This plugin do not perform backup on its own.

Preventing custom files from being overwritten


Since HostBill 3.9.9 Auto-Upgrade plugin can prevent your custom files from being overwritten. If you've modified some orderpage, or use custom version of HostBill module it's still possible to enjoy rapid upgrades, with no need to worry about overwriting your customizations.

To prevent files from being overwritten under List of files/folders to exclude provide list of files/directories you wish to prevent from being overwritten by upgrade, one entry per line, so entry like:

  templates/orderpages/*
  includes/core/class.events.php

To enjoy latest stable version make sure you overwrite your core files, and your rules do not exclude them

Using Auto-Upgrade


When new version is available you will see notification on top of the admin home page:

After going to Extras->Auto-Upgrade you will be able to apply upgrade with one mouse click.

HostBill will:

Auto-Update in action




FAQ


Q: Do I need to download anything?

A: No, this tool will download, extract & apply patch/upgrade automatically.


Q: Will upgrade overwrite my custom clientarea templates?

A: No, as long as you keep your custom templates in separate folder under /templates, if you've modified some files its safe to make custom folder under /templates and keep your entire look there.


Q: Auto-upgrade/patch fails, what can be wrong?

A: Please refer to Before using Auto-Upgrade for the first time


Q: How to apply manually downloaded patch?

A: Please extract patch file in main HostBill directory