Support

Akeeba Backup for Joomla!

#37804 CRON backup failing after site upgrade to Joomla 4

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
4.2.3
PHP version
8.1
Akeeba Backup version
9.3.1

Latest post by corbmite on Thursday, 29 September 2022 08:19 CDT

corbmite

Hi

I recently upgraded from joomla 3.10, before which CRON backup was working fine daily.

After upgrade to Joomla 4 I amended my CRON job instruction as per your instructions and now the job fails with the report:

/bin/bash: /home3/yorkshi1/public_html/cli/joomla.php: Permission denied

Do you have any advice please?

The current permissions for that file are set at the default 0644.

System Task
system
The ticket information has been edited by Chris Ansell (corbmite).

tampe125
Akeeba Staff

Hello,

as explained in the docs (https://www.akeeba.com/documentation/akeeba-backup-joomla/automating-your-backup.html#native-cron-script) you have to put the path to the PHP binary before the path to the joomla.php file.

Usually it's  /usr/local/bin/php , but you should ask your host for the correct path.

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!

corbmite

Many thanks. Yes, all down to me not entering the path to php properly. Thank you for your patience!

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!