Uninstalling
This is a recipe to permanently remove HEAVY.AI Software, services, and data from your system.
Uninstalling HEAVY.AI from Docker
To uninstall HEAVY.AI in Docker, stop and delete the current Docker container.
In a terminal window, get the Docker container ID:
sudo docker container ps --format "{{.Id}} {{.Image}}" \
-f status=running | grep heavyai\/You should see an output similar to the following. The first entry is the container ID. In this example, it is 9e01e520c30c:
9e01e520c30c omnisci/omnisci-ee-gpuStop the HEAVY.AI Docker container. For example:
sudo docker container stop 9e01e520c30cRemove the HEAVY.AI Docker container to save disk space. For example:
sudo docker container rm 9e01e520c30cUninstalling HEAVY.AI on Redhat and Ubuntu
To uninstall an existing system installed with Yum, Apt, or Tarball connect using the user that runs the platform, typically heavyai.
Disable and stop all HEAVY.AI services.
sudo systemctl disable heavy_web_server --now
sudo systemctl disable heavydb --nowRemove the HEAVY.AI Installation files. (the $HEAVYAI_PATH defaults to /opt/heavyai)
sudo yum remove heavyai.x86_64sudo apt remove heavyaisudo rm -r $(readlink $HEAVYAI_PATH) $HEAVYAI_PATHDelete the configuration files and the storage removing the $HEAVYAI_BASE directory. (defaults to /var/lib/heavyai)
sudo rm -r $HEAVYAI_BASERemove permanently the configuration of the services.
sudo rm /lib/systemd/heavydb*.service
sudo rm /lib/systemd/heavy_web_server*.service
sudo systemctl daemon-reload
sudo systemctl reset-failedLast updated