You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Peter Milner <pe...@hotmail.com> on 2006/04/17 20:01:37 UTC

Problem committing new files (PROPFIND request gets 500 err)

've been having some strange problems committing to an svn repository served 
by Apache2 over https. It only seems to occur over https, not http.

I am able to authenticate, checkout a working copy, create initial directory 
structure and commit that ... but when I try to create a new file and commit 
the new file I get the following error:

svn: Commit failed (details follow):
svn: PROPFIND request failed on '/svn/trunk/test2.tmp'
svn: PROPFIND of '/svn/trunk/test2.tmp': 500 Internal Server Error 
(https://myserver.com)

However, if I create a new directory and put a file in that new directory, I 
can commit that without any problems. Which I don't understand ...

So far I've only encountered this problem when creating a new file by 
itself. This problem occurs for every user currently accessing the 
repository.

Does anyone have any ideas what I might be doing wrong?

To summarize: I can checkout a working copy, create directories, create a 
file at the same time I create its parent directory, delete files, delete 
directories, modify existing files, and update my working copy ... but when 
I try to create a new file on its own, I get the 500 error as described 
above.

Here are the offending entries in the Apache access logs:

?.?.?.? - - [12/Apr/2006:15:00:21 -0400] "OPTIONS /svn/trunk HTTP/1.1" 200 
183 "-" "SVN/1.2.3 (r15833) neon/0.24.7"
?.?.?.? - - [12/Apr/2006:15:00:21 -0400] "MKACTIVITY 
/svn/!svn/act/4225fd8b-3c11-0410-9909-a5816c4fc54d HTTP/1.1" 401 - "-" 
"SVN/1.2.3 (r15833) neon/0.24.7"
?.?.?.? - user [12/Apr/2006:15:00:21 -0400] "MKACTIVITY 
/svn/!svn/act/4225fd8b-3c11-0410-9909-a5816c4fc54d HTTP/1.1" 201 418 "-" 
"SVN/1.2.3 (r15833) neon/0.24.7"
?.?.?.? - - [12/Apr/2006:15:00:21 -0400] "PROPFIND /svn/trunk HTTP/1.1" 207 
428 "-" "SVN/1.2.3 (r15833) neon/0.24.7"
?.?.?.? - - [12/Apr/2006:15:00:21 -0400] "PROPFIND /svn/!svn/vcc/default 
HTTP/1.1" 207 389 "-" "SVN/1.2.3 (r15833) neon/0.24.7"
?.?.?.? - user [12/Apr/2006:15:00:21 -0400] "CHECKOUT /svn/!svn/bln/10 
HTTP/1.1" 201 433 "-" "SVN/1.2.3 (r15833) neon/0.24.7"
?.?.?.? - user [12/Apr/2006:15:00:21 -0400] "PROPPATCH 
/svn/!svn/wbl/4225fd8b-3c11-0410-9909-a5816c4fc54d/10 HTTP/1.1" 207 349 "-" 
"SVN/1.2.3 (r15833) neon/0.24.7"
?.?.?.? - - [12/Apr/2006:15:00:21 -0400] "PROPFIND /svn/trunk HTTP/1.1" 207 
385 "-" "SVN/1.2.3 (r15833) neon/0.24.7"
?.?.?.? - user [12/Apr/2006:15:00:21 -0400] "CHECKOUT /svn/!svn/ver/10/trunk 
HTTP/1.1" 201 436 "-" "SVN/1.2.3 (r15833) neon/0.24.7"
?.?.?.? - user [12/Apr/2006:15:00:21 -0400] "PROPFIND /svn/trunk/test2.tmp 
HTTP/1.1" 500 2867 "-" "SVN/1.2.3 (r15833) neon/0.24.7"
?.?.?.? - user [12/Apr/2006:15:00:21 -0400] "DELETE 
/svn/!svn/act/4225fd8b-3c11-0410-9909-a5816c4fc54d HTTP/1.1" 204 - "-" 
"SVN/1.2.3 (r15833) neon/0.24.7"

_________________________________________________________________
Powerful Parental Controls Let your child discover the best the Internet has 
to offer. 
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
  Start enjoying all the benefits of MSN� Premium right now and get the 
first two months FREE*.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Problem committing new files (PROPFIND request gets 500 err)

Posted by Peter Milner <pe...@hotmail.com>.
> 
> > 've been having some strange problems committing to an svn repository
> > served
> > by Apache2 over https. It only seems to occur over https, not http.
> >
>
>So this problem only happens over https?  It works without problems if you
>access the SAME repository over http?
>

Correct, I can commit to the same repository without any problems over 
regular http.

> > I am able to authenticate, checkout a working copy, create initial
> > directory
> > structure and commit that ... but when I try to create a new file and
> > commit
> > the new file I get the following error:
> >
> > svn: Commit failed (details follow):
> > svn: PROPFIND request failed on '/svn/trunk/test2.tmp'
> > svn: PROPFIND of '/svn/trunk/test2.tmp': 500 Internal Server Error
> > (https://myserver.com)
> >
> > However, if I create a new directory and put a file in that new 
>directory,
> > I
> > can commit that without any problems. Which I don't understand ...
> >
>
>So if you add a directory with a file inside the commit succeeds.
>If you add just the directory, the commit succeeds.
>If you add just the file, the commit fails.
>

Correct again. This is the part that really baffles me.

> > So far I've only encountered this problem when creating a new file by
> > itself. This problem occurs for every user currently accessing the
> > repository.
> >
> > Does anyone have any ideas what I might be doing wrong?
>
>I've never come across a problem like this!  Generally either nothing
>works, or everything works.  Have you tried with different clients?
>

I've been doing my testing using the default svn terminal client that comes 
with debian sarge. Another users was using something some gui on a mac and 
had the same issues.

>Perhaps someone with more experience with mod_dav_svn has seen this?  Is
>there any way to turn debugging on for mod_dav_svn?
>

Yeah, the error messages don't really shed a lot of light on the issue. A 
debug mode might help.

> >
> > To summarize: I can checkout a working copy, create directories, create 
>a
> > file at the same time I create its parent directory, delete files, 
>delete
> > directories, modify existing files, and update my working copy ... but
> > when
> > I try to create a new file on its own, I get the 500 error as described
> > above.
> >
> > Here are the offending entries in the Apache access logs:
> >
> > ?.?.?.? - - [12/Apr/2006:15:00:21 -0400] "OPTIONS /svn/trunk HTTP/1.1" 
>200
> > 183 "-" "SVN/1.2.3 (r15833) neon/0.24.7"
> > ?.?.?.? - - [12/Apr/2006:15:00:21 -0400] "MKACTIVITY
> > /svn/!svn/act/4225fd8b-3c11-0410-9909-a5816c4fc54d HTTP/1.1" 401 - "-"
> > "SVN/1.2.3 (r15833) neon/0.24.7"
> > ?.?.?.? - user [12/Apr/2006:15:00:21 -0400] "MKACTIVITY
> > /svn/!svn/act/4225fd8b-3c11-0410-9909-a5816c4fc54d HTTP/1.1" 201 418 "-"
> > "SVN/1.2.3 (r15833) neon/0.24.7"
> > ?.?.?.? - - [12/Apr/2006:15:00:21 -0400] "PROPFIND /svn/trunk HTTP/1.1"
> > 207
> > 428 "-" "SVN/1.2.3 (r15833) neon/0.24.7"
> > ?.?.?.? - - [12/Apr/2006:15:00:21 -0400] "PROPFIND /svn/!svn/vcc/default
> > HTTP/1.1" 207 389 "-" "SVN/1.2.3 (r15833) neon/0.24.7"
> > ?.?.?.? - user [12/Apr/2006:15:00:21 -0400] "CHECKOUT /svn/!svn/bln/10
> > HTTP/1.1" 201 433 "-" "SVN/1.2.3 (r15833) neon/0.24.7"
> > ?.?.?.? - user [12/Apr/2006:15:00:21 -0400] "PROPPATCH
> > /svn/!svn/wbl/4225fd8b-3c11-0410-9909-a5816c4fc54d/10 HTTP/1.1" 207 349
> > "-"
> > "SVN/1.2.3 (r15833) neon/0.24.7"
> > ?.?.?.? - - [12/Apr/2006:15:00:21 -0400] "PROPFIND /svn/trunk HTTP/1.1"
> > 207
> > 385 "-" "SVN/1.2.3 (r15833) neon/0.24.7"
> > ?.?.?.? - user [12/Apr/2006:15:00:21 -0400] "CHECKOUT
> > /svn/!svn/ver/10/trunk
> > HTTP/1.1" 201 436 "-" "SVN/1.2.3 (r15833) neon/0.24.7"
> > ?.?.?.? - user [12/Apr/2006:15:00:21 -0400] "PROPFIND 
>/svn/trunk/test2.tmp
> > HTTP/1.1" 500 2867 "-" "SVN/1.2.3 (r15833) neon/0.24.7"
> > ?.?.?.? - user [12/Apr/2006:15:00:21 -0400] "DELETE
> > /svn/!svn/act/4225fd8b-3c11-0410-9909-a5816c4fc54d HTTP/1.1" 204 - "-"
> > "SVN/1.2.3 (r15833) neon/0.24.7"
> >
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org
>

_________________________________________________________________
Powerful Parental Controls Let your child discover the best the Internet has 
to offer.  
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
  Start enjoying all the benefits of MSN� Premium right now and get the 
first two months FREE*.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Problem committing new files (PROPFIND request gets 500 err)

Posted by Michael Milner <mi...@blissisland.ca>.
> 've been having some strange problems committing to an svn repository
> served
> by Apache2 over https. It only seems to occur over https, not http.
>

So this problem only happens over https?  It works without problems if you
access the SAME repository over http?

> I am able to authenticate, checkout a working copy, create initial
> directory
> structure and commit that ... but when I try to create a new file and
> commit
> the new file I get the following error:
>
> svn: Commit failed (details follow):
> svn: PROPFIND request failed on '/svn/trunk/test2.tmp'
> svn: PROPFIND of '/svn/trunk/test2.tmp': 500 Internal Server Error
> (https://myserver.com)
>
> However, if I create a new directory and put a file in that new directory,
> I
> can commit that without any problems. Which I don't understand ...
>

So if you add a directory with a file inside the commit succeeds.
If you add just the directory, the commit succeeds.
If you add just the file, the commit fails.

> So far I've only encountered this problem when creating a new file by
> itself. This problem occurs for every user currently accessing the
> repository.
>
> Does anyone have any ideas what I might be doing wrong?

I've never come across a problem like this!  Generally either nothing
works, or everything works.  Have you tried with different clients?

Perhaps someone with more experience with mod_dav_svn has seen this?  Is
there any way to turn debugging on for mod_dav_svn?

>
> To summarize: I can checkout a working copy, create directories, create a
> file at the same time I create its parent directory, delete files, delete
> directories, modify existing files, and update my working copy ... but
> when
> I try to create a new file on its own, I get the 500 error as described
> above.
>
> Here are the offending entries in the Apache access logs:
>
> ?.?.?.? - - [12/Apr/2006:15:00:21 -0400] "OPTIONS /svn/trunk HTTP/1.1" 200
> 183 "-" "SVN/1.2.3 (r15833) neon/0.24.7"
> ?.?.?.? - - [12/Apr/2006:15:00:21 -0400] "MKACTIVITY
> /svn/!svn/act/4225fd8b-3c11-0410-9909-a5816c4fc54d HTTP/1.1" 401 - "-"
> "SVN/1.2.3 (r15833) neon/0.24.7"
> ?.?.?.? - user [12/Apr/2006:15:00:21 -0400] "MKACTIVITY
> /svn/!svn/act/4225fd8b-3c11-0410-9909-a5816c4fc54d HTTP/1.1" 201 418 "-"
> "SVN/1.2.3 (r15833) neon/0.24.7"
> ?.?.?.? - - [12/Apr/2006:15:00:21 -0400] "PROPFIND /svn/trunk HTTP/1.1"
> 207
> 428 "-" "SVN/1.2.3 (r15833) neon/0.24.7"
> ?.?.?.? - - [12/Apr/2006:15:00:21 -0400] "PROPFIND /svn/!svn/vcc/default
> HTTP/1.1" 207 389 "-" "SVN/1.2.3 (r15833) neon/0.24.7"
> ?.?.?.? - user [12/Apr/2006:15:00:21 -0400] "CHECKOUT /svn/!svn/bln/10
> HTTP/1.1" 201 433 "-" "SVN/1.2.3 (r15833) neon/0.24.7"
> ?.?.?.? - user [12/Apr/2006:15:00:21 -0400] "PROPPATCH
> /svn/!svn/wbl/4225fd8b-3c11-0410-9909-a5816c4fc54d/10 HTTP/1.1" 207 349
> "-"
> "SVN/1.2.3 (r15833) neon/0.24.7"
> ?.?.?.? - - [12/Apr/2006:15:00:21 -0400] "PROPFIND /svn/trunk HTTP/1.1"
> 207
> 385 "-" "SVN/1.2.3 (r15833) neon/0.24.7"
> ?.?.?.? - user [12/Apr/2006:15:00:21 -0400] "CHECKOUT
> /svn/!svn/ver/10/trunk
> HTTP/1.1" 201 436 "-" "SVN/1.2.3 (r15833) neon/0.24.7"
> ?.?.?.? - user [12/Apr/2006:15:00:21 -0400] "PROPFIND /svn/trunk/test2.tmp
> HTTP/1.1" 500 2867 "-" "SVN/1.2.3 (r15833) neon/0.24.7"
> ?.?.?.? - user [12/Apr/2006:15:00:21 -0400] "DELETE
> /svn/!svn/act/4225fd8b-3c11-0410-9909-a5816c4fc54d HTTP/1.1" 204 - "-"
> "SVN/1.2.3 (r15833) neon/0.24.7"
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org