Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN errorcode=2 Could not open the requested SVN filesystem

Tags:

macos

svn

apache

I've got MAMP running (XAMP for OSX), and I'm trying to setup subversion.

When I go to the freshly created repository in my browser, I get:

<D:error>
<C:error/>
<m:human-readable errcode="2">
Could not open the requested SVN filesystem
</m:human-readable>
</D:error>

The repository is setup in ~/server/svn. My html/php files are also there (~/server/http), and it works fine. My basic httpd.conf setup:

<Location /svn>
DAV svn
SVNPath ~/server/svntest
(Authenticaton will be added later)
</Location>

I've allready chmod'ed everything to 777

drwxrwxrwx   9 gerrit  staff       306 27 okt  2008 svn

Apache's errorlog does not show any errors.

How do I troubleshoot this?

like image 532
Gerrit Avatar asked Jun 13 '09 18:06

Gerrit


3 Answers

Try running

svnadmin verify ~/svntest/svn

on the repository. If that reports errors, run:

svnadmin recover ~/svntest/svn
like image 67
Sander Rijken Avatar answered Nov 14 '22 10:11

Sander Rijken


What is ~/server/svntest? The web server doesn't normally have a home dir or even shell access, try substituting it for a full path.

like image 34
Artem Russakovskii Avatar answered Nov 14 '22 10:11

Artem Russakovskii


You can try using SVNParentPath instead of SVNPath if you are pointing to a folder having multiple repositories.

like image 3
Govinda Avatar answered Nov 14 '22 09:11

Govinda