Artifactory Uninstallation
Uninstall Artifactory by matching the original installation method: Docker Compose, RPM, Debian, or Linux Archive.
This topic provides instructions for uninstalling Artifactory based on its original installation method.
Warning
Uninstalling Artifactory permanently removes the Artifactory user account. If you plan to reinstall Artifactory, a new user account is created with a different User ID (UID), and previous user configurations are lost.
Docker Compose
Follow these steps to uninstall Artifactory when installed using Docker Compose:
-
Navigate to the installation directory.
cd jfrog-artifactory-<version>-compose -
Stop the Artifactory containers.
docker-compose -p rt down -
Stop the PostgreSQL container (if applicable).
docker-compose -p rt-postgres down -
Remove Docker container traces. To remove Docker container traces, use the following commands.
-
For product containers:
docker rm artifactory -
For a PostgreSQL container:
docker rm postgres -
For a Nginx container:
docker rm nginx
-
Note
The steps above will remove only the containers. You will also need to manually remove the Docker mount directory from the host machine (default ~/.jfrog/artifactory/var) if needed. Make sure you do not remove
<MOUNT_PATH>/artifactory/var/data/postgres if you need the third-party data persisted.
Linux Packages (RPM)
Follow these steps to uninstall Artifactory when installed using RPM:
Note
The steps below remove only the application directory. Manually remove the data directory and application configurations (/var/opt/jfrog/artifactory) if required.
-
Stop Artifactory.
systemctl stop artifactory.service -
Run the RPM uninstall. You must run as a root user.
sudo yum erase jfrog-artifactory-pro
Linux Packages (Debian)
Follow these steps to uninstall Artifactory when installed using Debian packages:
Note
The steps below remove only the application directory. Manually remove the data directory and application configurations (/var/opt/jfrog/artifactory) if required.
-
Stop Artifactory.
systemctl stop artifactory.service -
Run the Debian uninstall. You must run as a root user.
sudo apt remove jfrog-artifactory-pro
Linux Archive
Follow these steps to uninstall Artifactory when installed from a Linux archive:
- Go to the directory where you extracted the installer and delete that directory.
Updated 24 days ago
