Modifying or Uninstalling DataCore AI

Explore this Page

Overview

This document helps you change the settings of an existing DataCore AI installation or remove DataCore AI from the DataCore AI host. You can do either of the following:

  • Modify the installation: Run the DataCore AI installer again to change settings, such as the SANsymphony REST service address or the Anthropic API key.
  • Uninstall DataCore AI: Run the dcai uninstall command on the DataCore AI host.

Modifying the Installation

To change installation settings, such as the SANsymphony REST service address or the Anthropic API key:

  1. On the DataCore AI host, go to the installer folder.
  2. Run the installer again:
Copy
Command
sudo bash install.sh
  1. On the Configuration page, change the settings that you want. The page shows the settings that the installation currently uses.

The installer updates your existing installation instead of creating a new one. Any setting that you do not change keeps its current value.

What Happens to Your Installation Settings

When you run the installer again, it handles your existing installation settings, such as the SANsymphony REST service address, the web interface port, and the Anthropic API key, as follows:

  • The Configuration step shows the REST address in use, including one set in Settings > Connection, and the web interface port under Advanced.
  • Any setting you leave unchanged keeps its current value, including the address the web interface listens on.
  • If you leave the Anthropic API key blank, the installer keeps the installed key.
  • The Proxy section shows the proxy in use. To keep the proxy and remove its user name and password, select Remove authentication. To remove the proxy entirely, select Remove the proxy. Refer to Setting the Proxy During Installation.
  • If you change the REST address, the new address replaces an address set in Settings > Connection. An unattended run does not require --rest-ip. If you specify it, the installer treats it as a change of address.
  • If any setting changes, DataCore AI restarts and signs everyone out.

Changing Settings Without Running the Installer

You can change individual settings without running the DataCore AI installer (install.sh) again.

To change the Anthropic API key, run the following command:

Copy
Command
sudo dcai set-llm-api-key

To change the REST address, use either of these methods:

  1. In the DataCore AI web interface, on the sign-in page, click the Settings (gear) icon, and then change the REST address in the Connection section.
  2. Edit the /etc/ssy-agent/compose.env file.

To set, change, or remove the proxy, run sudo dcai set-proxy or sudo dcai clear-proxy. Refer to Changing the Proxy After Installation.

For details, refer to Connection and Certificate Settings.

Uninstalling DataCore AI

To uninstall DataCore AI, run the following command on the DataCore AI host:

Copy
Command
sudo dcai uninstall

The command does the following:

  1. Releases the license seat, if DataCore AI is running. If it is stopped, you must run sudo dcai start first. Otherwise, the seat stays in use.
  2. Stops DataCore AI.
  3. Removes the software, its configuration, and the installation ID.
  4. Confirms that the web interface port is free.

The command keeps the license agreement record, the logs, the TLS private key, the certificate, and the container images.

If you install DataCore AI on this host again, it is a new installation. Because the dcai uninstall command also removes the stored copy of the license key, you must activate the new installation with your license key. For the steps, refer to DataCore AI License Activation.

Uninstall Options

You can add the following options to the dcai uninstall command to remove items that the command keeps by default. The table lists each option and what it removes.

Option Effect
--remove-image Removes the container images.
--purge Removes the license agreement record, the logs, and everything else under /var/lib/ssy-agent.

For example, to remove everything under /var/lib/ssy-agent, run:

Copy
Command
sudo dcai uninstall --purge

Learn More