Virtualmin Subversion Not Working?

8 posts / 0 new
Last post
#1 Tue, 06/29/2010 - 12:38
gl3ny

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?

Tue, 06/29/2010 - 17:15
gl3ny

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.

Tue, 06/29/2010 - 18:51
andreychek

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

Wed, 06/30/2010 - 08:14 (Reply to #3)
gl3ny

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?

Wed, 06/30/2010 - 08:49
andreychek

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

Thu, 07/01/2010 - 16:10 (Reply to #5)
gl3ny

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??

Thu, 07/01/2010 - 21:21
andreychek

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

Sat, 07/03/2010 - 10:11 (Reply to #7)
gl3ny

Works perfectly, I feel so stupid :)

Topic locked