Subversion With Write Over HTTP in Centos

Veeramani P's Avatar

Veeramani P

19 Sep, 2018 06:34 AM

Dear Team,

I need document for Subversion With Write Over HTTP in Centos. Because our Rhode-code server running in Centos machine. I found a document but its for Ubuntu machine.
https://docs.rhodecode.com/RhodeCode-Enterprise/admin/svn-http.html

Also i can't find the mod_dav_svn.conf file in .rccontrol folder.

Same as for Centos or any other document for Centos platform.
Kindly provide the solution for this.

Regards,
Veeramani

  1. Support Staff 1 Posted by Marcin Kuzminsk... on 19 Sep, 2018 07:08 AM

    Marcin Kuzminski's Avatar

    Hi,

    Simply install those packages that are for ubuntu in centos/redhat. Other things are to be executed on any kind of OS System.

  2. 2 Posted by Veeramani P on 19 Sep, 2018 07:15 AM

    Veeramani P's Avatar

    Thanks,

    It support community edition or enterprise edition. We are using community edition.
    I can't find the mod_dav_svn.conf file in .rccontrol folder.

  3. Support Staff 3 Posted by Marcin Kuzminsk... on 19 Sep, 2018 08:33 AM

    Marcin Kuzminski's Avatar

    Yes it works for both EE and CE edition. We'd happy get a contribution to out docs on step-by-step instructions on Centos packages and requirements.

    Best,

  4. 4 Posted by Veeramani P on 21 Sep, 2018 04:17 AM

    Veeramani P's Avatar

    Dear Team,

    There is problem when we configure Subversion With Write Over HTTP in Centos using this rhodecode post https://docs.rhodecode.com/RhodeCode-Enterprise/admin/svn-http.html
    We install mod_dav_svn and subversion in centos and enable module like this LoadModule dav_svn_module /usr/local/httpd/modules/mod_dav_svn.so and mod_authz_svn.so in http/conf.d/subversion.conf

    <VirtualHost *:2080>
       ServerAdmin rhodecode-admin@localhost
       DocumentRoot /var/www/html
      ErrorLog ${'${APACHE_LOG_DIR}'}/error.log
     CustomLog ${'${APACHE_LOG_DIR}'}/access.log combined
       LogLevel info
          #HttpProtocolOptions Unsafe
       Include /home/rhode/.rccontrol/community-1/mod_dav_svn.conf
     </VirtualHost>

    In rhodecode config file /.rccontrol/community-1/rhodecode.ini

    ############################################################
    ### Subversion proxy support (mod_dav_svn) ###
    ### Maps RhodeCode repo groups into SVN paths for Apache ###
    ############################################################
    ## Enable or disable the config file generation.
    svn.proxy.generate_config = true
    ## Generate config file with `SVNListParentPath` set to `On`.
    svn.proxy.list_parent_path = true
    ## Set location and file name of generated config file.
    svn.proxy.config_file_path = %(here)s/mod_dav_svn.conf
    ## Used as a prefix to the `Location` block in the generated config file.
    ## In most cases it should be set to `/`.
    svn.proxy.location_root = /
    ## Command to reload the mod dav svn configuration on change.
    ## Example: `/etc/init.d/apache2 reload`
    svn.proxy.reload_cmd = /etc/init.d/httpd reload
    ## If the timeout expires before the reload command finishes, the command will
    ## be killed. Setting it to zero means no timeout. Defaults to 10 seconds.
    #svn.proxy.reload_timeout = 10

    After goto rhodecode Admin ‣ Settings ‣ VCS page, and enable Proxy Subversion HTTP requests, and specify the Subversion HTTP Server URL.

    after restart the rhodecode and httpd server the mod_dav_svn.conf file not created automatically, and httpd server not started because it getting error mod_dav_svn.conf (No such files or directory mod_dav_svn.conf)

    Also there is no Generate Apache Config button in rhodecode admin-settings-vcs page.
    Kindly provide the solution.

  5. Support Staff 5 Posted by Marcin Kuzminsk... on 21 Sep, 2018 07:20 AM

    Marcin Kuzminski's Avatar

    When setting up svn http proxy, you can manually click Generate Apache Config to generate the config

  6. 6 Posted by Veeramani P on 21 Sep, 2018 07:30 AM

    Veeramani P's Avatar

    There is no Generate Apache Config button in rhodecode Admin ‣ Settings ‣ VCS page in rhodecode.
    without config button how to generate mod_dav_svn.conf file.

  7. Support Staff 7 Posted by Marcin Kuzminsk... on 21 Sep, 2018 09:24 AM

    Marcin Kuzminski's Avatar

    There's must be a button there. Next to the URL.

    Is the SVN configuration in rhodecode.ini inside the [app:main] section ?

  8. 8 Posted by Veeramani P on 21 Sep, 2018 09:38 AM

    Veeramani P's Avatar

    Yes this is the rhodecode.ini inside the [app:main] section.
    Sorry sir there is no button next to the URL. We are using rhodecode community version 4.8.
    In vcs admin page no button after Subversion HTTP Server URL..

  9. Support Staff 9 Posted by Marcin Kuzminsk... on 21 Sep, 2018 09:39 AM

    Marcin Kuzminski's Avatar

    Ohh, i should have asked before. Please upgrade to the latest version (Now 4.13.2)

  10. 10 Posted by Veeramani P on 21 Sep, 2018 12:26 PM

    Veeramani P's Avatar

    Is there any way to upgrade existing rhodecode version 4.8 to 4.13 or once uninstall the existing one and install new upgrade version. Kindly provide the document for the upgrade.

  11. Support Staff 11 Posted by Marcin Kuzminsk... on 21 Sep, 2018 04:40 PM

    Marcin Kuzminski's Avatar

    All our docs are located here: docs.rhodecode.com, here's the part about upgrade:

    https://docs.rhodecode.com/RhodeCode-Control/tasks/upgrade-to-lates...

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

17 Oct, 2018 03:22 PM
15 Oct, 2018 12:10 PM
15 Oct, 2018 05:20 AM
10 Oct, 2018 08:11 AM
03 Oct, 2018 01:16 PM

 

01 Oct, 2018 08:41 AM
28 Sep, 2018 10:12 AM
26 Sep, 2018 04:34 AM
21 Sep, 2018 04:40 PM
18 Sep, 2018 03:30 PM
11 Sep, 2018 09:12 AM