Uninstalling NCP Package

NCP Uninstallation Steps

  • Navigate to the NCP directory on the Server

root@ncp:~$ cd ncp-onprem

  • Execute uninstaller.sh

root@ncp:~/ncp-onprem$ sudo ./uninstaller.sh

root@ncp:~/ncp-onprem$ ./uninstaller.sh
Uninstalling ONES application...

Bringing down ONES application containers

[+] Running 16/16
 ⠿ Container ones-collector-db  Removed                                                                                                                                                11.6s
 ⠿ Container ones-collector     Removed                                                                                                                                                 3.3s
 ⠿ Container ones-ncp-db        Removed                                                                                                                                                 0.4s
 ⠿ Container kafka-connect      Removed                                                                                                                                                 2.6s
 ⠿ Container flow-collector     Removed                                                                                                                                                 4.8s
 ⠿ Container ones-ncp-vllm      Removed                                                                                                                                                11.9s
 ⠿ Container stream-processor   Removed                                                                                                                                                 0.7s
 ⠿ Container ones-ui            Removed                                                                                                                                                11.2s
 ⠿ Container docker             Removed                                                                                                                                                10.6s
 ⠿ Container ones-chromadb      Removed                                                                                                                                                 1.0s
 ⠿ Container ones-ncp-api       Removed                                                                                                                                                11.5s
 ⠿ Container ksqldb-server      Removed                                                                                                                                                11.1s
 ⠿ Container schema-registry    Removed                                                                                                                                                 0.9s
 ⠿ Container ones-gateway       Removed                                                                                                                                                 0.4s
 ⠿ Container broker             Removed                                                                                                                                                 7.3s
 ⠿ Container zookeeper          Removed                                                                                                                                                 1.5s
Removing ONES application images
  • During the process, you will be prompted to clear the database. Please choose 'Y' for yes or 'N' for no.

Do you want to clear DB data? [y/n]: y
WARNING! This will remove anonymous local volumes not used by at least one container.
Are you sure you want to continue? [y/N] y

Note selecting 'y' will remove all NCP data.

  • Verify the uninstallation success

    • docker ps - Docker Images associated with NCP Application should not be seen

    • https://<Server-IP> is no longer accessible

Last updated

Was this helpful?