Support

Akeeba Backup for Joomla!

#8695 different timeout between manual and command line backups?

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 Sunday, 07 November 2010 02:36 CST

user191
Hi, I have a backup profile with FTP as final action and it works perfectly when invoked manually. The "part size for split archive" is around 30 Mb.
With this profile invoked via command line (backup.php in cron) it always fails. I tried to lower the split size from 30 to 20 and to 10 and no change. The log says
.....
DEBUG |101106 15:58:54|
DEBUG |101106 15:59:03|
ERROR |101106 15:59:04|Akeeba has timed out
ERROR |101106 15:59:04|KETTENRAD_TIMEOUT
DEBUG |101106 15:59:04|

I see no file being written to the ftp location, so maybe the timeout is not related to the split size?
What to do?
Thanks
Giuse

nicholas
Akeeba Staff
Manager
As documented you have to use the PHP CLI binary. You are using the PHP CGI binary which has a time limit of 30 seconds and causes the backup process to fail. Please ask your host for the absolute path to the PHP CLI binary and use it in your CRON command line.

In the documentation page I linked you to, there is more information about what you have to do on cPanel hosts. If your host is using cPanel, please try that first before asking your host about the PHP CLI binary.

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!

user191
Thanks and sorry not to have well read the documentation.
cheers

Giuse

nicholas
Akeeba Staff
Manager
In all fairness, very few users read it through. I am glad I could help :)

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!