Support

Akeeba Backup for Joomla!

#27471 Permission denied when backing up with cron

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 on Wednesday, 03 May 2017 17:17 CDT

[email protected]
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:

When I try to run "/etc/php.ini /var/www/vhosts/liftsymposium.org/httpdocs/cli/akeeba-backup.php --profile=2" I get a permission denied error. Akeeba-backup.php has permission 755.

tampe125
Akeeba Staff
Hello,

the log you posted doesn't have enough information.
Please set the log level to All info and debug, then take another backup and attach here the new log, so I can see what's actually happening.

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!

[email protected]
Hi Davide,

The log file i attached was not the correct log file for the failed backup.
I don't think that a log file is being generated when I try to use the cron to do a backup.
This would suggest permission is being denied before any akeeba php is run.

tampe125
Akeeba Staff
I just reviewed your command, and that's the cause of your issue:
/etc/php.ini /var/www/vhosts/liftsymposium.org/httpdocs/cli/akeeba-backup.php --profile=2

php.ini is not the correct executable to invoke, that's the configuration file for PHP. You should contact your host and ask him the correct full path to your PHP executable for CLI usage.

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!

[email protected]
Thanks very much. All working correctly now!

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!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!