Support

Site Restoration

#23730 Problems Moving Site Between Hosts with Different Root Directoy home2

Posted in ‘Site restoration’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by on Friday, 18 December 2015 17:20 CST

sydneyartschool
 I am moving/restoring a site between 2 different accounts on the same host. (To create a test environment.

The root directory of the source account was /home/accountname-old/public_html
The root directory of the destination account is /home2/accountname-old/public_html

The problem is that in the restore Directories Fine Tuning page the restore page identifies the site root a /home NOT /home2 even though it is in an account that has the root as /home2.

There is no way to amend the site root in Directories Fine Tuning.

When I install the site there are many errors being generated.
For instance when installing a new template for instance I get the following

Warning
JFolder::create: Path not in open_basedir paths.

Any ideas on how to fix this?

dlb
Where did home2 come from? The open_basedir restrictions are set up by your host, it is unlikely that you can change them. It has to do with the way the server is set up and security between different accounts. You need to contact your host and ask them to put home2 in your open_basedir allowed path. Then you will need to do the restore again into the proper path.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

sydneyartschool
Hi Dale

/home2 is in my open_basedir

The problem is that in Angie the directories fine tuning thinks that /home is the top level directory Site Root and this cannot be overwritten
(/home was the site root in the source location)

So now in the "restored" site some Joomla functions still thinks the site root is /home/sitename/public_html - but fails because it does not exist - the real site root starts with /home2

does that make sense?

dlb
It makes sense all except the part where the path is wrong. That should be the path from the root of the server to kickstart, that is calculated, not restored. Is your kickstart in home2? Is there both a home and a home2 on this account?


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!