Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the forum before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! : 1.5.23
PHP version: php6 (on client) php 5.2.17 on Joomla server
MySQL version: (unknown)
Host: 1and1
Akeeba eXtract Wizard / Remote Control / SiteDiff version: REMOTE CLI 1.0
EXTREMELY IMPORTANT: Please attach the Remote Control and Akeeba Backup log files if you are reporting an Akeeba Remote Control issue, othrewise we can not help you
Description of my issue:
I was very happy that I had been able to successfully perform backups from a different (linux) host than the one where my Joomla is running. I put all the necessary commands into a shell script and could run the backups and have them downloaded to my other (client) host just fine.
At some point I decided to simply invoke the shell script from crontab to perform daily backups. Foolishly I did not think to verify that the whole process still worked as it should once I ran the script from crontab.
The backups still run but the backup file does not get downloaded to my client machine.
I then tried copying the command line from the script into cron - that changed nothing. The backups are still created on the server machine but not downloaded to the client machine.
Here is the command line (with secret word, ftp userid, and ftp password hidden) :
/usr/bin/php6 /kunden/homepages/26/d218031710/htdocs/JoomlaBackups/FWLive/remote.phar --action=backup --description="Remote CLI BACKUP for FWLive - saved at infong604 in /JoomlaBackups/FWLive " --download --dlmode=curl --host=http://folkworks.org --secret=secretxxx --dlurl="ftp://useridxxx:[email protected]:21/administrator/backups" --comment="this is a backup" --dlpath="/kunden/homepages/26/d218031710/htdocs/JoomlaBackups/FWLive"
I keep going 'round in circles thinking that there must be a problem with the command line but then realize that the command line can be run successfully if it is not run in crontab.
Desperate to find a solution I decided to try crontab again with the shell script and specifying a log file for the crontab output... Oddly, now the backup runs and the file is downloaded successfully.
This doesn't make a lot of sense to me. Can you explain why adding the log file for output would allow the download to run? and not having would prevent the download from working successfully?
I'm very puzzled.