Uninstall Jama

  Administration > System administration > Server > Install, Upgrade, and Migrate Jama >

Uninstall Jama

Previous pageNext page Print this topic! Mail us feedback on this topic!

The entire installation can be uninstalled as follows:

1.Stop Jama by selecting Stop Now

panel started

2.Connect to the shell of the application server using SSH
3.Make sure any snapshots that you need are in a safe location.

Note: The location /var/lib/replicated/snapshots will be removed when Jama is uninstalled.

4.Execute the following commands corresponding to your flavor of Linux.

For Debian and Ubuntu:

service replicated stop

service replicated-ui stop

service replicated-operator stop

docker stop replicated-premkit

docker stop replicated-statsd

docker rm -f replicated replicated-ui replicated-operator replicated-premkit replicated-statsd

docker images | grep "quay\.io/replicated" | awk '{print $3}' | xargs sudo docker rmi -f

apt-get remove -y replicated replicated-ui replicated-operator

apt-get purge -y replicated replicated-ui replicated-operator

rm -rf /var/lib/replicated* /etc/replicated* /etc/init/replicated* /etc/init.d/replicated* /etc/default/replicated* /var/log/upstart/replicated* /etc/systemd/system/replicated*

Note: You may see an error while running the apt-get commands regarding packages not being located. These errors should not cause issue with proceeding commands.

Ex.$ sudo apt-get remove -y replicated replicated-ui replicated-operator

Reading package lists... Done

Building dependency tree     

Reading state information... Done

E: Unable to locate package replicated-operator

 

For RHEL, CentOS and Fedora:

systemctl stop replicated replicated-ui replicated-operator

service replicated stop

service replicated-ui stop

service replicated-operator stop

docker stop replicated-premkit

docker stop replicated-statsd

docker rm -f replicated replicated-ui replicated-operator replicated-premkit replicated-statsd

docker images | grep "quay\.io/replicated" | awk '{print $3}' | xargs sudo docker rmi -f

yum remove -y replicated replicated-ui replicated-operator

rm -rf /var/lib/replicated* /etc/replicated* /etc/init/replicated* /etc/default/replicated* /etc/systemd/system/replicated* /etc/sysconfig/replicated* /etc/systemd/system/multi-user.target.wants/replicated* /run/replicated*
 

5.Once the final command completes, Jama will be uninstalled.

Note: Uninstalling will remove the Admin Console, the installed components that make up Jama, snapshots (if they were left in the default /var/lib/replicated/snapshots directory), and your license (from the license file provided by Jama). It does not remove user data or log files (see Folder Locations).