Difference between revisions of "Updating"
(→Helpful Hints) |
(→Database Privileges) |
||
(17 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | <html><a href="https://www.whmcs.com/services#installation?utm_medium=docs" class="docs-video-tutorial"><em><small><b>Update Service:</b> Have our team update your installation.</small></em><span class="button">Services</span></a></html> | |
− | + | We always recommend staying up-to-date with WHMCS in order to benefit from the latest development and improvements. You can do this by [https://www.whmcs.com/services/upgrade-service/ having us perform the update for you] or by updating using one of our supported methods. | |
− | + | Our support team is always available to answer any questions or concerns you might have when performing updates. [http://www.whmcs.com/get-support/ Open a ticket] and a member of our team will assist you. | |
− | + | ==Preparing for Updates== | |
− | |||
− | |||
− | [[ | + | Preparation helps to ensure a seamless updating experience. For more information, see [[Get WHMCS Download Information]] and our recommendations for [https://blog.whmcs.com/133532/our-top-tips-for-a-seamless-update preparation, testing, and execution of WHMCS updates]. |
− | + | ===Database Privileges=== | |
− | + | ||
− | + | Updating requires that the database user has access to the required privileges. | |
− | |||
− | == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | For more information and a list of required privileges, see [[System_Environment_Guide#Database_Privileges|System Environment Guide]]. | |
− | + | ===Customisations=== | |
− | + | If you have customised templates, make sure to follow the recommended method for [[Client_Area_Template_Files#Creating_a_Custom_Template|creating a custom template folder]] to ensure your changes aren't overwritten during updates. | |
− | + | For language file customisations, make sure that you use the [https://developers.whmcs.com/languages/overrides/ Language Overrides] feature instead of editing the language files directly. | |
− | + | ==Updating in the Admin Area== | |
− | + | WHMCS 7.0 and later includes a way to update WHMCS from within the Admin Area. | |
− | + | To do this, go to '''Utilities > Update WHMCS'''. For more information, see [[Automatic Updater]]. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | <div class="docs-alert-info"><i class="fa fa-info-circle fa-fw"></i> If we released an update recently, you may need to click ''Check for Updates'' before the update will display.</div> | |
− | == | + | ==Updating Manually== |
− | + | You can also update your WHMCS installation manually using one of two methods: | |
− | ' | + | * You can use FTP or your hosting control panel's file management system to manage the necessary files. For more information, see [https://go.whmcs.com/1709/Updating-WHMCS-Manually Updating WHMCS Manually]. |
+ | * If you are comfortable running commands on the server that hosts your WHMCS installation, you can make the necessary changes on the command line. For more information, see [[Install On The Command Line]]. | ||
− | + | ===Distributions=== | |
− | + | We distribute WHMCS in '''Full Release''' and '''Patch Set''' distributions. You can identify the distribution type by examining the distribution's <tt>.zip</tt> file and the contents of the included <tt>README.txt</tt> file: | |
− | |||
− | |||
− | |||
− | + | <table class="table table-striped table-condensed"> | |
− | + | <tr><th>Distribution Type</th><th><tt>.zip</tt> Filename Contains</th><th><tt>README.txt</tt> File Contains</th><th>Files Included</th><th>Use For</th></tr> | |
− | + | <tr><td>'''Full Release'''</td><td><tt>_full</tt></td><td><tt>Distro Type: Full Version</tt></td><td>All files for an installation.</td><td>New installations '''or''' updates to an existing installation (regardless of previous version).</td></tr> | |
− | + | <tr><td>'''Patch Set'''</td><td><tt>_patch</tt></td><td><tt>Distro Type: Patch Set</tt></td><td>Only files changed since the immediate previous version.</td><td>Updates to an existing installation that has stayed up-to-date with the latest WHMCS releases.</td></tr> | |
− | + | </table> | |
− | |||
− | |||
− | ''' | ||
− | |||
− | |||
− | |||
− | ''' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ''' | + | For example, we would recommend using a '''Full Release''' distribution to move from an End-of-Life version to the newest release. You could '''only''' use a '''Patch Set''' distribution if you were moving from the immediately previous release to the newest release. |
− | + | For more information on our release and distribution types, see [[Releases]]. | |
− | + | ==Troubleshooting== | |
− | + | You may encounter the following issues during an update: | |
− | + | ===Bad Formatting=== | |
− | If | + | If, when you first log in, you see a mixed or unclear formatting, your browser may not have updated. Try clearing your browser cache or performing a hard refresh (typically <tt>Ctrl + F5</tt>) and delete the contents of the template cache directory (''templates_c'' by default) to ensure that you see the new templates and styling. |
− | == | + | ===Down for Maintenance or Update in Progress=== |
− | + | If, after uploading the files from a Patch Set, you see a '''Down for Maintenance''' or '''update in progress...''' message, the patch set files you attempted to apply are not compatible with the version of WHMCS you were previously running. | |
− | + | To complete the update, download the latest [[Updating#For_a_Full_Release_Version|Full Release]] version and update using the regular update process above. |
Latest revision as of 21:47, 8 February 2023
Update Service: Have our team update your installation.
We always recommend staying up-to-date with WHMCS in order to benefit from the latest development and improvements. You can do this by having us perform the update for you or by updating using one of our supported methods.
Our support team is always available to answer any questions or concerns you might have when performing updates. Open a ticket and a member of our team will assist you.
Contents
Preparing for Updates
Preparation helps to ensure a seamless updating experience. For more information, see Get WHMCS Download Information and our recommendations for preparation, testing, and execution of WHMCS updates.
Database Privileges
Updating requires that the database user has access to the required privileges.
For more information and a list of required privileges, see System Environment Guide.
Customisations
If you have customised templates, make sure to follow the recommended method for creating a custom template folder to ensure your changes aren't overwritten during updates.
For language file customisations, make sure that you use the Language Overrides feature instead of editing the language files directly.
Updating in the Admin Area
WHMCS 7.0 and later includes a way to update WHMCS from within the Admin Area.
To do this, go to Utilities > Update WHMCS. For more information, see Automatic Updater.
Updating Manually
You can also update your WHMCS installation manually using one of two methods:
- You can use FTP or your hosting control panel's file management system to manage the necessary files. For more information, see Updating WHMCS Manually.
- If you are comfortable running commands on the server that hosts your WHMCS installation, you can make the necessary changes on the command line. For more information, see Install On The Command Line.
Distributions
We distribute WHMCS in Full Release and Patch Set distributions. You can identify the distribution type by examining the distribution's .zip file and the contents of the included README.txt file:
Distribution Type | .zip Filename Contains | README.txt File Contains | Files Included | Use For |
---|---|---|---|---|
Full Release | _full | Distro Type: Full Version | All files for an installation. | New installations or updates to an existing installation (regardless of previous version). |
Patch Set | _patch | Distro Type: Patch Set | Only files changed since the immediate previous version. | Updates to an existing installation that has stayed up-to-date with the latest WHMCS releases. |
For example, we would recommend using a Full Release distribution to move from an End-of-Life version to the newest release. You could only use a Patch Set distribution if you were moving from the immediately previous release to the newest release.
For more information on our release and distribution types, see Releases.
Troubleshooting
You may encounter the following issues during an update:
Bad Formatting
If, when you first log in, you see a mixed or unclear formatting, your browser may not have updated. Try clearing your browser cache or performing a hard refresh (typically Ctrl + F5) and delete the contents of the template cache directory (templates_c by default) to ensure that you see the new templates and styling.
Down for Maintenance or Update in Progress
If, after uploading the files from a Patch Set, you see a Down for Maintenance or update in progress... message, the patch set files you attempted to apply are not compatible with the version of WHMCS you were previously running.
To complete the update, download the latest Full Release version and update using the regular update process above.