Virtualmin Subversion Not Working?

Having trouble connecting to repos.

Subversion is enabled

Repo created under domain

User accounts associated with that domain created

User account granted access to particular repos

Cannot get dreamweaver to connect, “Server and project are not accessible”.

Think its the path but I’ve tried everything I can think of???

What protocol is virtualmin subversion using, HTTP, HTTPS, SVN, or SVN+SSH?

And what port, 3690?

Been trying to figure it out from the help of this post,

http://www.virtualmin.com/node/8116
“The subversion password files are in /home/$USERNAME/etc, or /home/$USERNAME/$DOMAINNAME/etc, and you can treat them just like a htpasswd file. You can use “man htpasswd” to get a list of options.”

I don’t have$USERNAME folder in home directory. I only have VS folders in home directory.

Howdy,

Each Virtual Server should have an “etc” directory in it, containing files that have usernames and passwords for subversion.

If the subversion feature is enabled for the given Virtual Server, then you should be able to access it by using SVN over HTTP with a URL like this:

http://domain.com/svn/

After doing that, and then authenticating, you should see a list of repositories.

-Eric

http://dzone.xxxxxxx.com/svn in the browser returns an authentication request pop up. Using the same log in credentials as the VS Owner (dzone.xxxxxx.com), the browser returns 403 Forbidden page. The error log for this shows: “The URI does not contain the name of a repository. [403, #190001]”

I checked “etc” for dzone and found svn-access.conf with a list of my repos and svn.basic.passwd with a single line:

dzone:$1$77xxxxxxxxxxxxxxxxxxHkUPgDhCR0

dzone is the same user I was trying to log in with and I used the same password as I would log into virtualmin with under dzone. I verified I was using the right password by logging into VM.

is there somewhere that sets a password different from the login password for dzone?

Hmm… I’m curious if adding a new subversion user happens to help.

If you go into Edit Mail and FTP users, select “Add user to this server”. Fill out the username info there, then go down to “Other user permissions”, and enable “Allow access to databases”.

-Eric

I added a second user and checked the access, conf and error log:

dzone:$1$77758489$0xJovfq/YiTwHkUPgDhCR0
darreng:$1$77863646$EAv2VPk4yG.QYBw0iNIgF.

[gmg:/]
dzone = rw
darreng = rw
[swa:/]
dzone = rw
darreng = rw
[test:/]
dzone = rw
darreng = rw

[Wed Jun 30 09:52:19 2010] [error] [client 67.xxx.xxx.83] user darreng.dzone not found: /svn

[Wed Jun 30 09:53:55 2010] [error] [client 67.xxx.xxx.83] The URI does not contain the name of a repository. [403, #190001]

What am I missing, please help??

Well, the error seems to be suggesting it wants a repository name in the URL… so try adding that to the end of the URL you’re using – something like:

http://domain.com/svn/repository_name

Works perfectly, I feel so stupid :slight_smile: