Upgrade Subversion on SUSE

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

  1. Contact the CollabNet Support to get the auxiliary installer package for TeamForge 8.1 disconnected installation and save it in /tmp.
    • SuSE Linux Enterprise Server Server 11 SP2 64-bit package: CTF-Disconnected-media-8.1.0.1-215.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/CTF-Disconnected-media-8.1.0.1-215.sles11.x86_64.rpm"

  3. Login as root and stop all collabnet services.
  4. Check that Subversion 1.8.14 is available for upgrade:
    • zypper refresh
    • zypper info subversion
  5. Remove the older Subversion packages.
    • zypper remove subversion subversion-server subversion-tools subversion-perl subversion-python
  6. Upgrade Subversion.
    • zypper install subversion subversion-tools subversion-perl subversion-python
    • zypper install 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.

  7. Verify the Subversion upgrade.
    • rpm -qa | grep subversion
    • svn --version | grep " version"
  8. 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
  9. Start all collabnet services.
    • /etc/init.d/collabnet start all