Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB
Registered in England and Wales No 3027851 VAT Reg No 778499447
> From: news [mailto:news_at_ger.gmane.org] On Behalf Of Mala Dibbs
> Sent: 08 October 2009 13:04
> To: users_at_subversion.tigris.org
> Subject: Svnsync in post-commit hook doesnt do a thing
> this is my post-commit hook:
> /usr/bin/svnsync synchronize https://example.net/svn/test
> --non-interactive \
> --username=svnsync --password=\!svn4995 >/dev/null
> 2>/dev/null & exit 0
> It is chowned to www-data and has chmod +x.
> Unfortunately it does not syncronize the mirror automatically
> after each commit.
> It doesnt do anything. Yet it works, when i call it manually
> with ./post-commit
> What could be the problem here? Where do i find verbose logging?
> (apache2/error.log does not show anything abnormal).
> The only thing I could think of which brings the process to
> fail is the untrusted SSL certificate on the mirror
> (self-signed, wrong domain). When I ran svnsync for the first
> time (manually) I accepted the certificate permanently but
> since the post-commit hook is executed without any
> environment variables, the hook might just not know about the
> certificate exception and won't connect to the mirror.
> Is that possible? How could I fix that?
> Greets, Mala
I think that if you start and stop redirecting any output and any error to /dev/null maybe you will have something that would help you finding out the cause of the problem.
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-08 14:19:55 CEST