Byrne Reese on 24 Feb, 2011 08:00 PM
Thank you for contacting us. Testing rsync running within the
context of Movable Type can be a little challenging I admit,
because Movable Type tends to swallow a lot of useful output. There
are a couple things I can recommend though that will help bring
these messages to the surface.
1) Turn on DebugMode. Set the config directive's value to 4 (at
least). Consult the documentation online to learn more about
2) David Raynes has an exceptional plugin, which will hopefully
become core to Melody one day, called Task
Master. It is free and allows you to invoke a task normally run
via run-periodic-tasks on demand. This allows you to
trigger and re-trigger an event so that you can more easily monitor
its performance and its output.
3) Make sure that in your tests you invoke rync using the same
user under which the crontab is being run. Make sure you test that
the user and the remote user all have access to run the commands
specified. If you can provide us with the output from your test
commands, that will be helpful as well.
Byrne Reese on 25 Feb, 2011 07:46 PM
Well it seems you are doing the right thing. But it is a little
hard to tell to be honest. The only thing I see you are going
different than the documentation are the options you are using for
rsync. Have you tried a different set of options, or the more
minimal set as specified by the documentation?
Also, you might consider adding a
logfile option to rsync. That might give you more information
to help you troubleshoot.
I have further simplified the mt-config.cgi configuration to
RsyncOptions -e ssh
but I'm still not seeing any rsync activity.
My gut tells me that the rsync session wasn't initiated.
Otherwise we should be seeing some records in the activity log with
DebugMode enabled. Speaking of which, where could I see the outputs
from DebugMode? I can't find any MT-related records in /var/log
Jay Allen on 30 Nov, 2011 07:12 PM
Hi mailtonzj. Please accept our apologies for not responding
until now. I'm going through the system looking for straggler posts
like this one and wanted to know if this issue is still relevant
for you. If so, please let me know so I can bump it up on our
Once again, sorry to have dropped the ball. We aim to do better
in the future.