Jump to content

Recommended Posts

Hello when i try to upgrade to WHMCS 7.5 i get the error stated below



<div class="updater-error-message-error"><strong>Error</strong>&nbsp;(<a href="http://docs.whmcs.com/Automatic_Updater#Troubleshooting" target="_blank">Help Documentation</a>)<br>Error: <em>Failed to perform early file copy during WHMCS file relocation: init.php<br/>[WHMCS\Exception]<br/>Script WHMCS\Installer\Composer\Hooks\ComposerInstallerHook::postUpdateCmd handling the post-update-cmd event terminated with an exception<br/>Relocating WHMCS core files...<br/>Skipping: templates_c<br/>Preparing to relocate WHMCS core files...<br/>An existing installation has been found - updating...<br/>-------------------------------------<br/>WHMCS Installation/Update Assistant<br/>-------------------------------------<br/>> WHMCS\Installer\Composer\Hooks\ComposerInstallerHook::postUpdateCmd<br/>Writing lock file<br/>File signature was validated<br/>Certificate used for signature validation was loaded and validated<br/>File hash was validated. Hash: a66b5dc1a41bc5a13dc08880dab92424d6e36d4f53038a3b26a9474e150d206d<br/>Validating /var/www/html/billing/vendor/whmcs/whmcs/a880b04075d5e0dea0950be8e2d24de7.zip<br/>Downloading<br/>- Installing whmcs/whmcs (7.5.0)<br/>Updating dependencies<br/>Loading composer repositories with package information<br/><warning>You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug

aand yes the templetes_c folder is chmod 777

Share this post

Link to post
Share on other sites

Your best approach is going to be to download and upload the upgrade, not rely on their updater, which is more problematic than anything

Share this post

Link to post
Share on other sites

Hi @jvwjgames,

The error "Failed to perform early file copy during WHMCS file relocation: init.php" means that the auto-updater was unable to move the init.php file.

Please adjust the permissions and ownership of this file so it can be manipulated by a PHP script.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.


Important Information

By using this site, you agree to our Terms of Use & Guidelines