CPANEL-38651 - Cpanel transferred from home2 to home directory from another server
i have transferred cPanel's full backup from a hosting which shows Home2/username but where i transferred that shows /home/username so my site is not connecting and not working. can anyone tell me how to move from directory home2 to home? i have root access of /home/username server but would prefer WHM GUI guide as am not professional in commands.
Thanks
-
Hey there! When restoring a site from a backup, the home directory location normally should not matter. The only time that would be an issue is if there are tools that are hard-coded to use the /home2 path. Can you let me know what errors you're seeing that indicate the issue is related to the home directory? Once I know that, I can get you better details on how to proceed. 0 -
This sounds more as you have an absolute path somewhere in your website files that you'd need to change. Maybe search your web files for .php files with "home2" inside and replace those with "home"? @cPRex was faster :) :) 0 -
@cPAdminsMichael - I like when we say the same thing! 0 -
Hey there! When restoring a site from a backup, the home directory location normally should not matter. The only time that would be an issue is if there are tools that are hard-coded to use the /home2 path. Can you let me know what errors you're seeing that indicate the issue is related to the home directory? Once I know that, I can get you better details on how to proceed.
look, i have took full backup and uploaded to transfer tool in WHM backup restore... it was successfully restored. but site was not working and still not working, then i check the files but when i login to new cpanel and click file manager it goes to home2/username which is incorrect because all my cpanels use /home only. now i feel the issue with site is not working is home directory location. it should work and show me files when we click on file manager as for every other cpanel does, but only this cpanel goes to invalid directory home2/username.... Also the files are available when i manually click public_html under file manager... Hope you understand.0 -
This sounds more as you have an absolute path somewhere in your website files that you'd need to change. Maybe search your web files for .php files with "home2" inside and replace those with "home"? @cPRex was faster :) :)
site is wordpress based, tried to find if is there any directory mentioned in files but not getting. it seems whm/cpanel settings need to be adjusted.0 -
Thanks for the additional details. If you check WHM >> List Accounts does it show the partition as /home for that account? If not, you'll want to follow the steps here to change that on the system: How to change the document root for a cPanel account 0 -
It's possible the errors are related - if you want to have us check you're always welcome to submit a ticket to our team. 0 -
It's possible the errors are related - if you want to have us check you're always welcome to submit a ticket to our team.
sure, am opening ticket with you :)0 -
Please post the ticket number here once you have it so I can follow along. 0 -
Please post the ticket number here once you have it so I can follow along.
ticket submitted. Id #943647400 -
Thanks for that - I'm following along on my end now as well. 0 -
Update - this is scheduled to be fixed in version 100 when that is released. 0 -
Probably it was not full corrected, becouse I have the same problem. Transfer is from server with /home2 partition to new one with /home partition. I receive also on WordPress site error 500 with error: [08-Mar-2023 22:17:35 UTC] PHP Fatal error: require(): Failed opening required 'ABSPATHwp-includes/load.php' (include_path='.:/opt/cpanel/ea-php56/root/usr/share/pear') in /home2/xxxxxxxx/public_html/wp-settings.php on line 19 In any WordPress file there is no entry about home2 And there is also no file: /home/username/.cpanel/nvdata/defaultdir Is this file moved to another place ? :wq 0 -
@bejbi - this issue is about 18 months old now, so if you're seeing similar behavior it would need new work from our developers. If you have a system where you can reproduce this issue, can you create a ticket with our team so we can test this? 0 -
Thank you, I created ticket already: #94768155 0 -
It looks like our team was able to help get suexec installed and running and now the system is not having any issues. 0
Please sign in to leave a comment.
Comments
18 comments