Downgrade a patch on RHEL/CentOS

To downgrade a patch that you have installed on your TeamForge site, run the patch installer from the directory corresponding to the patch.

Important: You must log in as a root user to apply this patch.
  1. Uninstall TeamForge CLI-add on.
    • cd /opt/collabnet/teamforge/add-ons/teamforge_cli_server
    • ./install --uninstall
    • yum erase teamforge_cli_server
  2. Stop TeamForge.
    • /etc/init.d/collabnet stop all
    Note: In case of distributed setup, run the above command in the respective servers.
  3. Run the downgrade command.
    Note:
    • When you downgrade, the backup of the site-options.conf file will be available in /opt/collabnet/teamforge-installer/8.0.0.0/conf directory.
    • You must downgrade TeamForge based on the services enabled in the server in case of distributed setup. For example, run the downgrade command yum downgrade teamforge-scm CN-collabnet-core CN-migration CN-runtime TeamForge-installer in case of "SCM on a separate server".
    • yum downgrade CN-collabnet-core CN-runtime CN-migration TeamForge-installer teamforge-database teamforge-etl teamforge-scm teamforge-codesearch ctf_clireports teamforge-binary teamforge-indexer teamforge_cli ctf_customization_installer
    • If you have git integration, add "teamforge-git" to the yum downgrade command as follows:
    • yum downgrade CN-collabnet-core CN-runtime CN-migration TeamForge-installer teamforge-database teamforge-etl teamforge-scm teamforge-codesearch teamforge-git ctf_clireports teamforge-binary teamforge-indexer teamforge_cli ctf_customization_installer
  4. Install TeamForge-CLI addon packages by running the following command:
    • RHEL/CentOS 7: yum install teamforge_cli_server-1.8.0.0-4945* teamforge-8.0.0.0-337 teamforge-app-8.0.0.0-337
    • RHEL/CentOS 6: yum install teamforge_cli_server-1.8.0.0-4946* teamforge-8.0.0.0-337 teamforge-app-8.0.0.0-337
  5. Recreate the run time environment.
    • cd /opt/collabnet/teamforge-installer/8.0.0.0
    • ./install.sh -r -n -V -I
  6. Start TeamForge.
    • /etc/init.d/collabnet start all
  7. Run the following post-install.py script.
    • /opt/collabnet/teamforge/runtime/scripts/post-install.py
    Note: For information on troubleshooting post install, see Post install failure troubleshooting.
To verify if the patch has been reverted: