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
- zypper
remove 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.
-
Skip this step if your site has internet access. If your site has no internet
access, see Configure TeamForge patch installation repository for SUSE on sites without internet access before
you proceed.
-
Install the TeamForge
patch.
-
To install TeamForge
application packages, run the following command:
- zypper install teamforge
collabnet-binary
-
To install GIT application packages, run the following command:
- zypper install teamforge-git
The zypper command, installs all the TeamForge patches available in
the CollabNet repository for TeamForge
8.1.
Note: When you upgrade, thesite-options.conf file
is automatically backed up in to the
/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 zypper install teamforge-scm in case
of "SCM on a separate server".
-
If you have LDAP set up for external authentication, you must set the “REQUIRE_USER_PASSWORD_CHANGE” site options token to
false.
-
Recreate the runtime environment.
- cd /opt/collabnet/teamforge-installer/8.1.0.1
- ./install.sh -r -I -V
-
Since this patch includes Subversion binaries upgrade to 1.8.14, perform the
following step.
Note: In the case of a distributed setup, where Subversion runs on a separate
server, skip this step and go directly to the last step to restart
collabnet services.
Upgrade and set permissions only if you are upgrading Subversion on the
application server.
-
Change to the runtime/scripts directory.
- cd
/opt/collabnet/teamforge/runtime/scripts
-
Run the Subversion upgrade script.
- ./svn-upgrade-working-copies.sh
-
Set the permissions for branding and publish
directories.
- eval
`./options-to-shell-variables.py`
- chown $HTTPD_USER:$HTTPD_GROUP $OVERRIDES_DIR
$PUBLISH_DIR -R
-
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 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