Support

Akeeba Backup for Joomla!

#14950 ftp( and dropbox) not sending

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 Friday, 08 February 2013 06:51 CST

user72579

Mandatory information about my setup: Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: 2.5.9
PHP version: 5.3.15
MySQL version: 5.5.23-55
Host: HostGator
Akeeba Backup version: 3.6.12 Pro

EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it. Description of my issue:

Does backup and then problem at post backup.

Tried ftp and dropbox same problem.

Did cpanel backup to ftp with no problems - to check the hosting...

nicholas
Akeeba Staff
Manager

Did cpanel backup to ftp with no problems - to check the hosting...

This is an irrelevant test. cPanel's backup runs as a system process with no CPU usage / time limit restrictions. Akeeba Backup is a PHP script which runs with CPU usage and time limit restrictions. Moreover, since Akeeba Backup is running inside your web server it is also possible that there are additional restrictions to which external servers it can contact, restrictions which do not apply to cPanel's backup (because that one is running as a system process, of course!). In other words what you did is like driving your car to make sure that the sea is not too rough for a boat ride. It doesn't make much sense and doesn't give you any other insight than knowing that cPanel's backup works.

Regarding your FTP transfer I see that you have a single file which is 142308328 bytes (135.72 Mb) big. It is too big. Why? It's what I explain in the Basic Configuration section of the documentation:

PHP always has a strict time limit, i.e. the maximum time a PHP page may process data before the web server aborts it. Uploading the backup archives to cloud storage takes time, the exact amount of which depends on the size of the file and the network speed. The time limit and the bandwidth are beyond our control, so we can change the only parameter we can touch in order to avoid timeouts: the file size. Akeeba Backup Professional is smart enough to upload each part of the backup archive on a PHP page load of each own, so as to avoid timing out.

So, you just have to use a Part Size for Split Archives in the area of 10-20Mb. This will split your backup in 7 to 14 files with extensions .jpa, .j01, .j02 and so on. Each one of those smaller files can be successfully transferred.

If this doesn't work you will have to contact your host and ask them if there is a firewall blocking connections to external servers from inside a PHP script.

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!

user72579

Hi Niko

Changed the size to 20mb.

No fix. Still getting no transfers...

Any suggestions?

nicholas
Akeeba Staff
Manager

This time I see that your backup fails because of your host's CPU usage limits. You can try using the following configuration parameters in Akeeba Backup's Configuration page:

  • Minimum execution time: 1 second
  • Maximum execution time: 7 seconds
  • Runtime bias: 50%

If this doesn't work, please use the following settings:

  • Minimum execution time: 5 seconds
  • Maximum execution time: 3 seconds (yes, the maximum is less than the minimum, it's not a typo)
  • Runtime bias: 50%

If all else fails please ZIP an attach your new backup log file.

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!

user72579

Tried both possible solution with no luck...

 

Always somthing like:

...

130208 05:14:01] ====== Starting Step number 19 ======
[130208 05:14:01] AECoreDomainFinalization::_run() Running built-in method run_post_processing
[130208 05:14:01] Loading post-processing engine object (ftp)
[130208 05:14:01] Beginning post processing file <root>/administrator/components/com_akeeba/backup/site-carpos.gr-20130208-130708.jpa
[130208 05:14:01] AEPostprocFtp:: Connecting to remote FTP
[130208 05:15:07] Failed to process file <root>/administrator/components/com_akeeba/backup/site-carpos.gr-20130208-130708.jpa
[130208 05:15:07] Error received from the post-processing engine:
[130208 05:15:07] Uploading <root>/administrator/components/com_akeeba/backup/site-carpos.gr-20130208-130708.jpa has failed.
[130208 05:15:07] Not removing processed file <root>/administrator/components/com_akeeba/backup/site-carpos.gr-20130208-130708.jpa
[130208 05:15:07] ----- Finished operation 1 ------
[130208 05:15:07] Successful Smart algorithm on AECoreDomainFinalization

...

I can send you the full log if needed.

 

nicholas
Akeeba Staff
Manager

No your backup does complete, the upload doesn't. In fact, I see that you are suffering from a connection timeout to your FTP server.

Frist triple check your FTP settings in Akeeba Backup's configuration. If the Test FTP Connection button reports a success you have an FTP connection so you might want to toggle the Passive Mode checkbox to get the file transfer complete and/or check the FTP Directory (you can use the browse button next to it to make sure you have selected the correct directory). If this doesn't help you should check the permissions of that directory on your FTP server. If the Test FTP Connection returns an error you have to check that all of your connection settings are correct or ask your host if they have a firewall blocking your access to the remote FTP server.

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!

user72579

Niko testing the ftp gets success:

FTP Connection Test

Connection to remote FTP server was established successfully!

 

Browsing the directory does NOT work???!!!

Tried with dropbox with same problems... so i do not think it is an Ftp server problem....

 

Can try something else if you think of....

Mixalis

nicholas
Akeeba Staff
Manager

This actually tells me that it is a problem with your web server, most likely a firewall. Please contact your host.

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!

user72579

tried other ftp and worked.

So it seems there is something strange in my ftp.

Thanks for your time Niko

nicholas
Akeeba Staff
Manager

You're welcome :)

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!