Jump to content

Error updating to WHMCS 7.5

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

Link to comment
Share on other sites

  • 1 month later...
  • WHMCS Support Manager

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.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated