SVN error: Repository moved permanently...please relocate

Posted on 2009-02-12
Last Modified: 2013-11-25
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

Question by:bearclaws75

    Author Comment

    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

    LVL 3

    Assisted Solution

    Any directory called "myrepo" within your DocumentRoot?

    Author Comment

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

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

    Is this possible?
    LVL 3

    Assisted Solution

    so if you run this, it should return with no result. Correct?
    find /var/www/html/sites/ -name "myrepo" -print

    Accepted Solution

    I chown-ed the repo recursively to apache:apache and everything seems to be working fine.

    Author Comment

    Please close.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
    If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now