Upgrade Subversion on SUSE

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

TeamForge 8.0 supports Subversion 1.8.13.

  1. If you are doing this without Internet access, contact the CollabNet Support to get the auxiliary installer package for TeamForge 8.0 disconnected installation and save it in /tmp.
    • SUSE Linux Enterprise Server Server 11 SP2 64-bit package: CTFSVN-Disconnected-media-1.8.13-1.sles11.x86_64.rpm
  2. Set up the zypper 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.sles11.x86_64.rpm"

  3. Login as root and stop all collabnet services.
  4. Check that Subversion 1.8.13 is available for upgrade:
    • zypper refresh
    • zypper info subversion
  5. Upgrade Subversion.
    • zypper install subversion subversion-tools subversion-perl subversion-python subversion-server
    Note:

    You may see a message like this: There are some running programs that use files deleted by recent upgrade. You may wish to restart some of them. Run 'zypper ps' to list these programs.

    This message appears during a package upgrade which might cause library files to be overwritten -- if there any running processes using older library files, zypper warns you to restart those processes. You can ignore this message.

  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