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 uninstallcommand on the DataCore AI host.
Modifying the Installation
To change installation settings, such as the SANsymphony REST service address or the Anthropic API key:
- On the DataCore AI host, go to the installer folder.
- Run the installer again:
- 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:
To change the REST address, use either of these methods:
- 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.
- Edit the
/etc/ssy-agent/compose.envfile.
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:
The command does the following:
- Releases the license seat, if DataCore AI is running. If it is stopped, you must run
sudo dcai startfirst. Otherwise, the seat stays in use. - Stops DataCore AI.
- Removes the software, its configuration, and the installation ID.
- 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:
Learn More