Get The Most Affordable Hosting in the World!
Starting at just $1.87/month, Vercaa offers unbeatable pricing for world-class web hosting services.
Fast, reliable, and secure hosting to power your website without breaking the bank. Plus, enjoy a free CDN for faster loading times worldwide!
Get Started Now!Symptom
While updating, you may see a Down for Maintenance (Err 2) error when you visit WHMCS.
In many of these cases, a message may state that the database version does not match the file version:
WHMCS\Exception\Application\InstallationVersionMisMatch: Database version '7.6.2-release.1' does not match file version '7.7.1-release.1'
The specific version numbers will vary, but the reported database version will be lower than the file version.
Cause
The system has successfully downloaded the WHMCS files or you have uploaded them, but the updates to the MySQL® database have not finished.
Solution
To resolve this issue:
1. In your browser, go to the /install/install.php
file in your WHMCS installation's directory. For example, www.yoursite.com/whmcs/install/install.php
.
If a 404 Page Not Found error displays, upload the /install
directory and its contents to your server. You can download this as part of the Full Release Version files at download.whmcs.com.
![EULA Screen](https://media.screensteps.com/image_assets/assets/005/799/038/original/69a16b28-f964-484d-9bf8-d8c8b11f5c6f.png)
2. Agree to the End User License Agreement.
3. Click Continue.
![Click Continue button](https://media.screensteps.com/image_assets/assets/005/799/040/original/2923db08-2cb0-4bb8-adda-d6329e853e8b.png)
4. Back up the WHMCS MySQL database.
5. Click I have a backup, start the upgrade.
![Click I have a backup, start upgrade button](https://media.screensteps.com/image_assets/assets/005/799/042/original/ab1ea828-5b52-4b38-ab68-6fbf273beed4.png)
An Upgrade In Progress message will display while the upgrade process runs.
![Upgrade in Progress](https://media.screensteps.com/image_assets/assets/005/799/044/original/34032544-0a1e-433a-acd3-ae651f6cec5c.png)
Within a few minutes, a success message will display:
![Upgrade Completed Successfully!](https://media.screensteps.com/image_assets/assets/005/799/046/original/e476deaf-b7de-4238-a377-fe8a689a1da9.png)
If an Upgrade Failed message displays, see Updating WHMCS.
6. Delete the install
subdirectory from your server.
7. Click the link to return to the Admin Area.
8. Ensure that the version number in the Admin Dashboard sidebar or in Configuration > System Health (Help > System Health Status prior to WHMCS 8.0) is the version you were updating to.
After you complete the update process, if you have not done so already, we recommend reviewing the Release Notes for your new version.