404 with subversion using file:///

Added by Dave Lowndes over 4 years ago

Been googling for 30 mins and the 404 is pretty common trying to access subversion via Redmine but I haven't found a solution yet

My repository is available on the same server at file:///var/svn/dss.

Log:

No close tag for /lists/list
Line: 4
Position: 67
Last 80 unconsumed characters:

Output was:
 <?xml version="1.0"?>
<lists>
<list
   path="file:///var/svn/dss">

  Rendered common/error.html.erb within layouts/base (0.2ms)
Completed 404 Not Found in 354ms (Views: 25.9ms | ActiveRecord: 1.2ms)

It appears Redmine is running as root (ok for my purposes):

root     29266  0.0  0.2 548736  2016 ?        Sl   06:25   0:00 /usr/lib/phusion_passenger/ApplicationPoolServ
root     29267  0.2  0.9  44608  6976 ?        Sl   06:25   2:21 Passenger spawn server

I've tried the following:

  • chown'ing the svn folder group to www-data and root
  • svn and root user details for the repository entry in Redmine
  • doing a check out as root with file:///var/svn/dss (works fine)
  • running the following as root svn list --xml file:///var/svn/dss >log.xml - xml looks valid to me

I've pretty much given up at this point.

Replies (2)

RE: 404 with subversion using file:/// - Added by Paresh Patel over 4 years ago

hi
path="file:///var/svn/dss">

above path is not write


path="file:///yourserverip/var/svn/dss">

above path add then solve your problem any question then reply me

RE: 404 with subversion using file:/// - Added by Dave Lowndes over 4 years ago

Hi, no combination of file:///127.0.0.1/var/svn/dss, file:///localhost/var/svn/dss, file:///vcs.mydomain.com/var/svn/dss, svn+ssh://vcs.mydomain.com/var/svn/dss work for me, they all just fail with a stupid 404 message that means nothing to me. Hell this is frustrating.

(1-2/2)