Use the zypper package manager to upgrade to the latest supported Subversion
release.
-
Contact the CollabNet Support to get the auxiliary installer package for TeamForge
8.1 disconnected installation and save it in /tmp.
- SuSE Linux Enterprise Server Server 11 SP2 64-bit package:
CTF-Disconnected-media-8.1.0.1-215.sles11.x86_64.rpm
-
Set up the zypper repository for upgrading Subversion.
-
Log in as root
-
Install the disconnected-media package.
package_name is the path of the media that you downloaded,
for example, "/tmp/CTF-Disconnected-media-8.1.0.1-215.sles11.x86_64.rpm"
-
Login as root and stop all collabnet
services.
-
Check that Subversion 1.8.14 is available for
upgrade:
- zypper
refresh
- zypper
info subversion
-
Remove the older Subversion packages.
- zypper remove subversion subversion-server subversion-tools
subversion-perl subversion-python
-
Upgrade Subversion.
- zypper install subversion subversion-tools subversion-perl
subversion-python
- zypper install subversion-server
Note:
You may see a message like this:
There
are some running programs that use files deleted by recent upgrade.
You may wish to restart some of them. Run 'zypper ps' to list these
programs.
This message appears during a package upgrade which might cause library
files to be overwritten -- if there any running processes using older
library files, zypper warns you to restart those processes. You can
ignore this message.
-
Verify the Subversion upgrade.
- rpm -qa | grep subversion
- svn --version | grep " version"
-
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 all collabnet services.
- /etc/init.d/collabnet
start all