Apply a patch on RHEL/CentOS

Use these instructions to patch your TeamForge 8.1 site with TeamForge 8.1 Patch 1.

Important: You must log in as a root user to apply this patch.
  1. Remove hot fixes, if any. Example:
    • cd /opt/collabnet/teamforge/add-ons/00common_hotfixes
    • ./install --uninstall
    • rpm -e 00common_hotfixes
  2. Uninstall TeamForge CLI-add on.
    • cd /opt/collabnet/teamforge/add-ons/teamforge_cli_server
    • ./install --uninstall
    • yum erase teamforge_cli_server
  3. Stop TeamForge
    • /etc/init.d/collabnet stop all
    Note: In case of a distributed setup, run the above command in the respective servers.
  4. Skip this step if your site has internet access. If your site has no internet access, see Configure TeamForge patch installation repository for Red Hat/CentOS on sites without internet access before you proceed.
  5. For RHEL/CentOS 7, remove the existing Python/XML by running the following command:
    • yum erase PyXML
  6. Clear the yum cache.
    • yum clean all
  7. Install the TeamForge patch.
    • To install TeamForge application packages, run the following command:
      • yum install teamforge collabnet-binary
    • To install GIT application packages, run the following command:
      • yum install teamforge-git

    The yum command installs all the TeamForge patches available in the CollabNet yum repository for TeamForge 8.1.

    Note: When you upgrade, the site-options.conf file is automatically backed up into /opt/collabnet/teamforge-installer/ directory.

    You can upgrade TeamForge based on the services enabled in the respective servers in case of distributed setup. For example, to install the TeamForge patches run the command yum install teamforge-scm in case of "SCM on a separate server".

  8. If you have LDAP set up for external authentication, you must set the “REQUIRE_USER_PASSWORD_CHANGE” site options token to false.
  9. Recreate the runtime environment.
    • cd /opt/collabnet/teamforge-installer/
    • ./ -r -I -V
  10. Since this patch includes Subversion binaries upgrade to 1.8.14, perform the following step.
    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.
      • ./
    3. Set the permissions for branding and publish directories.
      • eval `./`
  11. Start TeamForge.
    • /etc/init.d/collabnet start all
  12. Run the following script.
    • /opt/collabnet/teamforge/runtime/scripts/
To verify if the patch is working: