Uninstall
This section covers the steps required to uninstall Perforce TeamHub.
The uninstall process removes TeamHub and the installation directories from your system. Some information is left on your system and you need to manually clean up once the uninstall process has completed.
On this page:
Before you begin
Uninstall Perforce TeamHub Extensions
The extensions must be removed from Perforce TeamHub before you uninstall Perforce TeamHub.
-
Log in to the Perforce TeamHub administrator UI.
-
Click Helix Extensions.
The Configure Helix Core Server Extensions page opens.
-
Click Remove on each of the extensions on the page.
The Perforce TeamHub extensions are removed from the P4 Server.
-
Do one of the following depending on your TeamHub deployment type:
-
If TeamHub was deployed as a Standard deployment. See Uninstall Standard deployments.
-
If TeamHub was deployed as an Enterprise or High Availability deployment. See Uninstall Enterprise or High availability deployments.
-
Uninstall Standard deployments
Uninstall hth
RHEL and CentOS
To uninstall hth:
- Run the following command:
- Complete the uninstall. See Common uninstall steps.
sudo rpm -e hth
Ubuntu
To uninstall hth:
- Run the following command:
- Complete the uninstall. See Common uninstall steps.
sudo apt-get remove hth
Uninstall Enterprise or High availability deployments
Uninstall hth-db
RHEL and CentOS
To uninstall hth-db:
- Run the following command:
- Complete the uninstall. See Common uninstall steps.
sudo rpm -e hth-db
Ubuntu
To uninstall hth-db:
- Run the following command:
- Complete the uninstall. See Common uninstall steps.
sudo apt-get remove hth-db
Uninstall hth-web
RHEL and CentOS
To uninstall hth-web:
- Run the following command:
- Complete the uninstall. See Common uninstall steps.
sudo rpm -e hth-web
Ubuntu
To uninstall hth-web:
- Run the following command:
- Complete the uninstall. See Common uninstall steps.
sudo apt-get remove hth-web
Common uninstall steps
To complete the uninstall :
- Delete the data stored in /var/opt/hth (repositories, database, and configuration), run the following command:
- Delete the hth user account, run the following command:
- Clean up your system. See Manual cleanup.
rm -rf /var/opt/hth
sudo userdel hth
Manual cleanup
When you have completed the uninstall process, you need to clean up the following:
- /usr/sbin/sshd: the symlink to the TeamHub OpenSSH binary at /opt/hth/embedded/sbin/sshd will be broken. You need to manually clean up the broken link and install the SSH service when the bundled OpenSSH was used for the original installation.
- /etc/ssh/sshd_config: remove the AuthorizedKeysCommand used by TeamHub for key-based authorization.