Downgrade a patch on VMware Player or VMware ESXi

To downgrade a patch that you have installed on your TeamForge site, run the patch installer from the directory corresponding to that 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.1.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 teamforge-indexer 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 and TeamForge CLI report packages by running the following command:
    • yum install teamforge-8.1.0.0-215 teamforge-app-8.1.0.0-215 ctf_clireports-2.4.0-168
  5. Recreate the run time environment.
    • cd /opt/collabnet/teamforge-installer/8.1.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: