HTTP/DAV for SVN in rstack

Hi,
we want to look into different kinds of other solutions for our svn. There I found RhodeCode.
I have an entire rstack up and running. The scanning and importing of the existing repos worked like a charm.
Our developers are currently using tortoise svn as a windows svn client, but this needs http/dav.
From the VSC Settings I found that there should be a builtin apache that has a mod_dav config but when looking into the docker stack I cant find a apache container and the clients also reports:

The server at β€˜https://domain/repo’ does not support the HTTP/DAV protocol

How can I fix this? I have searched now for hours and could not find a suitable solution for rstack. For a older version it advises you to just install apache and configure the mod_dav youself.
This would be hard in the stack as the default https port is already blocked by an other container that runs the webui.

I have RhodeCode 5.5.3 CE Installed and used this Site to init and install

We are potential Enterprise Edition Users. Is there any kind of support for this software in advance so we can guarantee functionality and performance?

@SE-IT Hi! Let me investigate a bit and get back to you in a moment!

1 Like

if you are using https://yourdomain/repo-name then https://yourdomain/svn/repo-name is proper url that is served by traeffik

Regarding config file:
Apache is part of svn container - it should be named rc_cluster_apps-svn
in your rcstack installation folder there is a mod_dav config at installation-folder/svn/mod_dav_svn.conf

it is mounted on startup so changes to it would be picked up by container (you may need to restart the stack)

there is also this section in UI:

Hope this helps!

Thanks for the reply!

Well I also thought of this. Sadly it does not help. I even restarted the whole VM after changing the config. My errors seem to point at the repo beeing at the https://yourdomain/repo-name because I get the before stated error there. If I squeeze the /svn/ dir in the middle my svn client can not find the repo at all instead of getting a http/dav error.

Unable to connect to a repository at URL β€˜http://domain/svn/repo’
β€˜/svn/repo’ path not found

When going into the main svn structure of the svn repo itself there are all the supported paths shown that this repo is available at. For exapmple also http by default:


In that path there is no svn in between.

The container is running tho:

and the config is there in ~/config/svn/mod_dav_svn.conf but empthy:

Definitely! We are close to major release, so apologies for long response times here in community support. Our EE clients have some additional support channels like slack and zendesk, we also take feature requests from our EE clients

ATM for testing purposes I installed everything in debian12 with the root user so I don’t get permission errors.

1 Like

Hi,

It might be domain misconfiguration, i noticed that the clone url has an IP address instead of a domain. This might cause problems. Can you check ./rcstack status if proper domain is set there ?

1 Like

thanks for additional info! Yes, that /svn/ in path is unnecessary

can you check logs inside the svn and traefik containers and see what happens when you are doing a request?
Can you try adding trailing slash in the end? https://yourdomain/repo-name/ like this

This is indeed what solved the issue. The http/dav seems to be only active for the specified domain. For testing I did not configure a valid domain and think about consequences.
Now with a override in my local hosts file it works. This issue is solved.

Thanks a lot!
Idk if this is intended for security but it might be usefull as a info in setup or documentation if ip is not possible.