Use the yum package manager to upgrade to the latest supported Subversion
release.
-
If you are doing this upgrade without Internet access, contact the CollabNet Support to get the auxiliary installer package for TeamForge
8.1 disconnected installation and save it in /tmp.
RHEL/CentOS 6.6
- 32 bit RPM package: CTFSVN-Disconnected-media-1.8.14-1.el6.i686.rpm
- 64 bit RPM package: CTFSVN-Disconnected-media-1.8.14-1.el6.x86_64.rpm
RHEL/CentOS 7.0
- 64 bit RPM package:
CTFSVN-Disconnected-media-1.8.14-1.el7.x86_64.rpm
-
Set up the yum 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/CTFSVN-Disconnected-media-1.8.14-1.el7.x86_64.rpm"
-
Log in as root and stop all collabnet
services.
-
Check that Subversion 1.8.14 is available for
upgrade:
-
Upgrade Subversion.
- yum update subversion subversion-perl subversion-python
mod_dav_svn
-
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