This guide will help you install and remove UCRM as well as other related software and data.
Table of Contents
How to Uninstall UCRM
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.
curl -fsSL https://raw.githubusercontent.com/U-CRM/billing/master/uninstall.sh | sudo bash
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