jvwjgames Posted April 12, 2018 Share Posted April 12, 2018 Hello when i try to upgrade to WHMCS 7.5 i get the error stated below Quote <div class="updater-error-message-error"><strong>Error</strong> (<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 More sharing options...
jvwjgames Posted May 14, 2018 Author Share Posted May 14, 2018 can someone please help me with this. Link to comment Share on other sites More sharing options...
twhiting9275 Posted May 16, 2018 Share Posted May 16, 2018 Your best approach is going to be to download and upload the upgrade, not rely on their updater, which is more problematic than anything Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted May 22, 2018 WHMCS Support Manager Share Posted May 22, 2018 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. -1 Link to comment Share on other sites More sharing options...
Recommended Posts