SVN errorcode = 2无法打开请求的SVN文件系统

Ger*_*rit 8 svn apache macos

我已经运行了MAMP(OSX的XAMP),我正在尝试设置subversion.

当我在浏览器中访问新创建的存储库时,我得到:

<D:error>
<C:error/>
<m:human-readable errcode="2">
Could not open the requested SVN filesystem
</m:human-readable>
</D:error>
Run Code Online (Sandbox Code Playgroud)

存储库在〜/ server/svn中设置.我的html/php文件也在那里(〜/ server/http),它工作正常.我的基本httpd.conf设置:

<Location /svn>
DAV svn
SVNPath ~/server/svntest
(Authenticaton will be added later)
</Location>
Run Code Online (Sandbox Code Playgroud)

我已经把所有东西都打到了777

drwxrwxrwx   9 gerrit  staff       306 27 okt  2008 svn
Run Code Online (Sandbox Code Playgroud)

Apache的错误日志不会显示任何错误.

我该如何解决这个问题?

San*_*ken 5

尝试跑步

svnadmin verify ~/svntest/svn
Run Code Online (Sandbox Code Playgroud)

在存储库上。如果报告错误,请运行:

svnadmin recover ~/svntest/svn
Run Code Online (Sandbox Code Playgroud)


Art*_*kii 3

什么是~/server/svntest?Web 服务器通常没有主目录,甚至没有 shell 访问权限,请尝试将其替换为完整路径。