GitSwarm-EE 2017.2-1 Documentation


Uninstall GitSwarm

To uninstall GitSwarm, follow these steps:

  1. Decide whether to keep GitSwarm data, or not:

    1. For GitSwarm 2017.2 or later:

      1. To keep GitSwarm data after uninstall, run:

        sudo gitlab-ctl-uninstall
      2. To completely remove all GitSwarm data, run:

        sudo gitlab-ctl cleanse

        Warning: without a backup, this operation permanently
        removes all GitSwarm related data.

    2. For 2017.1 or earlier:

      1. To keep GitSwarm data after uninstall, run:

        sudo gitswarm-ctl-uninstall
      2. To completely remove all GitSwarm data, run:

        sudo gitswarm-ctl cleanse

        Warning: without a backup, this operation permanently
        removes all GitSwarm related data.

  2. Uninstall the GitSwarm package.

    1. For uninstalling GitSwarm 2017.2 or later:

      1. For Ubuntu:

        sudo apt-get purge helix-gitswarm-ee
      2. For CentOS/RHEL:

        sudo yum remove helix-gitswarm-ee
    2. For uninstalling 2015.4 to 2017.1:

      1. For Ubuntu:

        sudo apt-get purge helix-gitswarm-ee
      2. For CentOS/RHEL:

        sudo yum remove helix-gitswarm-ee
    3. For uninstalling 2015.3, or earlier:

      1. For Ubuntu:

        sudo apt-get purge perforce-gitswarm-ee
      2. For CentOS/RHEL:

        sudo yum remove perforce-gitswarm-ee
  3. Optional: Remove dependencies.

    1. For uninstalling 2015.4, or later:

      1. For Ubuntu:

        sudo apt-get remove helix-cli-base helix-p4d-base helix-git-fusion-base
      2. For CentOS/RHEL:

        sudo yum remove helix-cli-base helix-p4d-base helix-git-fusion-base
    2. For uninstalling 2015.3, or earlier:

      1. For Ubuntu:

        sudo apt-get remove perforce-cli-base perforce-server-base helix-git-fusion-base
      2. For CentOS/RHEL:

        sudo yum remove perforce-cli-base perforce-server-base helix-git-fusion-base
  4. Optional: Remove the GitSwarm directory:

    1. For GitSwarm 2017.2 or later:

      After removing all GitSwarm data, and the GitSwarm packages and dependencies, the directory /opt/gitlab may continue to exist. If so and you wish to remove this directory, run:

      sudo rm -rf /opt/gitlab
    2. For 2017.1 or earlier:

      After removing all GitSwarm data, and the GitSwarm packages and dependencies, the directory /opt/gitswarm may continue to exist. If so and you wish to remove this directory, run:

      sudo rm -rf /opt/gitswarm