SVN error: Repository moved permanently...please relocate

I have several SVN repositories located here:

However, my hard drive is filling up fast and I'd like to move the repos to this path on the new drive:

I dumped the repo (I am testing with a single repo first) from the old location and loaded it into the new location.

I then updated the <location> section of the subverion.conf file (see code).

However, when I try to connect, I receive this error:
"Repository moved permanently to '"; please relocate"

I found this FAQ recommended on this site but it doesn't seem to apply to my setup:

NOTE: I tried using "SVNPath /mnt/newdrive/subversion/myrepo" but I received this error in the apache logs:
"Can't open file '/mnt/newdrive/subversion/myrepo/format': Permission denied" I tried using SVNParentPath instead, which at least produces a more useful error.

Any ideas?

<Location /myrepo>
    DAV svn
    SVNParentPath /mnt/newdrive/subversion
    SVNListParentPath on
    AuthName "Subversion Repository"
    SVNIndexXSLT "/svnindex/svnindex.xsl"
        AuthType Basic
        AuthName "Subversion Repository"
        AuthUserFile /mnt/newdrive/myrepo/conf/passwd
        Require valid-user

Open in new window

Who is Participating?
bearclaws75Author Commented:
I chown-ed the repo recursively to apache:apache and everything seems to be working fine.
bearclaws75Author Commented:
I've attached the beginning of my "subversion.mysite.conf" file for reference. THe <location> section above appears within the <VirtualHost> below:
<VirtualHost *:80>
   DocumentRoot /var/www/html/sites/
   ErrorLog logs/subversion-standard-error.log
   CustomLog logs/subversion-access.log common

Open in new window

Any directory called "myrepo" within your DocumentRoot?
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

bearclaws75Author Commented:
ckhsu1977 - no, the DocumentRoot for the site is one one drive:

...and the repo is on the new drive:

Is this possible?
so if you run this, it should return with no result. Correct?
find /var/www/html/sites/ -name "myrepo" -print
bearclaws75Author Commented:
Please close.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.