Re: SVN 1.7 SVNParentPath broken

2011-07-27 Thread Stefan Sperling
On Tue, Jul 26, 2011 at 11:13:24AM +0200, Mario Brandt wrote:
  This is because the repository format changed slightly between the alpha
  releases and the beta2 release. You will need to re-create the
  repository.
  I had the exact same problem, dump and load into a new repository worked
  for me.
 
 The issues are not the repos. I can access my 1.6.17 and older repos
 without any issues.
 
 The file system layout is
 
 /opt/repos  --- ParentPath
 /opt/repos/repo1
 /opt/repos/repo2
 /opt/repos/repo3
 /opt/repos/repoN
 
 As it was in SVN 1.6 SVNParentPath should show a list of the repos
 1,2,3 to N [1]
 
  Second of all, don't you get the error documented in
  http://subversion.apache.org/docs/release-notes/1.7#revprop-packing in
  that case?
 
 Nope I don't get that error. This is might related to the mod_dav_svn.
 I'm not sure. But at leat I can say that over apache (I don't use
 svnserve) I never had an issue with the 1.6.x repos with the
 mod_dav_svn 1.7.x apache module.

Mario,

Did you check what your Apache server logs say when the problem happens?
You already quoted this error: Could not open the requested SVN filesystem.
Is there any more information in the server logs that might shed some
light on it?

Without more information I would suppose that this is a problem in
your setup until we get confirmation of this problem from someone else.


Re: SVN 1.7 SVNParentPath broken

2011-07-27 Thread Mario Brandt
Hi Stefen,
of cause you can have the error log information. But I doubt it helps more.

http://pastebin.com/N2TKddyE  --- log from the alpha
http://pastebin.com/rvsq4hDM   --- log from current beta

As I told the module tries to open the parent path as a repo which it isn't.


Cheers
Mario

 Did you check what your Apache server logs say when the problem happens?
 You already quoted this error: Could not open the requested SVN filesystem.
 Is there any more information in the server logs that might shed some
 light on it?

 Without more information I would suppose that this is a problem in
 your setup until we get confirmation of this problem from someone else.



Re: SVN 1.7 SVNParentPath broken

2011-07-27 Thread Stefan Sperling
On Wed, Jul 27, 2011 at 04:14:16PM +0200, Mario Brandt wrote:
 Hi Stefen,
 of cause you can have the error log information. But I doubt it helps more.
 
 http://pastebin.com/N2TKddyE  --- log from the alpha
 http://pastebin.com/rvsq4hDM   --- log from current beta
 
 As I told the module tries to open the parent path as a repo which it isn't.

What happens if you switch your Location / to something like
Location /svn?


Re: SVN 1.7 SVNParentPath broken

2011-07-27 Thread Mario Brandt
Hi Stefan,
 What happens if you switch your Location / to something like
 Location /svn?

that did the trick. Than it works with SVNParentPath. I wonder why it
doesn't work like before with just / in the location container. :-/

Mario


Re: SVN 1.7 SVNParentPath broken

2011-07-27 Thread Rob van Oostrum
On Wed, Jul 27, 2011 at 4:41 PM, Mario Brandt jbl...@gmail.com wrote:
 Hi Stefan,
 What happens if you switch your Location / to something like
 Location /svn?

 that did the trick. Than it works with SVNParentPath. I wonder why it
 doesn't work like before with just / in the location container. :-/

 Mario


Probably because you have a default site at / that takes precedence
when Apache parses its config.


Re: SVN 1.7 SVNParentPath broken

2011-07-27 Thread Mario Brandt
Hi all,
thanks for your help.

 Probably because you have a default site at / that takes precedence
 when Apache parses its config.


Different to 1.6 with 1.7 I had to set the document root the same as
SVNParentPath. Now it works again with Location /


Cheers
Mario


Re: SVN 1.7 SVNParentPath broken

2011-07-27 Thread Tony Butt
On Wed, 2011-07-27 at 06:56 +0300, Daniel Shahaf wrote:
 Tony Butt wrote on Wed, Jul 27, 2011 at 10:47:39 +1000:
  could not access my alpha2 created repository from beta2 using
  mod_dav_svn and apache.
 
 That's expected.  Did you get the error documented at
 http://subversion.apache.org/docs/release-notes/1.7#revprop-packing
 or some other error?
