What were you expecting to see? You are interacting directly with svnserve on that port.
Now that I've created the repository, I have to create and configure the host (the site) that will respond to HTTP calls made by our SVN clients. how?
What were you expecting to see? You are interacting directly with svnserve on that port.
Now that I've created the repository, I have to create and configure the host (the site) that will respond to HTTP calls made by our SVN clients. how?
Now that I've created the repository, I have to create and configure the host (the site) that will respond to HTTP calls made by our SVN clients. how?
Why do your svn clients have to use http? tortoisesvn supports svn protocol that can talk directly to svnserve.
Why do your svn clients have to use http? tortoisesvn supports svn protocol that can talk directly to svnserve.
Thanks for the information. So how do I access the repository from TortoiseSVN?
So how do I access the repository from TortoiseSVN?
What ever url you were going to use with http can be replaced with svn:
http://server/reponame becomes svn://server/reponame
If you need to know more, you will need to search for it.
What ever url you were going to use with http can be replaced with svn:
http://server/reponame becomes svn://server/reponame
@ryecoaaron I tried to access the repository (I called it "vbrepo") but TortoiseSVN can't find the host: svn://serversvn/vbrepo
https://imgur.com/E560jq2
I tried to access the repository (I called it "vbrepo") but TortoiseSVN can't find the host: svn://serversvn/vbrepo
Your windows system isn't resolving the name serversvn. Try replacing it with the systems ip address and see if it works.
Your windows system isn't resolving the name serversvn. Try replacing it with the systems ip address and see if it works.
I realized that IPv6 is active on my system. is it a problem?
~update~
@ryecoaaron I have tried both with ip of omv and with ip of the machine on which I am. in both cases, it is the same message: https://imgur.com/CcQGO4f
could someone explain to me what that ip address means and how should i use it? https://imgur.com/25qvoJs
I found this IP address 172.17.0.1 in the logs but I don't know what this line means:
Sorry, I don't have time for an svn tutorial. I normally would tell people not to use it.
And that ip address is the docker ip address range. When not using macvlan, each container gets assigned and local address from docker. You cannot connect to this range. That is why you have to forward ports on the host.
Sorry, I don't have time for an svn tutorial. I normally would tell people not to use it.
And that ip address is the docker ip address range. When not using macvlan, each container gets assigned and local address from docker. You cannot connect to this range. That is why you have to forward ports on the host.
do I have to do port forwarding from docker?
publish 3690:3690 is doing that.
publish 3690:3690 is doing that.
I've already executed this command. Why it does not work?
@ryecoaaron I thought I did everything correctly, where am I wrong?
I thought I did everything correctly, where am I wrong?
Just to reiterate that I don't have time to teach anyone how to use svn. But here was my quick test:
create the container
docker run -d -v /srv/dev-disk-by-label-d1/svn:/var/opt/svn -p 3690:3690 garethflowers/svn-server
create the repo named 'test'
aaron@omv5dev:~$ docker exec -it keen_brattain sh
/var/opt/svn # svnadmin create test
check the repo from another system
aaron@omv4dev:~$ svn info svn://omv5dev/test/
Path: test
URL: svn://omv5dev/test
Relative URL: ^/
Repository Root: svn://omv5dev/test
Repository UUID: b9ff1451-5c41-4769-8d7f-79fbe140055d
Revision: 0
Node Kind: directory
Last Changed Rev: 0
Last Changed Date: 2019-12-09 11:28:40 -0600 (Mon, 09 Dec 2019)
tortoise svn should work the same but I'm not installing that.
to me, it doesn't even work from the same system!
Must be a dns issue. Does svn info svn://localhost/vbrepo/ work?
Must be a dns issue. Does svn info svn://localhost/vbrepo/ work?
Assuming you started the container with the same parameters you posted above, what is the output of find /home/svn/ -ls
Assuming you started the container with the same parameters you posted above, what is the output of find /home/svn/ -ls
root@omv:~# find /home/svn/ -ls
2359298 4 drwxr-xr-x 3 root root 4096 Nov 14 09:35 /home/svn/
2359299 4 drwxr-xr-x 6 root root 4096 Nov 14 09:35 /home/svn/vbrepo
2359337 4 -r--r--r-- 1 root root 2 Nov 14 09:35 /home/svn/vbrepo/format
2359303 4 drwxr-xr-x 2 root root 4096 Nov 14 09:35 /home/svn/vbrepo/hooks
2359305 4 -rwxr-xr-x 1 root root 3954 Nov 14 09:35 /home/svn/vbrepo/hooks/pre-commit.tmpl
2359310 4 -rwxr-xr-x 1 root root 2716 Nov 14 09:35 /home/svn/vbrepo/hooks/post-lock.tmpl
2359306 4 -rwxr-xr-x 1 root root 3437 Nov 14 09:35 /home/svn/vbrepo/hooks/pre-revprop-change.tmpl
2359307 4 -rwxr-xr-x 1 root root 3589 Nov 14 09:35 /home/svn/vbrepo/hooks/pre-lock.tmpl
2359312 4 -rwxr-xr-x 1 root root 2939 Nov 14 09:35 /home/svn/vbrepo/hooks/post-revprop-change.tmpl
2359309 4 -rwxr-xr-x 1 root root 2589 Nov 14 09:35 /home/svn/vbrepo/hooks/post-commit.tmpl
2359304 4 -rwxr-xr-x 1 root root 3682 Nov 14 09:35 /home/svn/vbrepo/hooks/start-commit.tmpl
2359311 4 -rwxr-xr-x 1 root root 2548 Nov 14 09:35 /home/svn/vbrepo/hooks/post-unlock.tmpl
2359308 4 -rwxr-xr-x 1 root root 3277 Nov 14 09:35 /home/svn/vbrepo/hooks/pre-unlock.tmpl
2359318 4 -rw-r--r-- 1 root root 246 Nov 14 09:35 /home/svn/vbrepo/README.txt
2359313 4 drwxr-xr-x 2 root root 4096 Nov 14 09:35 /home/svn/vbrepo/conf
2359314 8 -rw-r--r-- 1 root root 4375 Nov 14 09:35 /home/svn/vbrepo/conf/svnserve.conf
2359316 4 -rw-r--r-- 1 root root 1080 Nov 14 09:35 /home/svn/vbrepo/conf/authz
2359317 4 -rw-r--r-- 1 root root 885 Nov 14 09:35 /home/svn/vbrepo/conf/hooks-env.tmpl
2359315 4 -rw-r--r-- 1 root root 309 Nov 14 09:35 /home/svn/vbrepo/conf/passwd
2359300 4 drwxr-xr-x 2 root root 4096 Nov 14 09:35 /home/svn/vbrepo/locks
2359302 4 -rw-r--r-- 1 root root 139 Nov 14 09:35 /home/svn/vbrepo/locks/db-logs.lock
2359301 4 -rw-r--r-- 1 root root 139 Nov 14 09:35 /home/svn/vbrepo/locks/db.lock
2359319 4 drwxr-sr-x 6 root root 4096 Nov 14 09:35 /home/svn/vbrepo/db
2359333 4 -rw-r--r-- 1 root root 2 Nov 14 09:35 /home/svn/vbrepo/db/min-unpacked-rev
2359329 4 -rw-r--r-- 1 root root 74 Nov 14 09:35 /home/svn/vbrepo/db/uuid
2359336 4 -r--r--r-- 1 root root 41 Nov 14 09:35 /home/svn/vbrepo/db/format
2359323 4 drwxr-sr-x 3 root root 4096 Nov 14 09:35 /home/svn/vbrepo/db/revprops
2359324 4 drwxr-sr-x 2 root root 4096 Nov 14 09:35 /home/svn/vbrepo/db/revprops/0
2359332 4 -r--r--r-- 1 root root 50 Nov 14 09:35 /home/svn/vbrepo/db/revprops/0/0
2359321 4 drwxr-sr-x 3 root root 4096 Nov 14 09:35 /home/svn/vbrepo/db/revs
2359322 4 drwxr-sr-x 2 root root 4096 Nov 14 09:35 /home/svn/vbrepo/db/revs/0
2359331 4 -r--r--r-- 1 root root 253 Nov 14 09:35 /home/svn/vbrepo/db/revs/0/0
2359330 12 -rw-r--r-- 1 root root 10835 Nov 14 09:35 /home/svn/vbrepo/db/fsfs.conf
2359325 4 drwxr-sr-x 2 root root 4096 Nov 14 09:35 /home/svn/vbrepo/db/transactions
2359334 4 -rw-r--r-- 1 root root 2 Nov 14 09:35 /home/svn/vbrepo/db/txn-current
2359335 0 -rw-r--r-- 1 root root 0 Nov 14 09:35 /home/svn/vbrepo/db/txn-current-lock
2359328 4 -rw-r--r-- 1 root root 2 Nov 14 09:35 /home/svn/vbrepo/db/current
2359320 4 -rw-r--r-- 1 root root 5 Nov 14 09:35 /home/svn/vbrepo/db/fs-type
2359327 0 -rw-r--r-- 1 root root 0 Nov 14 09:35 /home/svn/vbrepo/db/write-lock
2359326 4 drwxr-sr-x 2 root root 4096 Nov 14 09:35 /home/svn/vbrepo/db/txn-protorevs
root@omv:~#
Alles anzeigen
Those are the same permissions I have. I don't know why it doesn't work.
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!