Support

Akeeba Backup for Joomla!

#8774 Remote FTP: not working

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
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

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by nicholas on Thursday, 20 January 2011 11:08 CST

user10128
Hi,
I was using dropbox for post processing and today I tried to transfer the backup file to a remote ftp server. Test check FTP settings and found ok.

But the following error appears for post processing:
"Invalid initial directory /Backup for the remote FTP server"

However, I have setup "/public_html/blog" as an initial directory in the configure settings.

/Backup is actually set for my dropbox post processing settings. The error says FTP Server and then /Backup as initial directory, which is very confusing. And I have thoroughly checked my settings many times but could not figure out. Hope you can reproduce this error at your end as well.

Thanks,
Shakir

nicholas
Akeeba Staff
Manager
I can not reproduce this locally. I think that you are trying to backup using the wrong profile. Please send me the URL and Super Administrator login details to your site by means of a direct Personal Message. I am user "nicholas". This will allow me to debug this issue directly on your server.

VERY IMPORTANT: Please include a link back to this post, otherwise it's impossible for me to know why you're sending me the PM.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user10128
Hi Nicholas,
PM sent with login credentials and the problem is with the default profile. I have created a copy of default profile by the name "temporary profile" as a double check but in vain.
Since u will be there on my server, any recommendation / suggestions /advices with related to your extensions or not, are greatly appreciated.

Appreciate your help sir.

nicholas
Akeeba Staff
Manager
There seems that a very rare timing error had occurred during one of the previous backups, causing the directory variable to "stick" to "/Backup". I updated the backup engine to expect that issue and work around it. I installed the fixed version on your site and, as you will see, it now works properly :)

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user10128
Hi Nicholas,
That is awesome. I really appreciate your off the way help from core of my heart.

All the best.

nicholas
Akeeba Staff
Manager
You're welcome! Thank you for your detailed bug report and for giving me access to your site. When I have direct access to the affected site I can reproduce, debug and resolve these hard-to-spot issues very easily :)

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user14076
Hi Nicholas,

At my site the remote FTP is also not working. Could you please have a look at it? I've sent you the login details in a PM.

Thank you!

nicholas
Akeeba Staff
Manager
This is a known bug I have fixed in the latest developer's release. Please install it and test it. Thank you in advance for your feedback!

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user14076
I just tried the latest developer release (svn397) but still no look. Instead of the username/password is invalid I get the following message:

[110120 07:51:05] Failed to process file /administrator/backups\site-uberclean.nl-20110120-074730.jpa
[110120 07:51:05] Error received from the post-processing engine:
[110120 07:51:05] Uploading /administrator/backups\site-uberclean.nl-20110120-074730.jpa has failed.

You still have access to my site with the login details I sent you earlier. Thanks for your help.

nicholas
Akeeba Staff
Manager
The problem is that you were using a part size of 15Mb. The problem is that the connection between your site's server and the FTP server is dead slow. After 90 seconds, those 15Mb were still not uploaded, causing a connection timeout error. I tried lowering that to 5Mb but it still takes forever to upload the backup parts. My next shot was lowering the part size to the ultra-low 1Mb. It still failed. It looks like even though there is a connection between the two servers, one of the following happens:
a. The connection is way too slow for any practical use
b. The FTP server requires active FTP (not passive FTP). You can check this with your FTP hosting provider. Do note that even though Akeeba Backup does have an option to perform active mode FTP transfers (just uncheck the "Passive mode" checkbox) not all web servers support it. More likely your web server will be behind a firewall which will be blocking such connections and cause the transfer to fail.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user14076
Thanks for you help. Unchecking the FTP passive mode did the trick. It's still a little weird because with my FTP client I can use passive transfers without any problems, using the same login details. So I still think there is a bug somewhere...

nicholas
Akeeba Staff
Manager
On the contrary, all hosts I work with require the passive mode and don't work with active mode :) So, it's not a bug, it's how the two servers (web server and remote FTP server) are set up.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
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!