Support

Akeeba Backup for Joomla!

#22448 CLI Cronjobs error since last update

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 tampe125 on Monday, 13 April 2015 04:25 CDT

heinz.riedener
CLI backup ran without any problems a long time!

Since last update the cli cronjob ended with failure - see following details.

Would there by any problem on my side?

INFO:

Current version:
Akeeba Backup Professional 4.2.0 (2015-04-01)

Cli cronjob ended with failure:
Error message (Cron …. Akeeba-backup.php (failed)

Content of error message:
/is/htdocs/wp11139549_WO7D975BX4/html/joomla3/cli/akeeba-backup.php: line 1: ?php: No such file or directory
/is/htdocs/wp11139549_WO7D975BX4/html/joomla3/cli/akeeba-backup.php: line 2: /bin: is a directory
/is/htdocs/wp11139549_WO7D975BX4/html/joomla3/cli/akeeba-backup.php: line 3: html: command not found
/is/htdocs/wp11139549_WO7D975BX4/html/joomla3/cli/akeeba-backup.php: line 4: syntax error near unexpected token `('
/is/htdocs/wp11139549_WO7D975BX4/html/joomla3/cli/akeeba-backup.php: line 4: ` * @copyright Copyright (c)2010-2014 Nicholas K. Dionysopoulos'

Thank you for your help!
Heinz

tampe125
Akeeba Staff
Hello Heinz,

please double check your CLI command, it seems that the CLI script is not interpreted as PHP file, but as a BASH one. Most likely the path you provided to your PHP executable is wrong.

Please take a look at the Scheduling information page inside your Akeeba Backup installation or contact your host for the correct command to use.

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!

heinz.riedener
Thanks for your prompt freedback.

It was a hosteurope.de problem - I had to ad the SheBang (#!/usr/bin/php) at the begin of the akeeba-backup.php again. It's a very different way how it works with this hoster.

Best regards,
Heinz

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!