First step is to check that as the post-commit script is invoked from
the web server, it can run with the web server user, i.e. if your web
server runs as the "apache" user, double check the behaviour of the
script:

sudo -u apache .../trac-post-commit-hook

The error output of the post-commit script is never sent back to the
subversion user (as the post-commit hook scripts is invoked once the
SVN request has been processed), so you need to use a redirection to a
debug log file from the script to see whether it is invoked, and if
the expected lines are executed.

HTH,
Manu

On 10/22/06, epaulin <[EMAIL PROTECTED]> wrote:
>
> hi, guys
>
> I have some problem when using the trac-post-commit-hook.
> It runs manually but not from svn, then I tested post-commit(some echo
> staff), it did runs.
> I didn;t have any clue now, any help appreciated!
>
> --
> Regards,
> epaulin
>
>
> >
>


-- 
Manu

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to