Support

UNiTE, Remote CLI, eXtract Wizard

#21005 Wrong FTP initial directory - the directory doesn't correspond to your site's web root

Posted in ‘UNiTE and Remote CLI’
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
Tool
UNiTE
Tool version
n/a

Latest post by tampe125 on Tuesday, 23 September 2014 11:40 CDT

bobpit
 I got an email about updating Joomla to 3.3.4. I clicked the link and I ended up with this error:


An error occurred while installing the Joomla! package
Wrong FTP initial directory - the directory doesn't correspond to your site's web root

Then I went to CMS Update, I tried again to update Joomla, I got the same error.

The "FTP Root" field is correctly set to /nemeangames.org.

A quick search revealed that this is an error message from the kickstart script. So I thought to ask you.

tampe125
Akeeba Staff
Hello,

when do you get this error?
While performing the backup before updating or during the installation?
Regarding FTP, you are using the FTP Layer inside Joomla configuration, right?
In the FTP Root you should put the path that you can see inside Filezilla immediately after connecting to your server.

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

bobpit
This is the screen I see:
>>>>>
The new Joomla! version is being installed. It may take up to a few minutes. Please do not close this browser tab, do not navigate away from this page and do not let your device go to sleep mode.
0%
An error occurred while installing the Joomla! package
Wrong FTP initial directory - the directory doesn't correspond to your site's web root
<<<

The backup is completed. I think this is the beginning of the installation.

>>>
In the FTP Root you should put the path that you can see inside Filezilla immediately after connecting to your server.
<<<
Yes, this is how it works. But I can set any path through the filezilla bookmark. Correct?

tampe125
Akeeba Staff
Yes, you can set any path if you use a bookmark.
Can you please connect to your server without using any bookmark and copy the path you see right after being connected?
You have to supply that path, otherwise Joomla FTP layer can't work, the error you are receiving comes directly from Joomla, not from our software.

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

bobpit
I think you are right. The path is /home/xxxxxxx/nemeangames.org.

Funny thing is I cannot change it. Now I am trying to solve this error when saving from the admin:
>>>>
An error has occurred.
0
Could not write to the configuration file
<<<<

Which is a Joomla error.

tampe125
Akeeba Staff
Yep, because you are required to use the FTP layer in order to change your files, but it has wrong settings and it can't do that ;)
You have to manually edit your configuration.php file and put the correct path in the $ftp_root variable.

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

bobpit
Somehow the configuration fole was updated (even though Joomla initially had complained). After that Joomla 3.3.4 was installed.

Now I have a similar issue, when I want to update the JCE editor to the latest version. It gives me the following error:

Error
An error has occurred.

0 SSL certificate problem: unable to get local issuer certificate

tampe125
Akeeba Staff
If you can't change your Global Configuration settings, please set the permission to 0777 to the configuration.php file, do your changes, then revert the permissions to 0644.

Regarding the JCE error while updating, the error is thrown by Joomla! extensions updater, not our software and we can't help you.

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

bobpit
Ok, thank you for your help.

tampe125
Akeeba Staff
You're welcome!

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

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!