A few days ago I decided I really needed version control, so I installed Subversion. I already have Apache2, mySQL and PHP installed via DarwinPorts, liked the simplicity of the process and decided to go the same route with Subversion. The problem is I can't Subversion to get to work for the life of me, always getting the same error "svn: Could not open the requested SVN filesystem" I've installed the following: subversion @1.4.0_0+mod_dav_svn apache2 @2.2.3_0 (I did an update around the same time) I've used svnadmin to create a repository at /usr/local/svn-repository. Then I've edited the httpd.conf file as follows: ------------------------------------------------ Listen 8080 LoadModule dav_svn_module modules/mod_dav_svn.so <Location /svn> DAV svn SVNPath /usr/local/svn-repository </Location> ---------------------------------------------- According to all the tutorials and articles I've been able to find, I should now be able to connect to svn via http://localhost:8080/svn but all I get is the "Could not open the requested SVN filesystem". I've tried changing the owner of the directory to www (which is the HTTP user), but still no go. When I try to do an import on the command line, I get: svn: PROPFIND request failed on '/svn' svn: Could not open the requested SVN filesystem" The Apache error log says: [Thu Oct 12 12:05:39 2006] [error] [client ::1] Could not open the requested SVN filesystem [500, #2] [Thu Oct 12 12:05:39 2006] [error] [client ::1] File does not exist: / opt/local/apache2/htdocs/favicon.ico [Thu Oct 12 12:06:08 2006] [error] [client ::1] (20014)Internal error: Can't open file '/usr/local/Subversion/format': No such file or directory I'd really appreciate some help. I've googled all over the net but I can't find the solution. Elise van Looij new to the macports list
Hello, I would probably first try to get Subversion working via svn+ssh (svn +ssh://), or simply accessing the local respository (file://). Once you have this working, I'd then try adding the WebDAV functionality on top, if this is what you desire. If this is just going to be a personal workstation of yours, I would probably just skip WebDAV entirely and go with svn+ssh for simplicity and security. On Oct 12, 2006, at 9:19 AM, Elise van Looij wrote:
A few days ago I decided I really needed version control, so I installed Subversion. I already have Apache2, mySQL and PHP installed via DarwinPorts, liked the simplicity of the process and decided to go the same route with Subversion. The problem is I can't Subversion to get to work for the life of me, always getting the same error "svn: Could not open the requested SVN filesystem"
I've installed the following: subversion @1.4.0_0+mod_dav_svn apache2 @2.2.3_0 (I did an update around the same time)
I've used svnadmin to create a repository at /usr/local/svn- repository. Then I've edited the httpd.conf file as follows: ------------------------------------------------ Listen 8080
LoadModule dav_svn_module modules/mod_dav_svn.so
<Location /svn> DAV svn SVNPath /usr/local/svn-repository </Location> ----------------------------------------------
According to all the tutorials and articles I've been able to find, I should now be able to connect to svn via http://localhost:8080/ svn but all I get is the "Could not open the requested SVN filesystem". I've tried changing the owner of the directory to www (which is the HTTP user), but still no go.
When I try to do an import on the command line, I get:
svn: PROPFIND request failed on '/svn' svn: Could not open the requested SVN filesystem"
The Apache error log says:
[Thu Oct 12 12:05:39 2006] [error] [client ::1] Could not open the requested SVN filesystem [500, #2] [Thu Oct 12 12:05:39 2006] [error] [client ::1] File does not exist: /opt/local/apache2/htdocs/favicon.ico [Thu Oct 12 12:06:08 2006] [error] [client ::1] (20014)Internal error: Can't open file '/usr/local/Subversion/format': No such file or directory
I'd really appreciate some help. I've googled all over the net but I can't find the solution.
Elise van Looij new to the macports list
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
I use the standalone Subversion client recommended by the WebKit.org site instead of DarwinPorts' version. Direct Link: http://metissian.com/projects/macosx/subversion/ James Cornell On Oct 12, 2006, at 6:19 AM, Elise van Looij wrote:
A few days ago I decided I really needed version control, so I installed Subversion. I already have Apache2, mySQL and PHP installed via DarwinPorts, liked the simplicity of the process and decided to go the same route with Subversion. The problem is I can't Subversion to get to work for the life of me, always getting the same error "svn: Could not open the requested SVN filesystem"
I've installed the following: subversion @1.4.0_0+mod_dav_svn apache2 @2.2.3_0 (I did an update around the same time)
I've used svnadmin to create a repository at /usr/local/svn- repository. Then I've edited the httpd.conf file as follows: ------------------------------------------------ Listen 8080
LoadModule dav_svn_module modules/mod_dav_svn.so
<Location /svn> DAV svn SVNPath /usr/local/svn-repository </Location> ----------------------------------------------
According to all the tutorials and articles I've been able to find, I should now be able to connect to svn via http://localhost:8080/ svn but all I get is the "Could not open the requested SVN filesystem". I've tried changing the owner of the directory to www (which is the HTTP user), but still no go.
When I try to do an import on the command line, I get:
svn: PROPFIND request failed on '/svn' svn: Could not open the requested SVN filesystem"
The Apache error log says:
[Thu Oct 12 12:05:39 2006] [error] [client ::1] Could not open the requested SVN filesystem [500, #2] [Thu Oct 12 12:05:39 2006] [error] [client ::1] File does not exist: /opt/local/apache2/htdocs/favicon.ico [Thu Oct 12 12:06:08 2006] [error] [client ::1] (20014)Internal error: Can't open file '/usr/local/Subversion/format': No such file or directory
I'd really appreciate some help. I've googled all over the net but I can't find the solution.
Elise van Looij new to the macports list
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
On 10/12/06, Elise van Looij <evlooij@xs4all.nl> wrote:
A few days ago I decided I really needed version control, so I installed Subversion. I already have Apache2, mySQL and PHP installed via DarwinPorts, liked the simplicity of the process and decided to go the same route with Subversion. The problem is I can't Subversion to get to work for the life of me, always getting the same error "svn: Could not open the requested SVN filesystem"
I'm pretty sure that the MacPorts subversion +mod_dav_svn does work. (You're definitely playing with the httpd.conf from MacPorts' apache, not Apple's, right? And they're not both running or something?) You might want to try users@subversion.tigris.org. --dave -- David Glasser | glasser@mit.edu | http://www.davidglasser.net/
On Oct 12, 2006, at 6:19am, Elise van Looij wrote:
I've used svnadmin to create a repository at /usr/local/svn- repository. [...] [Thu Oct 12 12:06:08 2006] [error] [client ::1] (20014)Internal error: Can't open file '/usr/local/Subversion/format': No such file or directory
Note the two paths -- /usr/local/svn-repository and /usr/local/ Subversion. I'd go through all your Apache .conf files and make sure you've only got one reference to the svn repo you want to use. (You might do "grep Subversion /opt/local/etc", or wherever your Apache config files are.) Also, are you sure you restarted Apache after changing the config file? --John
On Oct 12, 2006, at 08:19, Elise van Looij wrote:
A few days ago I decided I really needed version control, so I installed Subversion. I already have Apache2, mySQL and PHP installed via DarwinPorts, liked the simplicity of the process and decided to go the same route with Subversion. The problem is I can't Subversion to get to work for the life of me, always getting the same error "svn: Could not open the requested SVN filesystem"
I use the MacPorts versions of Subversion and Apache 2 to serve my repositories. Works great. That error message generally means the server is looking for the repositories in the wrong place.
I've installed the following: subversion @1.4.0_0+mod_dav_svn apache2 @2.2.3_0 (I did an update around the same time)
I've used svnadmin to create a repository at /usr/local/svn- repository. Then I've edited the httpd.conf file as follows: ------------------------------------------------ Listen 8080
LoadModule dav_svn_module modules/mod_dav_svn.so
<Location /svn> DAV svn SVNPath /usr/local/svn-repository </Location> ----------------------------------------------
So you want the repository to be in /usr/local/svn-repository; that's fine.
According to all the tutorials and articles I've been able to find, I should now be able to connect to svn via http://localhost:8080/ svn but all I get is the "Could not open the requested SVN filesystem". I've tried changing the owner of the directory to www (which is the HTTP user), but still no go.
When I try to do an import on the command line, I get:
svn: PROPFIND request failed on '/svn' svn: Could not open the requested SVN filesystem"
The Apache error log says:
[Thu Oct 12 12:05:39 2006] [error] [client ::1] Could not open the requested SVN filesystem [500, #2] [Thu Oct 12 12:05:39 2006] [error] [client ::1] File does not exist: /opt/local/apache2/htdocs/favicon.ico [Thu Oct 12 12:06:08 2006] [error] [client ::1] (20014)Internal error: Can't open file '/usr/local/Subversion/format': No such file or directory
The error message says Apache thinks it's supposed to look for the repository in /usr/local/Subversion. Why does it think that? Somewhere in your Apache configuration files it must have this path defined. Find that place and change it to the path you wanted it to look at, /usr/local/svn-repository, or if the lines you found are redundant with the lines you already had, remove them.
participants (6)
-
David Glasser
-
Elise van Looij
-
James Cornell
-
Joe Auty
-
John Labovitz
-
Ryan Schmidt