It was not that error, but some other. There was some mention of XML in
the browser window. Sorry, I can't remeber more of it than that. I put
it down to an upgrade incompatibility from alpha[2|3] to beta2,
recreated the repo, and did not see the problem again.

I can try to reproduce it using my alpha3 build if you like...

-- 
Tony Butt t...@cea.com.au
CEA Technologies


Re: SVN 1.7 SVNParentPath broken

2011-07-27 Thread Daniel Shahaf
Tony Butt wrote on Thu, Jul 28, 2011 at 09:53:35 +1000:
 On Wed, 2011-07-27 at 06:56 +0300, Daniel Shahaf wrote:
  Tony Butt wrote on Wed, Jul 27, 2011 at 10:47:39 +1000:
   could not access my alpha2 created repository from beta2 using
   mod_dav_svn and apache.
  
  That's expected.  Did you get the error documented at
  http://subversion.apache.org/docs/release-notes/1.7#revprop-packing
  or some other error?
 It was not that error, but some other. There was some mention of XML in
 the browser window. Sorry, I can't remeber more of it than that. I put
 it down to an upgrade incompatibility from alpha[2|3] to beta2,
 recreated the repo, and did not see the problem again.
 
 I can try to reproduce it using my alpha3 build if you like...

If you have a beta1 or beta2 build, can you try:

* Creating a repository using =1.6.x or =beta1
* Making sure you can access that repository
* Either: rm -rf the repository, and recreate it using 1.7.0-alpha3
  or: change '4' to '5' on the first line of $REPOS_DIR/db/format
* Trying to access the repository, reporting what error you get

Thanks!

Daniel



Re: SVN 1.7 SVNParentPath broken

2011-07-27 Thread Tony Butt
On Thu, 2011-07-28 at 03:11 +0300, Daniel Shahaf wrote:
 Tony Butt wrote on Thu, Jul 28, 2011 at 09:53:35 +1000:
  On Wed, 2011-07-27 at 06:56 +0300, Daniel Shahaf wrote:
   Tony Butt wrote on Wed, Jul 27, 2011 at 10:47:39 +1000:
could not access my alpha2 created repository from beta2 using
mod_dav_svn and apache.
   
   That's expected.  Did you get the error documented at
   http://subversion.apache.org/docs/release-notes/1.7#revprop-packing
   or some other error?
  It was not that error, but some other. There was some mention of XML in
  the browser window. Sorry, I can't remeber more of it than that. I put
  it down to an upgrade incompatibility from alpha[2|3] to beta2,
  recreated the repo, and did not see the problem again.
  
  I can try to reproduce it using my alpha3 build if you like...
 
 If you have a beta1 or beta2 build, can you try:
 
 * Creating a repository using =1.6.x or =beta1
Already have at least one of each
 * Making sure you can access that repository
Can definitely do that, for both 1.6.17, and 1.7.0 beta2
 * Either: rm -rf the repository, and recreate it using 1.7.0-alpha3
Recreated using alpha3
   or: change '4' to '5' on the first line of $REPOS_DIR/db/format
 * Trying to access the repository, reporting what error you get
 
Tried to access the repository using mod_dav_svn 1.7.0 beta2

Saw this in the browser:

This XML file does not appear to have any style information associated with it. 
The document tree is shown below.
D:errorC:error/m:human-readable errcode=160043
Could not open the requested SVN filesystem
/m:human-readable/D:error

I checked the ownership of the repository files, all owned by www-data

Other repo's in the tree can be accessed normally (1.6.17 and 1.7.0 beta2)
 Thanks!
 
 Daniel
 

-- 
Tony Butt t...@cea.com.au
CEA Technologies


Re: SVN 1.7 SVNParentPath broken

2011-07-27 Thread Tony Butt
On Thu, 2011-07-28 at 10:50 +1000, Tony Butt wrote:
 On Thu, 2011-07-28 at 03:11 +0300, Daniel Shahaf wrote:
  Tony Butt wrote on Thu, Jul 28, 2011 at 09:53:35 +1000:
   On Wed, 2011-07-27 at 06:56 +0300, Daniel Shahaf wrote:
Tony Butt wrote on Wed, Jul 27, 2011 at 10:47:39 +1000:
 could not access my alpha2 created repository from beta2 using
 mod_dav_svn and apache.
   
That's expected.  Did you get the error documented at
   
 http://subversion.apache.org/docs/release-notes/1.7#revprop-packing
