Distribution Uninstallation

Uninstall Distribution via interactive script, RPM, Debian, Docker Compose, or Linux Archive.

Linux Archive

Go to the directory where you extracted the installer and delete that directory.

Interactive Script (Debian/RPM)

  1. Stop Mission Control and all the third party services.

  2. Navigate to the Application Installer directory (the location where installation bundle was extracted to) cd jfrog-mc-<version>-deb/rpm.

  3. Run the uninstaller script. You must run as a root user.

    ./uninstall.sh
  4. Follow the series of prompt inputs provided by the script to complete the uninstall.

Docker Compose

  1. Navigate to the Application Installer directory (the location where installation bundle was extracted to) cd jfrog-distribution-<version>-compose.

  2. Stop the Distribution containers.

    docker-compose -p distribution down
  3. Stop the PostgreSQL container.

    docker-compose -p distribution-postgres down
📘

Distribution 2.37.0 and later:

Redis has been removed from the Distribution installer and replaced by an internal in-memory system. For more details, see the Distribution 2.37.0 release notes.

  1. Stop the Redis container.

    docker-compose -p distribution-redis down
  2. To remove Docker container traces, use the following commands.

    • For product containers.

      docker rm distribution_router distribution_distribution distribution_distributor
    • For a PostgreSQL container (only if the container is internal.

      docker rm distribution_postgres
    • For a Redis container (only if the container is internal).

      docker rm distribution_redis
📘

Note

The steps above will remove only the containers. You will also need to remove the Docker mount directory from the host machine [default ~/.jfrog/distribution/var ] manually if needed. Make sure you do not remove <MOUNT_PATH>/distribution/var/data/postgres <MOUNT_PATH>/distribution/var/data/redis if you need the third party data persisted.

Manual RPM

  1. Stop Distribution.

    systemctl stop distribution.service
  2. Run the RPM uninstall. You must run as a root user.

    yum erase  distribution
📘

Note

The above steps remove only the application directory. Remove the data directory and application configurations [ /var/opt/jfrog/xray ] manually if required.

Manual Debian

  1. Stop Distribution.

    systemctl stop distribution.service
  2. Run the Debian uninstall. You must run as a root user.

    apt purge distribution
📘

Note

The above steps remove only the application directory. Remove the data directory and application configurations [ /var/opt/jfrog/xray ] manually if required.