Support

Akeeba Backup for WordPress

#28836 Unable to excute backup

Posted in ‘Akeeba Backup for WordPress’
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

WordPress version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by on Sunday, 14 January 2018 17:17 CST

gtcnetworking
Hi
I have struck a problem with backing up a Wordpress site, that I have never struck before
the backup fails just after data base backup with

SplFileInfo::isDir(): open_basedir restriction in effect. File(/var/www/vhosts/4dart.com.au/httpdocs/trafficplesk.php) is not within the allowed path(s): (/var/www/vhosts/4dart.com.au/:/tmp/)

It is not a problem with other Wordpres sites on teh same server. I have tried going back to PHP 5.6 but maske no difference. I have tried un-installing Akeeba and re-installing.

Funny thing is I cannot find any trace of the trafficplesk.php that it is trying to backup ?
Even if I SSH to CLI I cannot find it .

Log attached

Any ideas ?

nicholas
Akeeba Staff
Manager
First try to exclude this file. If this doesn't work, contact your host: I'm afraid that they have created a symlink to an off-site file inside your public web directory. Since trying to query the symlink your host created without your consent causes PHP to terminate due to a patch your host installed without your consent there's nothing anyone can do about it except your host (remove the symlink or allow it to be read).

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!

gtcnetworking
Hi
Just to let you know it was a Symlink.
I migrated this site from a really old server. (the symlink was dated 2007) using SSH
and it transferred the symlink with it (even though it went no-where)

Thanks Again

nicholas
Akeeba Staff
Manager
That makes some sense. However, even if a symlink is unreadable or outside the open_basedir paths the backup won't normally terminate. PHP is supposed to return false in all our queries about the status of the symlink which merely causes Akeeba Backup to print a warning about the file being unreadable. The backup termination upon querying the status of the symlink would indicate that your host has installed some PHP patch which makes PHP die with a fatal error upon querying the status of off-site files and folders. Keep that in mind if you start getting inexplicable white pages / 500 Internal Server Error all of a sudden.

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!