Support

Akeeba Backup for Joomla!

#9103 I get an administrator/components/com_akeeba/backup.php: Permission denied

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 Monday, 17 October 2011 03:58 CDT

user47707
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? No
Have I searched the forum before posting? No
Have I read the documentation before posting (which pages?)? No
Joomla! version: (unknown)
PHP version: (unknown)
MySQL version: (unknown)
Host: (optional, but it helps us help you)
Akeeba Backup version: (unknown)

EXTREMELY IMPORTANT: Please attach your Akeeba Backup log file in order for us to help you with any backup or restoration issue.

Description of my issue:
When I try to use the Remote FTP Backup I get the following error:
administrator/components/com_akeeba/backup.php: Permission denied

What I have to do?
Thanks

regards

nicholas
Akeeba Staff
Manager
This file you mention is not supposed to be called directly, yet it seems that you are calling it directly. Since I am not sure what "Remote FTP Backup" refers to (I can think of three or four completely different things), please tell me exactly which steps you followed to get this error message so that I can understand the problem and help you.

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!

user47707
Hello,

I have configured the Remote Ftp and on the Server I have create an Cron Job with the following line:
administrator/components/com_akeeba/backup.php

now I get on email this messeage:
/bin/sh: /is/htdocs/wp10840899_9MHNMG0DNY/virtualcallscombr/administrator/components/com_akeeba/backup.php: Permission denied

thanks

regards

nicholas
Akeeba Staff
Manager
OK, that makes sense now. It sounds like you have a permissions issue which doesn't allow your CRON daemon to run the backup.php file. First, make sure that you have upgraded to Akeeba Backup 3.3.4 to make sure that we're on the same page. Then try changing the permissions of the administrator/components/com_akeeba/backup.php file to 0755. This should work.

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!

user47707
I have change the permission and now I get the following message in me email
/is/htdocs/wp10840899_9MHNMG0DNY/xxxxxxx/administrator/components/com_akeeba/backup.php: line 1: ?php: No such file or directory
/is/htdocs/wp10840899_9MHNMG0DNY/xxxxxxx/administrator/components/com_akeeba/backup.php: line 2: /**: No such file or directory
/is/htdocs/wp10840899_9MHNMG0DNY/xxxxxxx/administrator/components/com_akeeba/backup.php: line 3: aokolbe: command not found
/is/htdocs/wp10840899_9MHNMG0DNY/xxxxxxx/administrator/components/com_akeeba/backup.php: line 4: syntax error near unexpected token `('
/is/htdocs/wp10840899_9MHNMG0DNY/xxxxxxx/administrator/components/com_akeeba/backup.php: line 4: ` * @copyright Copyright (c)2009-2011 Nicholas K. Dionysopoulos'

xxxxxxx= is the folder of the website

nicholas
Akeeba Staff
Manager
Well, this can only mean one thing: you are using the wrong command line in your CRON setup. You are trying to call the PHP file directly, but the PHP file, of course, is not an executable binary file! You have to pass it through PHP. Please do read the documentation again, very carefully. You are missing the first half of the command line there.

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!