Sudipto Mahmud Posted Saturday at 08:49 AM Share Posted Saturday at 08:49 AM Update error Error: WHMCS\Installer\Update\Updater->performFileUpdate() at /home/user/domains/domain.com/public_html/domain/admin/update.php:0 WHMCS\Installer\Composer\ComposerUpdate->update() at /vendor/whmcs/whmcs-foundation/lib/Installer/Update/Updater.php:0 WHMCS\Installer\Composer\ComposerUpdate->doComposerCommand() at /home/user/domains/domain.com/public_html/domain.com/vendor/whmcs/whmcs-foundation/lib/Installer/Composer/ComposerUpdate.php:0 WHMCS\Installer\Composer\ComposerUpdate->{closure:WHMCS\Installer\Composer\ComposerUpdate::update():586}() at more...... 0 Quote Link to comment Share on other sites More sharing options...
ohthatmew Posted 23 hours ago Share Posted 23 hours ago Should solve it: 0 Quote Link to comment Share on other sites More sharing options...
Provonic Posted 7 hours ago Share Posted 7 hours ago Hi Sudipto, That trace shows the updater failing during the file-update (Composer) step, but the actual error message isn't included. It's usually the first line above the trace, or you'll find it in Utilities > Logs > Activity Log right after the failed attempt. Could you post that line (with paths/secrets removed)? Meanwhile, these are the usual causes at that step: PHP 8.4: if the site runs on PHP 8.4, there's a known issue updating 9.1.0 → 9.1.1 on 8.4 (errors mentioning the illuminate package). Switch the domain to PHP 8.3, run the update, then switch back. See: https://whmcs.community/topic/367815-issue-with-updating-910-911-on-php-8427/ Update staging path: under Utilities > Update WHMCS > Configure Update Settings, the temporary path must exist, be writable by the PHP user, sit outside public_html, and have free disk space (roughly 3× your WHMCS install size). File ownership/permissions: after a migration or a restore done as root, some files may not be owned by your account user, so the updater can't overwrite them. Fix ownership of everything under the WHMCS folder. PHP limits: memory_limit of at least 256M and max_execution_time of 300+ during the update. ionCube Loader: must be a version that supports both the target WHMCS release and your PHP version. If it still fails, a manual update is safe: take a full file and database backup, download the full release zip from the WHMCS Members Area, upload it over your install (keep configuration.php and your custom admin folder name if you renamed it), then visit /install/ to run the database upgrade and delete the install folder afterwards. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.