Uninstalling JFrog Products

JFrog Installation & Setup Documentation

ft:sourceType
Paligo

The following document the process for uninstalling the different JFrog Platform products. The installations are listed according to the product and then the different installation options according to the installation you used (Linux, Docker, Docker Compose, RPM, and Debian).

The following products can be uninstalled using this procedure:

  • JFrog Artifactory

  • JFrog Xray

  • JFrog Mission Control

  • JFrog Distribution

Note

The JFrog Pipelines uninstall is not currently supported.

Databases that are installed with a JFrog product (or used by the product) must either be explicitly uninstalled or handled externally.

If you opt to uninstall any database that is installed with a JFrog product (or used by the product), any other applications that might be using this database will lose their data as well.

Warning

Removing the data directory means you will lose all data stored and managed by the application: this data cannot be restored.

Uninstalling JFrog Artifactory

Linux Archive

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

Docker Compose

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

  2. Stop the Artifactory containers.

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

    docker-compose -p rt-postgres down
  4. If you need to remove the Docker container trace, use the following commands.

    • For product containers.

      docker rm artifactory
    • For a PostgreSQL container (only if the container was purchased as part of Artifactory compose).

      docker rm postgres
    • For a Nginx container (only if the container was purchased as part of Artifactory compose).

      docker rm nginx

      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/artifactory/var] manually if needed. Make sure you do not remove <MOUNT_PATH>/artifactory/var/data/postgres if you need the third party data persisted.

Manual RPM

  1. Stop Artifactory.

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

    yum erase jfrog-artifactory-pro

Note

The above steps will remove only the Application directory. You will need to remove the data directory and application configurations [/var/opt/jfrog/artifactory] manually if required.

Manual Debian

  1. Stop Artifactory.

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

    apt remove artifactory.service

Note

The above steps will remove only the Application directory. You will need to remove the data directory and application configurations [/var/opt/jfrog/artifactory] manually if required.

Uninstalling JFrog Xray

Linux Archive

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

Interactive Script (Debian/RPM)

  1. Stop Xray and all third party services associated with it.

  2. Navigate to the Application Installer directory (the location where the installation bundle was extracted to) cd jfrog-xray-<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 the installation bundle was extracted to) cd jfrog-xray-<version>-compose.

  2. Stop the Xray containers.

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

    docker-compose -p xray-postgres down
  4. If you need to remove the Docker container trace, use the following commands.

    • For product containers.

      docker rm xray_router xray_server xray_indexer xray_analysis xray_persist xray_rabbitmq
    • For a PostgreSQL container (only if the container is internal).

      docker rm xray_postgres

      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/xray/var ] manually if needed. Make sure you do not remove <MOUNT_PATH>/xray/var/data/postgres if you need the third party data persisted.

Manual RPM

  1. Stop Xray.

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

    yum erase xray

Note

The above steps will remove only the Application directory. You will need to remove the data directory and application configurations [/var/opt/jfrog/xray] manually if required.

Manual Debian

  1. Stop Xray.

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

    apt purge xray

Note

The above steps will remove only the Application directory. You will need to remove the data directory and application configurations [/var/opt/jfrog/xray] manually if required.

Uninstalling JFrog Mission Control

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 third party services associated with it.

  2. Navigate to the Application Installer directory (the location where the 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 the installation bundle was extracted to) cd jfrog-mc-<version>-compose.

  2. Stop the Mission Control containers.

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

    docker-compose -p mc-postgres down
  4. If you need to remove the Docker container trace, use the following commands.

    • For product containers.

      docker rm mc_router mc_server mc_scheduler mc_insight_server
    • For a PostgreSQL container (only if the container is internal.

      docker rm mc_postgres
    • For an Elasticsearch container (only if the container is internal).

      docker rm mc_elasticsearch

      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/mc/var ] manually if needed. Make sure you do not remove <MOUNT_PATH>/mc/var/data/postgres if you need the third party data persisted.

Manual RPM

  1. Stop Mission Control.

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

    yum erase jfmc

Note

The above steps will remove only the Application directory. You will need to remove the data directory and application configurations [ /var/opt/jfrog/xray ] manually if required.

Manual Debian

  1. Stop Mission Control.

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

    apt purge jfmc

Note

The above steps will remove only the Application directory. You will need to remove the data directory and application configurations [ /var/opt/jfrog/xray ] manually if required.

Uninstalling JFrog Distribution

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
  4. Stop the Redis container.

    docker-compose -p distribution-redis down
  5. If you need to remove the Docker container trace, 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 will remove only the Application directory. You will need to 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 will remove only the Application directory. You will need to remove the data directory and application configurations [ /var/opt/jfrog/xray ] manually if required.