Support

Akeeba Backup for Joomla!

#20960 Backup CLI fails

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 evaret on Tuesday, 23 September 2014 02:44 CDT

evaret
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:

evaret

evaret
Somehow I skipped the Custom fields:
I red the forum
Joomla : 2.5.24
Akeeba: 3.11.4
PhP : 5.3.3
MySQL : 5.0.83
Host: 2Tcoud ( shared linux hosting)

I have a dozen sites running Akeeba Backup with CLI on the same platform. For months, everything runs OK, but suddenly all back-up jobs stopped suddenly with error “Failed” There are back-up files but they are less than 1Mb instead of 50MB. Manual backups run fine. I asked the host for help , he gave me this comment , removed the temp files, but still the CLI does not run correctly



>I investigated reported issue and found that old temporary file created
>for executing crontab result in root cause of issue.
>
>[root@linweb01 httpdocs]# ls -al /tmp/f102107_0
>-rw-r--r-- 1 f102107 pemcln 0 Jul 26 00:05 /tmp/f102107_0
>
>[root@linweb01 httpdocs]# crontab -lu f102107
>30 16 * * * if [ ! -f /tmp/f102107_0 ]; then touch /tmp/f102107_0;
>/usr/bin/php webspace/httpdocs/cli/akeeba-backup.php; rm -f
>/tmp/f102107_0; fi
>
>According to the script there is no "else" function to ignore if file
>already exists, so that whenever cron execute line "if [ ! -f<br /> &gt;/tmp/f102107_0 ]" it found that file exists in path "/tmp/f102107_0"
>and terminates without executing PHP line.
>
>In order to fix the issue I removed the file "/tmp/f102107_0", during
>the next cron it will run without any issue.

nicholas
Akeeba Staff
Manager
PHP 5.3.3 is buggy, more than four years old and no longer supported. You need at least PHP 5.3.4 to run our software.

We strongly recommend using at least PHP 5.3.28 (the last version of PHP 5.3, now end of life) or the latest version of PHP 5.4.

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!

evaret
I am aware of that, the Host promised an update soon. It worked fine for an long time, I did;t change anything on the site itself, do you think an update will solve the problem ?

Jules

nicholas
Akeeba Staff
Manager
Yes, it will. Akeeba Backup 3.5.0 up to 3.11.4 required PHP 5.3.3 at a minimum. The new version (4.0.x) requires PHP 5.3.4 or later as we're using certain language features which were extremely buggy in PHP 5.3.3.

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!

evaret
hello Nicholas,

The problem is solved by the hoster. There was an issue with the cron table.

Jules

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!