I had to transfer cpanel accounts from one hdd to another. So, I used rearrange account function.
for more than 60 accounts it work well.
but approx 10 accounts gave error. It does not open website after transfer to new hdd on same server.
I again used rearrange for the same cpanel account (website) to transfer back to old hdd. It worked fine. But, it was not solution.
When I transferred account via rearrange, whm was having version 92.xxxx.
I again tried after upgrading version of whm to 94.0.2. It gave same issue. So found solutions as follows by using only two command lines. after rearrange one account.
This is actually a known issue with the Rearrange An Account feature. Internal case CPANEL-17085 is open to address an issue where using WHM >> Account Functions >> Rearrange an Account to move an account to a new drive does not automatically update the PHP-FPM configuration file for the account’s domains. I’ll monitor this case and update this thread once the solution is published. In the meantime, the workaround is to run the following commands to ensure the PHP-FPM configuration files are updated to reflect the new paths:
Code:
/scripts/php_fpm_config --rebuild
/scripts/restartsrv_apache_php_fpm
Website started working fine with new location too.
