You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ernst Johannes <je...@netmesh.us> on 2005/09/01 17:27:50 UTC

svn: PROPFIND request failed upon file add --HELP

I'm at the end of my stick, and Google is of no help. I'm getting the  
following error message, every time I try to add a new file or rename  
an existing file:

svn: PROPFIND request failed on '/websites/trunk/www.metamodel.com/ 
INSTALL.txt'

Of course, it can't do a PROPFIND, the file doesn't exist yet! So  
what's wrong here?

I doing this, for example:

[jernst]$ svn info INSTALL
Path: INSTALL
Name: INSTALL
URL: <some-url starting with http:// ... edited>
Repository UUID: 34f2091e-d9fd-0310-bbcc-f5f6c5d413fd
Revision: 5
Node Kind: file
Schedule: normal
Last Changed Author: jernst
Last Changed Rev: 3
Last Changed Date: 2005-08-08 13:51:07 -0700 (Mon, 08 Aug 2005)
Text Last Updated: 2005-09-01 09:44:55 -0700 (Thu, 01 Sep 2005)
Properties Last Updated: 2005-09-01 09:44:55 -0700 (Thu, 01 Sep 2005)
Checksum: 3803b5613d4536a4af1c1e95964917c4

[jernst]$ svn mv INSTALL INSTALL.txt
A         INSTALL.txt
D         INSTALL
[jernst]$ svn commit . -m 'add extension to INSTALL file'
Deleting       www.metamodel.com/INSTALL
Adding         www.metamodel.com/INSTALL.txt
svn: Commit failed (details follow):
svn: PROPFIND request failed on '/websites/trunk/www.metamodel.com/ 
INSTALL.txt'
svn: Could not open the requested SVN filesystem


The apache error log says this, at the same time:

