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.
-
Uninstall TeamForge CLI-add on.
- cd
/opt/collabnet/teamforge/add-ons/teamforge_cli_server
- ./install --uninstall
- yum erase teamforge_cli_server
-
Stop TeamForge.
- /etc/init.d/collabnet
stop all
Note: In case of distributed setup, run the above
command
in the respective servers.
-
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
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
-
Install TeamForge-CLI addon packages by running the following command:
- For RHEL 7, yum install teamforge_cli_server-1.8.0.0-4945*
teamforge-8.0.0.0-337 teamforge-app-8.0.0.0-337
- For RHEL 6, yum install teamforge_cli_server-1.8.0.0-4946*
teamforge-8.0.0.0-337 teamforge-app-8.0.0.0-337
-
Recreate the run time environment.
- cd /opt/collabnet/teamforge-installer/8.0.0.0
- ./install.sh -r -n -V -I
-
Start TeamForge.
- /etc/init.d/collabnet
start all
-
Run the following post-install.py script.
- /opt/collabnet/teamforge/runtime/scripts/post-install.py
To verify if the patch has been reverted:
- Click Admin in the site navigation bar.
- On the site administration navigation bar, click System
Tools.
- Click Build Information and observe the following:
- Version: 8.0.0.0
- Applied Patches: None