Support

Akeeba Backup for Joomla!

#12514 Cronjob fails (follow up to #12502)

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 Thursday, 31 May 2012 03:09 CDT

metdick
Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: (2.5.4)
PHP version: (5.2.17 )
MySQL version: (5.1.59)
Host: (optional, but it helps us help you)
Akeeba Backup version: (svn1542(Alpha))


Good morning Nicholas,

I tried to add another comment to ticket #12502, but for some reason this fails. So I closed that ticket and start a new one here to follow up.

In #12502 you asked for a CLI log.
I could not send you a CLI log because there was none yet.
Now there is.
(I have attached it because there is a php warning in the end… you may want to look at it)

As you suggested I removed 5 of the cronjobs and kept the akeeba-backup.php
That still did not help.

Then I removed the --profile=2 from the command
That worked!
But we need profile2:
/usr/local/bin/php -f /home/onpole/domains/onpole.nl/public_html/cli/akeeba-backup.php --profile=2

Then I removed the -f from the command.
(/usr/local/bin/php -f is recommended by my host)
This worked!

So… somehow the -f flag conflicts with the --profile=2 in the command line.
That was the reason.
Hopefully it helps others.

Thanks for your time.

Greatings,

Dick

nicholas
Akeeba Staff
Manager
Hi Dick,

You should really never have to use the -f parameter. When you do, it screws up the options parsing in the URL due to a small bug/feature in PHP. Have you tried a command line like this:

/usr/local/bin/php /home/onpole/domains/onpole.nl/public_html/cli/akeeba-backup.php --profile=2

(without the -f parameter in the PHP binary, with the --profile-2 parameter to the script)

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!

metdick
Yes Nicholas,

I used:
/usr/local/bin/php /home/onpole/domains/onpole.nl/public_html/cli/akeeba-backup.php --profile=2

and that worked, as I wrote above.
The -f parameter is recommended in the CRONjob manual of the host.

Anyway... it works now.
(it was a little confusing here as we also looked at the bug that Pieter-Jan reported in #12490)

no problem

greetz and cu
Dick

nicholas
Akeeba Staff
Manager
OK, I;m glad it's all working!

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!