Support

Site Restoration

#29510 Kickstart error: Wrong FTP initial directory - the directory doesn't exist

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, 11 May 2018 17:17 CDT

peteclifford1958
I am trying to create a copy of my Joomla website in a subdomain. The subdomain has been created, and Joomla has been installed. I can FTP to it using CuteFTP and from the DOS command prompt.

I tried using the Site Transfer Wizard but get the message "cURL Error 3 connecting to remote FTP server: Bad URL". The URL I am entering is the URL of my new website. If I enter that in a browser address bar, the default Joomla homepage appears, so I'm pretty sure I've not mis-typed anything.

I tried using kickstart.php. When I click on the Test FTP button, I get the error message "Wrong FTP initial directory - the directory doesn't exist". I have tried all sorts of options in the (S)FTP directory field but cannot get anything to work. I confess I don't actually understand what directory you are asking me to specify there.

Can you help please?

peteclifford1958
OK, this could be relevant.

The kickstart video says to put the kickstart.php file in public_html. I didn't do that, as I cannot run it from public_html as I have my main domain redirected to a joomla subdirectory of public_html

/public_html/joomla30

I was trying to get this to work with kickstart.php and my backup file in the joomla directory for my new website, which is:

/public_html/glos-ancestry/joomla30

Can kickstart be run from a subdirectory of public_html?

The basic objective in all this is to create an exact copy of my website which I can then modify for a different "brand", i.e. the website will be pretty much identical but with a few changes to text and styling.

dlb
Yes, Kickstart can run from a subdirectory. You need to have kickstart.php and your backup archive in the same folder. Then run kickstart.php.

You probably don't need FTP for Kickstart, just use "Direct writes". That normally works, FTP mode is for solving permissions problems.

From your description I think you're OK, but keep in mind that any .htaccess file in public_html will be inherited by sites in subdirectories.


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)

peteclifford1958
OK, I'll try that, but, just before I do, I need to make sure Kickstart is not going to overwrite my main website.

If I'm running kickstart from, say, /public_html/glos-ancestry/joomla30 and leave the (S)FTP directory blank (as it is by default), where will kickstart restore the files to? I need them to go into /public_html/glos-ancestry/joomla30. It would be potentially catastrophic if they go into /public_html or, worse still, overwrite files in /public_html/joomla30.

Any guidance you can give me?

dlb
The extraction will use the current folder as the root of the restored site.


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!