UCRM - Uninstall Guide

 Overview


This guide will help you install and remove UCRM as well as other related software and data.

Table of Contents


  1. How to Uninstall UCRM
  2. Related Articles

How to Uninstall UCRM


Back to Top

This command will uninstall UCRM docker image and containers. Before you begin, make a copy of the UCRM backup file. You may download it directly from UCRM in System > Tools > Backup.

Run this command as a user with enabled sudo, in the location of docker-compose.yml file (usually found within home/ucrm), to uninstall UCRM. Note that the UCRM data and backup files will not be removed with this command.

cd /home/ucrm
curl -fsSL https://raw.githubusercontent.com/U-CRM/billing/master/uninstall.sh | sudo sh

The command above will not remove the database data nor the app data (such as invoice PDFs). If you want to remove this data too, go to home/ucrm and delete it manually. At this point, the UCRM Docker images are uninstalled. However, all the UCRM data including all backups, database, images, invoices, and similar are still kept in your file system.

IMPORTANT:

After you executed the uninstall command, you may want to delete all the remaining data. This step is essential in order to reinstall UCRM again in the future.

Use this command to remove all the UCRM data (including the backup files):

sudo rm -rf /home/ucrm

Additionally, you can also remove the system user who is used for running UCRM with the following:

sudo userdel -r ucrm

Related Articles


Back to Top

UCRM - Installation Guide

UCRM - Install UCRM Cloud using DigitalOcean