Subversion on Ubuntu server - setup issues

Caporegime
Joined
7 Apr 2008
Posts
25,195
Location
Lorville - Hurston
Hi guys, i have followed this guide for setting up a subversion(svn) server and i cannot seem to access any repositries that i have creates and imported from a windows based svn repositry.

In the past, i installed a windows app called visual SVN that allows me to run a svn server on a windows machine. i had lots of repositries i made for it with many projects in it and now i want to migrate all these into my ubuntu server.

i followed this guide https://help.ubuntu.com/8.04/serverguide/C/subversion.html And succesfuly installed svn, added a user and configured the apache 2 config file with this:

Code:
 <Location /svn>
  DAV svn
  SVNPath /windows/mediahdd1/Repositories/Spring
  AuthType Basic
  AuthName Spring projects
  AuthUserFile /etc/subversion/passwd
  <LimitExcept GET PROPFIND OPTIONS REPORT>
  Require valid-user
  </LimitExcept>
  </Location>

I also simply moved my Repositry(from my windows machine) folder into that svn path of /windows/mediahdd1.

i first created a dummy repositry using the same guide i linked above and it creates exactly the same folders and files that i saw inside my own windows repositry, so i assumed that i can easily import my previous repositry folder and should work.

Anyways the main issue i am having is i cant access my svn server from another machine using the http:// or https:// protocol.

i am able to boot up a putty session and access it using this svn co file:///windows/mediahdd1/Repositories/Spring and it returns me what appears to be a list of files related to my project.

How can i access this remotely? do i need to run svn or is it running? the guide doesnt explain how to run the svn server, all it states is how to install, create a repo, create users and different protocols you can use to access it but how do you access it remotely from say tortoise svn? the http link doesnt work and thats what i normally use to access a svn repo from tortois or another svn client.

Any advice?

Do i need to change port? what is the default port for svn? cheers in advance
 
Is apache running?

Have you installed the svn module for apache?

There is no subversion server in this configuration - the apache module takes care of that for you.

You might need to do svn dump and restore if ther versions of svn are different or you may have issues.
 
Is apache running?

Have you installed the svn module for apache?

There is no subversion server in this configuration - the apache module takes care of that for you.

You might need to do svn dump and restore if ther versions of svn are different or you may have issues.

How do i know if apache is running?
 
Code:
ps aux | grep apache

or

Code:
ps aux | grep httpd

should return you the process id and whatnot of apache.

Alternatively
Code:
apachectl status
although i generally don't do it that way out of habit.
 
Back
Top Bottom