当前位置: 首页 > linux > 正文

[svn] Could not open the requested SVN filesystem

[摘要] SVN搭建过程非常简单,不过在SVN迁移之后,浏览器中访问一直提示Could not open the requested SVN filesystem

具体错误如下:

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

搜索了半天发现是apache配置上的问题,svn目录指错了,应该将SVNParentPath改成SVNPath,如下是解决办法:

<Location />
      DAV svn
      # SVNParentPath /srv/svn/repositories 
      SVNPath /srv/svn/repositories
</Location>

svn备份和导入:
假设原repo目录为:svn_repo_old
#dump出来
svnadmin dump svn_repo_old/ > svnrepo_bak

#创建新的空repo
svnadmin create svn_repo_new

#允许apache用户可读写
chown -R apache:apache svn_repo_new

#load到新的svn上
svnadmin load svn_repo_new/ < svnrepo_bak

本文固定链接: https://sudops.com/svn-open-requested-svn-filesystem.html | 运维速度

该日志由 u2 于2014年06月20日发表在 linux 分类下,
原创文章转载请注明: [svn] Could not open the requested SVN filesystem | 运维速度
关键字:

[svn] Could not open the requested SVN filesystem:目前有1 条留言