I have three servers running Virtualmin. Across boxes 1 and 2 I have about 15 SVN repositories, all working fine.
On box 3, up to now I have only ever held Working Copies. Today I have created a repository on there in what I thought would be a 10-minute task, but I cannot access the repository over http and I cannot work out why.
On browsing to http://domain.com/svn/reponame I get:
Forbidden
You don't have permission to access /svn/reponame on this server.
If I try to browse to http://domain.com/svn/ the error is:
<D:error xmlns:D="DAV:" xmlns:m="http://apache.org/dav/xmlns" xmlns:C="svn:">
<C:error/>
<m:human-readable errcode="2">Could not open the requested SVN filesystem</m:human-readable>
</D:error>
Looking in the Apache error log, I see this rather unhelpful message for the first of those URLs:
[error] [client xx.xx.xxx.xxx] Access denied: 'domain.com GET svn:/reponame
And this for the second:
[Wed Jan 07 18:04:26 2015] [error] [client xx.xx.xxx.xxx] (20014)Internal error: Can't open file '/home/domain.com/svn/svn/format': No such file or directory
[Wed Jan 07 18:04:26 2015] [error] [client xx.xx.xxx.xxx] Could not fetch resource information. [500, #0]
[Wed Jan 07 18:04:26 2015] [error] [client xx.xx.xxx.xxx] Could not open the requested SVN filesystem [500, #2]
[Wed Jan 07 18:04:26 2015] [error] [client xx.xx.xxx.xxx] Could not open the requested SVN filesystem [500, #2]
I have checked the permission on the svn folder
drwxr-sr-x 3 domain.com domain.com 4096 Jan 7 17:50 svn
and on the repo folder itself inside there:
drwxrws--- 6 apache domain.com 4096 Jan 7 17:50 reponame
All permissions look identical to repositories I have set up on my other servers, which work fine.
Does anyone have any thoughts as to how I could troubleshoot this?