Uninstalling the server#
You can uninstall HCL™ Accelerate by stopping the server and removing the product containers.
Data is not affected when removing the containers as long as your volume is persistent. Uninstalling the product is necessary when you have a new version of the product images that you want to install.
Remove the product using the appropriate command listed below.
-
Docker Compose
```
docker-compose stop docker-compose rm
```
-
For Kubernetes 1.2.x or earlier:
```
helm list helm delete uc-accelerate --purge
```
Note: If you are uninstalling a version before HCL Accelerate 2.4.0, use the following:
```
helm list helm delete uc-velocity --purge
```
-
For OpenShift 4.x or earlier:
```
oc delete services -l app=accelerate oc delete deployments -l app=accelerate oc delete secrets -l app=accelerate oc delete statefulsets -l app=accelerate oc delete configmaps -l app=accelerate oc delete route <ROUTE_NAME> oc delete template accelerate oc delete clusterroles -l app=accelerate oc delete clusterrolebindings -l app=accelerate
```
Note: If you are uninstalling a version before HCL Accelerate 2.4.0, use the following:
```
oc delete services -l app=velocity oc delete deployments -l app=velocity oc delete secrets -l app=velocity oc delete statefulsets -l app=velocity oc delete configmaps -l app=velocity oc delete route <ROUTE_NAME> oc delete template velocity oc delete clusterroles -l app=velocity oc delete clusterrolebindings -l app=velocity
```
Parent topic: Installing and upgrading