Apply TeamForge 16.3 Update 3

Following TeamForge 16.3 Update 1 and Update 2, TeamForge 16.3 Update 3 is now available. Apply TeamForge 16.3 Update 3 on your site if you have TeamForge 16.3 (or 16.3 Update 1/Update 2) up and running.

Note:

TeamForge add-on packages can remain installed when you apply TeamForge 16.3 Update 3. No updates are required. However, you should verify the compatibility of Add-ons applied to your site as some may be more specific to your site.

The most common Add-ons and their TeamForge compatibility are published here: https://ctf.open.collab.net/sf/go/page1363

If you have any questions regarding compatibility or updating a specific add-on, contact CollabNet Support.

Important: You must log in as a root user to apply TeamForge 16.3 Update 3.
  1. Stop the TeamForge CLI add-on.
    • service teamforge_cli_server stop
  2. Stop TeamForge
    • setenforce 0
    • /etc/init.d/collabnet stop all
    Note: In case of a distributed setup, stop TeamForge services on all servers.
  3. Skip this step if your site has internet access. This step is to configure TeamForge 16.3 Update 3 installation repository on sites without Internet access.
    1. Contact the CollabNet Support to get the auxiliary installer package for TeamForge 16.3 Update 3 disconnected installation and save it in /tmp.
      • Red Hat Enterprise Linux/CentOS 7.2 64 bit RPM package: CTF-Disconnected-media-16.3.924-7294.rhel7.x86_64.rpm
      • Red Hat Enterprise Linux/CentOS 6.x 64 bit RPM package: CTF-Disconnected-media-16.3.924-7294.rhel6.x86_64.rpm
    2. Back up the old repo file.
      For example:
      • mv /etc/yum.repos.d/CTF-Disconnected-media-16.3.916.repo /etc/yum.repos.d/CTF-Disconnected-media-16.3.916.repo.cn_backup
    3. Unpack the 16.3 Update 3 disconnected installation package.
      • rpm -Uvh <package-name>
    4. Verify your yum configuration files.
      • yum list httpd
      • yum list apr
  4. Skip this step if your TeamForge 16.3 site is not on VMware. This step is to update the TeamForge install repository base URL for TeamForge sites on VMware.
    1. Open the repository: vi /etc/yum.repos.d/collabnet-teamforge-16.3.repo
    2. Change the base URL from baseurl=http://packages.relenghub.collab.net/builds/4917/$releasever/$basearch to baseurl=http://packages.collab.net/16.3/$releasever/$basearch.
    3. Save and close the repository.
  5. Clear the yum cache.
    • yum clean all
  6. Install the TeamForge 16.3 Update 3.
    • yum install teamforge ctf-git-integration-NG-rest-api review-rules

    The above command installs all the TeamForge updates available in the CollabNet yum repository for TeamForge 16.3.

  7. Recreate the runtime environment.
    • cd /opt/collabnet/teamforge-installer/16.3
    • ./install.sh -r -n -I -V
  8. Start TeamForge.
    • /etc/init.d/collabnet start
  9. Run the post-install.py script.
    • /opt/collabnet/teamforge/runtime/scripts/post-install.py
  10. Start TeamForge.
    • setenforce 1
    • /etc/init.d/collabnet stop all
    • /etc/init.d/collabnet start all
  11. Fix data permissions.
    • /opt/collabnet/teamforge/runtime/scripts/fix_data_selinux_permissions.sh