Documentation (2024.2 Enterprise)

# Uninstall

This section covers the steps required to uninstall Helix 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.

In this section:

- Uninstall hth
- Uninstall hth-db
- Uninstall hth-web
- Common uninstall steps
- Manual cleanup

## Uninstall hth

### RHEL and CentOS

To uninstall hth:

1. Run the following command:

sudo rpm -e hth

2. Now complete the uninstall, see Common uninstall steps.

### Ubuntu

To uninstall hth:

1. Run the following command:

sudo apt-get remove hth

2. Now complete the uninstall, see Common uninstall steps.

## Uninstall hth-db

### RHEL and CentOS

To uninstall hth-db:

1. Run the following command:

sudo rpm -e hth-db

2. Now complete the uninstall, see Common uninstall steps.

### Ubuntu

To uninstall hth-db:

1. Run the following command:

sudo apt-get remove hth-db

2. Now complete the uninstall, see Common uninstall steps.

## Uninstall hth-web

### RHEL and CentOS

To uninstall hth-web:

1. Run the following command:

sudo rpm -e hth-web

2. Now complete the uninstall, see Common uninstall steps.

### Ubuntu

To uninstall hth-web:

1. Run the following command:

sudo apt-get remove hth-web

2. Now complete the uninstall, see Common uninstall steps.

## Common uninstall steps

To complete the uninstall :

1. To delete the data stored in /var/opt/hth (repositories, database, and configuration), run the following command:

rm -rf /var/opt/hth

2. To delete the hth user account, run the following command:

sudo userdel hth

3. Now cleanup your system, see Manual cleanup.

## 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.

Your search for returned results

Your search for returned results