Support

Akeeba Backup for Joomla!

#25590 Temp directory is the same as the site root

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 Friday, 12 August 2016 17:20 CDT

carriegrubbs
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:
I have the error that tmp directory is the same as the root site. Under my global config path, the path ends with tmp. I called my hosting company, but they said they needed further directions in order to point to another folder. Is this what I need to do and if so, could you give me specific directions? I have several Joomla sites on one cpanel. There is not a tmp file in the root of the cpanel. However, each specific joomla site has a tmp file in it's folder. Thank you

nicholas
Akeeba Staff
Manager
When the path to temp-directory you have entered in your Joomla Global Configuration does not exist or is not writeable Joomla uses your site's root as the fallback tmp directory and reports that to its extensions. Akeeba Backup is therefore told by Joomla that the temp-directory is your site root and refuses to proceed with a backup since this is a condition that leads to partial, practically useless backups.

Please consult with your host again and ask them to check very carefully if the path to the temp-directory defined in your Global Configuration (therefore: in your site's configuration.php file):
  1. Exists
  2. Is within the open_basedir path (if open_basedir restrictions are in effect)
  3. Has the correct ownership and permissions to be directly writeable by the PHP process used to serve your site's index.php and administrator/index.php files.


They will see that either 1 or 2 are false. In this case they can give you the correct path to put in the Global Configuration.

PS: To make sure that what I just said is indeed the case I deliberately modified the temp-directory of one of my development sites, putting in a path to a directory that doesn't exist. Sure enough, I got the same error message as you did. Sure enough, resetting the temp-directory path to something that exists and is writeable makes the error message go away.

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!

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!