or some other error?
   It was not that error, but some other. There was some mention of
 XML in
   the browser window. Sorry, I can't remeber more of it than that. I
 put
   it down to an upgrade incompatibility from alpha[2|3] to beta2,
   recreated the repo, and did not see the problem again.
  
   I can try to reproduce it using my alpha3 build if you like...
 
  If you have a beta1 or beta2 build, can you try:
 
  * Creating a repository using =1.6.x or =beta1
 Already have at least one of each
  * Making sure you can access that repository
 Can definitely do that, for both 1.6.17, and 1.7.0 beta2
  * Either: rm -rf the repository, and recreate it using 1.7.0-alpha3
 Recreated using alpha3
or: change '4' to '5' on the first line of $REPOS_DIR/db/format
  * Trying to access the repository, reporting what error you get
 
 Tried to access the repository using mod_dav_svn 1.7.0 beta2
 
 Saw this in the browser:
 
 This XML file does not appear to have any style information associated
 with it. The document tree is shown below.
 D:errorC:error/m:human-readable errcode=160043
 Could not open the requested SVN filesystem
 /m:human-readable/D:error
 

I checked the apache logs, and found this:
[Thu Jul 28 10:48:14 2011] [error] [client 172.16.2.39] (20014)Internal error: 
Found format '5', only created by unreleased dev builds; see 
http://subversion.apache.org/docs/release-notes/1.7#revprop-packing
[Thu Jul 28 10:48:14 2011] [error] [client 172.16.2.39] Could not fetch 
resource information.  [500, #0]
[Thu Jul 28 10:48:14 2011] [error] [client 172.16.2.39] Could not open the 
requested SVN filesystem  [500, #160043]
[Thu Jul 28 10:48:14 2011] [error] [client 172.16.2.39] Could not open the 
requested SVN filesystem  [500, #160043]

I think this is what you were expecting.
 I checked the ownership of the repository files, all owned by www-data
 
 Other repo's in the tree can be accessed normally (1.6.17 and 1.7.0
 beta2)
  Thanks!
 
  Daniel
 
 
 --
 Tony Butt t...@cea.com.au
 CEA Technologies
 
 

-- 
Tony Butt t...@cea.com.au
CEA Technologies


Re: SVN 1.7 SVNParentPath broken

2011-07-27 Thread Daniel Shahaf
Tony Butt wrote on Thu, Jul 28, 2011 at 11:52:14 +1000:
 I checked the apache logs, and found this:
 [Thu Jul 28 10:48:14 2011] [error] [client 172.16.2.39] (20014)Internal 
 error: Found format '5', only created by unreleased dev builds; see 
 http://subversion.apache.org/docs/release-notes/1.7#revprop-packing
 [Thu Jul 28 10:48:14 2011] [error] [client 172.16.2.39] Could not fetch 
 resource information.  [500, #0]
 [Thu Jul 28 10:48:14 2011] [error] [client 172.16.2.39] Could not open the 
 requested SVN filesystem  [500, #160043]
 [Thu Jul 28 10:48:14 2011] [error] [client 172.16.2.39] Could not open the 
 requested SVN filesystem  [500, #160043]
 
 I think this is what you were expecting.

Yes, it is, thanks.  (mod_dav_svn sometimes logs more information than
it presents to the client.)


Re: SVN 1.7 SVNParentPath broken

2011-07-26 Thread Tony Butt
On Tue, 2011-07-26 at 10:04 +0200, Mario Brandt wrote:
 I installed SVN/1.7.0-beta2 using it over apache 2.3.12, also tried
 the alphas before. With none of it I'm able to use SVNParentPath. I'm
 getting
 
 m:human-readable errcode=2
 Could not open the requested SVN filesystem
 /m:human-readable
 
This is because the repository format changed slightly between the alpha
releases and the beta2 release. You will need to re-create the
repository.
I had the exact same problem, dump and load into a new repository worked
for me.

Tony Butt
 the same error if that wouldn't be a repo instead of showing the list of 
 repos.
 
 my config
   Location /
DAV svn
SVNParentPath /opt/repos
SVNListParentPath on
SVNPathAuthz on
#SVNIndexXSLT /svnindex.xsl
 
AuthType Basic
AuthName Subversion Repository
AuthUserFile /opt/repos/htpasswd
Require valid-user
/Location
 
 
 Cheers
 Mario

-- 
Tony Butt t...@cea.com.au
CEA Technologies


Re: SVN 1.7 SVNParentPath broken

2011-07-26 Thread Daniel Shahaf
Tony Butt wrote on Tue, Jul 26, 2011 at 18:42:46 +1000:
 On Tue, 2011-07-26 at 10:04 +0200, Mario Brandt wrote:
  I installed SVN/1.7.0-beta2 using it over apache 2.3.12, also tried
  the alphas before. With none of it I'm able to use SVNParentPath. I'm
  getting
  
  m:human-readable errcode=2
  Could not open the requested SVN filesystem
  /m:human-readable
  
 This is because the repository format changed slightly between the alpha
 releases and the beta2 release. You will need to re-create the
 repository.
 I had the exact same problem, dump and load into a new repository worked
 for me.

First of all, this only applies if Mario ran 'svnadmin upgrade' using
a 1.7-dev through 1.7.0-alpha3 client.

Second of all, don't you get the error documented in
http://subversion.apache.org/docs/release-notes/1.7#revprop-packing in
that case?


Re: SVN 1.7 SVNParentPath broken

2011-07-26 Thread Mario Brandt
 This is because the repository format changed slightly between the alpha
 releases and the beta2 release. You will need to re-create the
 repository.
 I had the exact same problem, dump and load into a new repository worked
 for me.

The issues are not the repos. I can access my 1.6.17 and older repos
without any issues.

The file system layout is

/opt/repos  --- ParentPath
/opt/repos/repo1
/opt/repos/repo2
/opt/repos/repo3
/opt/repos/repoN

As it was in SVN 1.6 SVNParentPath should show a list of the repos
1,2,3 to N [1]

 Second of all, don't you get the error documented in
 http://subversion.apache.org/docs/release-notes/1.7#revprop-packing in
 that case?

Nope I don't get that error. This is might related to the mod_dav_svn.
I'm not sure. But at leat I can say that over apache (I don't use
svnserve) I never had an issue with the 1.6.x repos with the
mod_dav_svn 1.7.x apache module.

Cheers
Mario


[1] 
http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.serverconfig.httpd.basic


Re: SVN 1.7 SVNParentPath broken

2011-07-26 Thread Tony Butt
On Tue, 2011-07-26 at 11:13 +0200, Mario Brandt wrote:
  This is because the repository format changed slightly between the alpha
  releases and the beta2 release. You will need to re-create the
  repository.
  I had the exact same problem, dump and load into a new repository worked
  for me.
 
 The issues are not the repos. I can access my 1.6.17 and older repos
 without any issues.
 
That was the case for me too - I had one repository which I created with
alpha2, and load from a dump file. It worked fine with alpha3, and then
I saw the error you have with beta2. At the same time, alpha2, alpha3,
and beta2 all worked happily with my other repositories, which had been
created by svn 1.6.x. I was not using SVNParentPath with these
repositories, so can't comment on that, but definitely could not access
my alpha2 created repository from beta2 using mod_dav_svn and apache.

Tony
 The file system layout is
 
 /opt/repos  --- ParentPath
 /opt/repos/repo1
 /opt/repos/repo2
 /opt/repos/repo3
 /opt/repos/repoN
 
 As it was in SVN 1.6 SVNParentPath should show a list of the repos
 1,2,3 to N [1]
 
  Second of all, don't you get the error documented in
  http://subversion.apache.org/docs/release-notes/1.7#revprop-packing in
  that case?
 
 Nope I don't get that error. This is might related to the mod_dav_svn.
 I'm not sure. But at leat I can say that over apache (I don't use
 svnserve) I never had an issue with the 1.6.x repos with the
 mod_dav_svn 1.7.x apache module.
 
 Cheers
 Mario
 
 
 [1] 
 http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.serverconfig.httpd.basic

-- 
Tony Butt t...@cea.com.au
CEA Technologies


Re: SVN 1.7 SVNParentPath broken

2011-07-26 Thread Daniel Shahaf
Tony Butt wrote on Wed, Jul 27, 2011 at 10:47:39 +1000:
 could not access my alpha2 created repository from beta2 using
 mod_dav_svn and apache.

That's expected.  Did you get the error documented at
http://subversion.apache.org/docs/release-notes/1.7#revprop-packing
or some other error?