[Thu Sep 01 10:05:24 2005] [error] [client 204.145.147.224] (20014) 
Error string not specified yet: Can't open file '/data/svn/error/ 
format': No such file or directory
[Thu Sep 01 10:05:24 2005] [error] [client 204.145.147.224] Could not  
fetch resource information.  [500, #0]
[Thu Sep 01 10:05:24 2005] [error] [client 204.145.147.224] Could not  
open the requested SVN filesystem  [500, #2]
[Thu Sep 01 10:05:24 2005] [error] [client 204.145.147.224] Could not  
open the requested SVN filesystem  [500, #2]

There are some posts of mod_deflate prior to Apache 2.0.48 causing  
this, but I'm not running either. Otherwise I'm clueless what those  
things might mean -- for example, I don't have a file /data/svn/error/ 
format. In fact, I have no idea where it got the directory /data/svn/ 
error from, because I don't have any directory called 'error' anywhere.

My apache config:

     <Location />
         DAV svn
         SVNParentPath /data/svn

         AuthType Basic
         AuthName "SVN Realm"
         AuthUserFile  ...edited
         AuthGroupFile ...edited
         Require group ...edited
     </Location>


This is RedHat, Kernel 2.4.21-32.0.1.ELsmp
Apache/2.0.54
svn, version 1.2.3 (r15833), downloaded and compiled fresh last night.
This is a file-based repository, does not use Sleepycat
1.2.1 behaved the same way I believe.


Your help, if any, is very much appreciated.


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

Apache error 500 with mod_dav_svn, was: svn: PROPFIND request failed upon file add --HELP

Posted by Ernst Johannes <je...@netmesh.us>.
The key problem seems to be that when committing a freshly added file  
via Apache and mod_dav_svn, Apache generates an error 500 ("Internal  
Error"), whose client-side display looks like this:

svn: PROPFIND request failed on '/websites/trunk/www.metamodel.com/ 
INSTALL.txt'

For apache error log see below. All other operations appear to work  
just fine.

The same operation works fine with 'file' and 'svn+ssh' method, but  
not with http/apache.

So ... is the latest and greatest of Apache and SVN not supported  
(together?) What combination is supposed to work?
And, failing that: if I downgrade the server-side SVN version (to  
1.1.x, for example), will that corrupt / work with my file-based  
storage?


Begin forwarded message:

> From: Ernst Johannes <je...@netmesh.us>
> Date: September 1, 2005 10:27:50 PDT
> To: users@subversion.tigris.org
> Subject: svn: PROPFIND request failed upon file add --HELP
>
>
> I'm at the end of my stick, and Google is of no help. I'm getting  
> the following error message, every time I try to add a new file or  
> rename an existing file:
>
> svn: PROPFIND request failed on '/websites/trunk/www.metamodel.com/ 
> INSTALL.txt'
>
> Of course, it can't do a PROPFIND, the file doesn't exist yet! So  
> what's wrong here?
>
> I doing this, for example:
>
> [jernst]$ svn info INSTALL
> Path: INSTALL
> Name: INSTALL
> URL: <some-url starting with http:// ... edited>
> Repository UUID: 34f2091e-d9fd-0310-bbcc-f5f6c5d413fd
> Revision: 5
> Node Kind: file
> Schedule: normal
> Last Changed Author: jernst
> Last Changed Rev: 3
> Last Changed Date: 2005-08-08 13:51:07 -0700 (Mon, 08 Aug 2005)
> Text Last Updated: 2005-09-01 09:44:55 -0700 (Thu, 01 Sep 2005)
> Properties Last Updated: 2005-09-01 09:44:55 -0700 (Thu, 01 Sep 2005)
> Checksum: 3803b5613d4536a4af1c1e95964917c4
>
> [jernst]$ svn mv INSTALL INSTALL.txt
> A         INSTALL.txt
> D         INSTALL
> [jernst]$ svn commit . -m 'add extension to INSTALL file'
> Deleting       www.metamodel.com/INSTALL
> Adding         www.metamodel.com/INSTALL.txt
> svn: Commit failed (details follow):
> svn: PROPFIND request failed on '/websites/trunk/www.metamodel.com/ 
> INSTALL.txt'
> svn: Could not open the requested SVN filesystem
>
>
> The apache error log says this, at the same time:
>
> [Thu Sep 01 10:05:24 2005] [error] [client 204.145.147.224] (20014) 
> Error string not specified yet: Can't open file '/data/svn/error/ 
> format': No such file or directory
> [Thu Sep 01 10:05:24 2005] [error] [client 204.145.147.224] Could  
> not fetch resource information.  [500, #0]
> [Thu Sep 01 10:05:24 2005] [error] [client 204.145.147.224] Could  
> not open the requested SVN filesystem  [500, #2]
> [Thu Sep 01 10:05:24 2005] [error] [client 204.145.147.224] Could  
> not open the requested SVN filesystem  [500, #2]
>
> There are some posts of mod_deflate prior to Apache 2.0.48 causing  
> this, but I'm not running either. Otherwise I'm clueless what those  
> things might mean -- for example, I don't have a file /data/svn/ 
> error/format. In fact, I have no idea where it got the directory / 
> data/svn/error from, because I don't have any directory called  
> 'error' anywhere.
>
> My apache config:
>
>     <Location />
>         DAV svn
>         SVNParentPath /data/svn
>
>         AuthType Basic
>         AuthName "SVN Realm"
>         AuthUserFile  ...edited
>         AuthGroupFile ...edited
>         Require group ...edited
>     </Location>
>
>
> This is RedHat, Kernel 2.4.21-32.0.1.ELsmp
> Apache/2.0.54
> svn, version 1.2.3 (r15833), downloaded and compiled fresh last night.
> This is a file-based repository, does not use Sleepycat
> 1.2.1 behaved the same way I believe.
>
>
> Your help, if any, is very much appreciated.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>


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

Re: svn: PROPFIND request failed upon file add --HELP

Posted by Frank Gruman <fg...@verizon.net>.
Ernst Johannes wrote:

>
> On Sep 1, 2005, at 11:10, Frank Gruman wrote:
>
>> 1 - in your example above - what are your permissions on the  
>> repository (all the way down to the /revs directory)?  Make sure  you 
>> have full read and write access.
>
>
> # groups apache
> apache : apache svn
>
> I just checked. All directories and files are writable by group svn.  
> Many (but not all) directories have the group s-bit set -- don't  
> think the remaining ones need to.
>
>> 2 - Are you using a proxy server?  I believe I have seen postings  in 
>> here with regard to that, too.  Something about allowing those  
>> methods through the proxy.  The standard GET and PUT are normal  
>> standards, but others are not so standard.
>
>
> No proxy. Also, for testing, I'm currently running the svn command- 
> line client on the same server that hosts the repository -- but I'm  
> still using http to make it similar.
>

Try to do one without the http protocol.  Since you are doing this from 
the command line, try to do a file:// access and see if it is still 
occurring.  At this point, I am not deep enough in the back end to be 
able to tell you anything more than start removing layers.  In this 
case, you would be stripping out the http layer and possible issue in 
Apache configuration.

After that, I am going to have to bow out and hope someone else in the 
list can help.  Make it an education for both of us.

Regards,
Frank

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

Re: svn: PROPFIND request failed upon file add --HELP

Posted by Ernst Johannes <je...@netmesh.us>.
On Sep 1, 2005, at 11:10, Frank Gruman wrote:

> 1 - in your example above - what are your permissions on the  
> repository (all the way down to the /revs directory)?  Make sure  
> you have full read and write access.

# groups apache
apache : apache svn

I just checked. All directories and files are writable by group svn.  
Many (but not all) directories have the group s-bit set -- don't  
think the remaining ones need to.

> 2 - Are you using a proxy server?  I believe I have seen postings  
> in here with regard to that, too.  Something about allowing those  
> methods through the proxy.  The standard GET and PUT are normal  
> standards, but others are not so standard.

No proxy. Also, for testing, I'm currently running the svn command- 
line client on the same server that hosts the repository -- but I'm  
still using http to make it similar.


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

Re: svn: PROPFIND request failed upon file add --HELP

Posted by Frank Gruman <fg...@verizon.net>.
Ernst Johannes wrote:

> On Sep 1, 2005, at 10:43, Frank Gruman wrote:
>
>> Do you have more than one repository?
>
>
> Yes.
>
>> If not, change your Apache config from SVNParentPath to SVNPath.   
>> This should solve that problem.  If you do have more than one  
>> repository, then using the above, you would have to follow your  
>> domain with the repository name.
>
>
> Sorry, I would have to follow what where with what?
>
> Notes (which may or may not clarify)
> - the 'www.metamodel.com' in my path is just a directory name  
> (coincidentally the directory in which I keep the files for virtual  
> host www.metamodel.com)
> - I think my path names are correct because other SVN operations work  
> just fine
>
>
>>
>> Regards,
>> Frank
>>
>> Ernst Johannes wrote:
>>
>>
>>> I'm at the end of my stick, and Google is of no help. I'm getting  
>>> the  following error message, every time I try to add a new file  or 
>>> rename  an existing file:
>>>
>>> svn: PROPFIND request failed on '/websites/trunk/ www.metamodel.com/ 
>>> INSTALL.txt'
>>>
>>> Of course, it can't do a PROPFIND, the file doesn't exist yet! So   
>>> what's wrong here?
>>>
>>> I doing this, for example:
>>>
>>> [jernst]$ svn info INSTALL
>>> Path: INSTALL
>>> Name: INSTALL
>>> URL: <some-url starting with http:// ... edited>
>>> Repository UUID: 34f2091e-d9fd-0310-bbcc-f5f6c5d413fd
>>> Revision: 5
>>> Node Kind: file
>>> Schedule: normal
>>> Last Changed Author: jernst
>>> Last Changed Rev: 3
>>> Last Changed Date: 2005-08-08 13:51:07 -0700 (Mon, 08 Aug 2005)
>>> Text Last Updated: 2005-09-01 09:44:55 -0700 (Thu, 01 Sep 2005)
>>> Properties Last Updated: 2005-09-01 09:44:55 -0700 (Thu, 01 Sep 2005)
>>> Checksum: 3803b5613d4536a4af1c1e95964917c4
>>>
>>> [jernst]$ svn mv INSTALL INSTALL.txt
>>> A         INSTALL.txt
>>> D         INSTALL
>>> [jernst]$ svn commit . -m 'add extension to INSTALL file'
>>> Deleting       www.metamodel.com/INSTALL
>>> Adding         www.metamodel.com/INSTALL.txt
>>> svn: Commit failed (details follow):
>>> svn: PROPFIND request failed on '/websites/trunk/ www.metamodel.com/ 
>>> INSTALL.txt'
>>> svn: Could not open the requested SVN filesystem
>>>
>>>
>>> The apache error log says this, at the same time:
>>>
>>> [Thu Sep 01 10:05:24 2005] [error] [client 204.145.147.224]  (20014) 
>>> Error string not specified yet: Can't open file '/data/svn/ error/ 
>>> format': No such file or directory
>>> [Thu Sep 01 10:05:24 2005] [error] [client 204.145.147.224] Could  
>>> not  fetch resource information.  [500, #0]
>>> [Thu Sep 01 10:05:24 2005] [error] [client 204.145.147.224] Could  
>>> not  open the requested SVN filesystem  [500, #2]
>>> [Thu Sep 01 10:05:24 2005] [error] [client 204.145.147.224] Could  
>>> not  open the requested SVN filesystem  [500, #2]
>>>
>>> There are some posts of mod_deflate prior to Apache 2.0.48  causing  
>>> this, but I'm not running either. Otherwise I'm clueless  what 
>>> those  things might mean -- for example, I don't have a file / 
>>> data/svn/error/ format. In fact, I have no idea where it got the  
>>> directory /data/svn/ error from, because I don't have any  directory 
>>> called 'error' anywhere.
>>>
>>> My apache config:
>>>
>>>     <Location />
>>>         DAV svn
>>>         SVNParentPath /data/svn
>>>
>>>         AuthType Basic
>>>         AuthName "SVN Realm"
>>>         AuthUserFile  ...edited
>>>         AuthGroupFile ...edited
>>>         Require group ...edited
>>>     </Location>
>>>
>>>
>>> This is RedHat, Kernel 2.4.21-32.0.1.ELsmp
>>> Apache/2.0.54
>>> svn, version 1.2.3 (r15833), downloaded and compiled fresh last  night.
>>> This is a file-based repository, does not use Sleepycat
>>> 1.2.1 behaved the same way I believe.
>>>
>>>
>>> Your help, if any, is very much appreciated.
>>>
>>>
>>>
>
ahh...ok.  I see.  I got all confused - which I guess is normal.

Anyway - some more basic questions / troubleshooting:

1 - in your example above - what are your permissions on the repository 
(all the way down to the /revs directory)?  Make sure you have full read 
and write access.

2 - Are you using a proxy server?  I believe I have seen postings in 
here with regard to that, too.  Something about allowing those methods 
through the proxy.  The standard GET and PUT are normal standards, but 
others are not so standard.

I'm no genius here - just trying to throw out a few more ideas on things 
to look at.

Regards,
Frank

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

Re: svn: PROPFIND request failed upon file add --HELP

Posted by Ernst Johannes <je...@netmesh.us>.
On Sep 1, 2005, at 10:43, Frank Gruman wrote:

> Do you have more than one repository?

Yes.

> If not, change your Apache config from SVNParentPath to SVNPath.   
> This should solve that problem.  If you do have more than one  
> repository, then using the above, you would have to follow your  
> domain with the repository name.

Sorry, I would have to follow what where with what?

Notes (which may or may not clarify)
- the 'www.metamodel.com' in my path is just a directory name  
(coincidentally the directory in which I keep the files for virtual  
host www.metamodel.com)
- I think my path names are correct because other SVN operations work  
just fine


>
> Regards,
> Frank
>
> Ernst Johannes wrote:
>
>
>> I'm at the end of my stick, and Google is of no help. I'm getting  
>> the  following error message, every time I try to add a new file  
>> or rename  an existing file:
>>
>> svn: PROPFIND request failed on '/websites/trunk/ 
>> www.metamodel.com/ INSTALL.txt'
>>
>> Of course, it can't do a PROPFIND, the file doesn't exist yet! So   
>> what's wrong here?
>>
>> I doing this, for example:
>>
>> [jernst]$ svn info INSTALL
>> Path: INSTALL
>> Name: INSTALL
>> URL: <some-url starting with http:// ... edited>
>> Repository UUID: 34f2091e-d9fd-0310-bbcc-f5f6c5d413fd
>> Revision: 5
>> Node Kind: file
>> Schedule: normal
>> Last Changed Author: jernst
>> Last Changed Rev: 3
>> Last Changed Date: 2005-08-08 13:51:07 -0700 (Mon, 08 Aug 2005)
>> Text Last Updated: 2005-09-01 09:44:55 -0700 (Thu, 01 Sep 2005)
>> Properties Last Updated: 2005-09-01 09:44:55 -0700 (Thu, 01 Sep 2005)
>> Checksum: 3803b5613d4536a4af1c1e95964917c4
>>
>> [jernst]$ svn mv INSTALL INSTALL.txt
>> A         INSTALL.txt
>> D         INSTALL
>> [jernst]$ svn commit . -m 'add extension to INSTALL file'
>> Deleting       www.metamodel.com/INSTALL
>> Adding         www.metamodel.com/INSTALL.txt
>> svn: Commit failed (details follow):
>> svn: PROPFIND request failed on '/websites/trunk/ 
>> www.metamodel.com/ INSTALL.txt'
>> svn: Could not open the requested SVN filesystem
>>
>>
>> The apache error log says this, at the same time:
>>
>> [Thu Sep 01 10:05:24 2005] [error] [client 204.145.147.224]  
>> (20014) Error string not specified yet: Can't open file '/data/svn/ 
>> error/ format': No such file or directory
>> [Thu Sep 01 10:05:24 2005] [error] [client 204.145.147.224] Could  
>> not  fetch resource information.  [500, #0]
>> [Thu Sep 01 10:05:24 2005] [error] [client 204.145.147.224] Could  
>> not  open the requested SVN filesystem  [500, #2]
>> [Thu Sep 01 10:05:24 2005] [error] [client 204.145.147.224] Could  
>> not  open the requested SVN filesystem  [500, #2]
>>
>> There are some posts of mod_deflate prior to Apache 2.0.48  
>> causing  this, but I'm not running either. Otherwise I'm clueless  
>> what those  things might mean -- for example, I don't have a file / 
>> data/svn/error/ format. In fact, I have no idea where it got the  
>> directory /data/svn/ error from, because I don't have any  
>> directory called 'error' anywhere.
>>
>> My apache config:
>>
>>     <Location />
>>         DAV svn
>>         SVNParentPath /data/svn
>>
>>         AuthType Basic
>>         AuthName "SVN Realm"
>>         AuthUserFile  ...edited
>>         AuthGroupFile ...edited
>>         Require group ...edited
>>     </Location>
>>
>>
>> This is RedHat, Kernel 2.4.21-32.0.1.ELsmp
>> Apache/2.0.54
>> svn, version 1.2.3 (r15833), downloaded and compiled fresh last  
>> night.
>> This is a file-based repository, does not use Sleepycat
>> 1.2.1 behaved the same way I believe.
>>
>>
>> Your help, if any, is very much appreciated.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>> For additional commands, e-mail: users-help@subversion.tigris.org
>>
>>
>


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