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.
-
Remove hot fixes, if any.
Example:
- cd
/opt/collabnet/teamforge/add-ons/00common_hotfixes
- ./install --uninstall
- rpm -e 00common_hotfixes
-
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.
-
Update the base URL for the CollabNet TeamForge repository.
-
Open the repository: vi
/etc/yum.repos.d/collabnet-8.1.0.0.repo
-
Change the base URL from
baseurl=http://packages.maa.relenghub.collab.net/8.1.0.0/redhat/$releasever/$basearch
to
baseurl=http://packages.collab.net/8.1.0.0/redhat/$releasever/$basearch.
-
Save and close the repository.
-
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/8.1.0.1/conf
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".
-
Recreate the runtime environment.
- cd
/opt/collabnet/teamforge-installer/8.1.0.1
-
Start TeamForge.
- /etc/init.d/collabnet
start all
-
Run the following post-install.py script.
- /opt/collabnet/teamforge/runtime/scripts/post-install.py
Note: If you are configuring SSL for the site, after starting all
collabnet services, executeiptables -F
before accessing the site from the UI.
To verify if the patch is working:
- 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.1.0.1
- Applied Patches: 215.1: CN-collabnet-core,CN-migration,CN-runtime