SVN error: could not open the requested SVN file system

I installed ffg and then the SVN document on Windows Server 2008 :

1. Subversion-Setup-Subversion-1.5.1.en-us 2. Apache-httpd-2.2.19-win32-x86-no_ssl 3. TSVN- TortoiseSVN-1.6.16.21511-win32-svn-1.6.17 

Here are the settings for Location :

 <Location /svn> DAV svn SVNListParentPath on SVNParentPath C:\SVN </Location> 

When I tried to open the URL in the browser, http: // localhost / svn / test , I got this error:

SVN error: Could not open the requested SVN file system.

What is the problem and how to fix it?

+6
source share
3 answers

First, the Apache error log file contains more information about such errors.

Since you are using Windows Server 2008 and the repositories are located on drive C, it is possible that access restrictions do not allow the Apache process to access them. Add the user to the Apache process under (maybe SYSTEM if it works as a service) in the C:\SVN folder recursively with full access.

And make sure that there is actually a repository in C:\SVN\test

+3
source

My situation

I moved the SVN data from one server to another, received all the settings and worked fine, except that when I created a new file and tried to transfer it to SVN, I received the following error (ONLY to commit a new file (add), the update works excellent (existing files)).

 $ svn commit -am 'testing commit' Adding trunk/public_html/mynewtestfile.txt svn: Commit failed (details follow): svn: Could not open the requested SVN filesystem svn: Could not open the requested SVN filesystem 

My Vhosts is configured so that I can have multiple repositories in the same directory, and I can access them like this:

 http://svn.mydomain.com/repo1 http://svn.mydomain.com/repo2 

It turns out that my vhosts.conf (or httpd.conf or wherever you set up virtual hosts) uses SVNParentPath so that I can access my SVN repositories using the above URLs.

Q. How do I configure multiple SVN repositories in the same directory on my server?

A : https://serverfault.com/questions/461144/vhost-setup-for-multiple-svn-repositories

Now I could either configure SVN in my vhosts separately to fix this error (check my answer on ServerFault post) ( svn: Could not open... ), or I just needed to create another SVN repo in my repos directory under the name error .

I created this repository as follows:

 #Inside your repository directory, create an error repository. svnadmin create error 

This seemed to resolve all my errors with passing code through my SVN.

+3
source

Yes! The problem is file permissions. For me, the easiest solution was to move the repository to a folder in which Apache has read / write permissions.

In my case (I am using Subabersion Edge from CollabNet):

 C:\csvn\data\repositories 
0
source

Source: https://habr.com/ru/post/893150/


All Articles