Upgrade Subversion on RHEL or CentOS

Use the yum package manager to upgrade to the latest supported Subversion release.

TeamForge 8.0 supports Subversion 1.8.13.

  1. If you are doing this upgrade without Internet access, contact the CollabNet Support to get the auxiliary installer package for TeamForge 8.0 disconnected installation and save it in /tmp.
    RHEL/CentOS 6.6
    • 32 bit RPM package: CTFSVN-Disconnected-media-1.8.13-1.el6.i686.rpm
    • 64 bit RPM package: CTFSVN-Disconnected-media-1.8.13-1.el6.x86_64.rpm
    RHEL/CentOS 7.0 (TeamForge 8.0 only)
    • 64 bit RPM package: CTFSVN-Disconnected-media-1.8.13-1.el7.x86_64.rpm
  2. Set up the yum repository for upgrading Subversion.
    1. Log in as root.
    2. Install the disconnected-media package.
    • rpm -ivh package_name

    package_name is the path of the media that you downloaded, for example, "/tmp/CTFSVN-Disconnected-media-1.8.13-1.el7.x86_64.rpm"

  3. Log in as root and stop all collabnet services.
  4. Check that Subversion 1.8.13 is available for upgrade:
    • yum list subversion
  5. Upgrade Subversion.
    • yum update subversion subversion-perl subversion-python mod_dav_svn
  6. Verify the Subversion upgrade.
    • rpm -qa | grep subversion
    • svn --version | grep " version"
  7. Note: In the case of a distributed setup, where Subversion runs on a separate server, skip this step and go directly to the last step to restart collabnet services.
    Upgrade and set permissions only if you are upgrading Subversion on the application server.
    1. Change to the runtime/scripts directory.
      • cd /opt/collabnet/teamforge/runtime/scripts
    2. Run the Subversion upgrade script.
      • ./svn-upgrade-working-copies.sh
    3. Set the permissions for branding and publish directories.
      • eval `./options-to-shell-variables.py`
      • chown $HTTPD_USER:$HTTPD_GROUP $OVERRIDES_DIR $PUBLISH_DIR -R
  8. Start all collabnet services.
    • /etc/init.d/collabnet start all