Support

Akeeba Backup for WordPress

#21866 Cronjob error APATH_BASE

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 tampe125 on Wednesday, 14 January 2015 10:50 CST

user61484
I can't bring automatic backups via cronjob to work and receive ervery time a error code 255, but I think that have something to do with the provider. This provider cannot help me anymore, so may be the following output gives you a hint. It seems there is a problem with the path. What do you think?

Akeeba Solo CLI 1.2.1 (2015-01-11)
Copyright (C) 2010-2015 Nicholas K. Dionysopoulos / Akeeba Ltd
-------------------------------------------------------------------------------
Akeeba Solo is Free Software, distributed under the terms of the GNU General
Public License version 3 or, at your option, any later version.
This program comes with ABSOLUTELY NO WARRANTY as per sections 15 & 16 of the
license. See http://www.gnu.org/licenses/gpl-3.0.html for details.
-------------------------------------------------------------------------------
You are using PHP 5.4.34 (cli)

Starting a new backup with the following parameters:
Profile ID  1
Description "Command-line backup"

Current memory usage: 1.59 Mb

Unsetting time limit restrictions.

Site paths determined by this script:
APATH_BASE : /html/wordpress/wp-content/plugins/akeebabackupwp/app

tampe125
Akeeba Staff
Hello Steffen,

that's not an error: Akeeba Backup outputs the calculated site paths during the script.
This is the whole log available?
Can you please double check if you have any error in your error log?
Can you please try to launch it again, using the debug mode? You simply have to append --debug=1 to the CRON command.

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!

user61484
Hello Davide, thank you for your support. Unfortunatly we have no access to the server error logs (is a managed server). Everthing I get is the log above, even with --debug=1. So, more ideas?

Loud thinking: APATH_BASE

/html/wordpress/wp-content/plugins/akeebabackupwp/app


is not the physical path on server, it's the puplic html folder. The cronjob is

php_cli /home/www/xxxxxx/html/wordpress/wp-content/plugins/akeebabackupwp/app/cli/backup.php --profile=1 --debug=1


Maybe Akeeba take the wrong path.

tampe125
Akeeba Staff
The APATH_BASE constant should return the absolute path, the same you are putting in the CRON command.
You should talk with your host about this issue, since I suspect your CLI process is inside a chroot "jail".

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!

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!