BILLmanager 6

How to delete BILLmanager

Uninstalling BILLmanager from the server may require if you:

  • reinstall the platform after a complete removal of the previous version and need to avoid conflicts with previous settings or data;
  • migrate to a different version of the platform — BILLmanager Enterprise is installed and Hosting&Cloud is required, or vice versa;
  • migrate BILLmanager to a new server and free up the old server for other tasks.

To uninstall BILLmanager, choose the uninstallation option that best suits your needs:

  • OS reinstallation with disk cleanup — if you need to completely clean the system from all data and settings, including BILLmanager and other installed applications;
  • removing software packages — if you need to remove only BILLmanager, leaving other applications and data on the server. To remove software packages related to BILLmanager and COREmanager, follow the instructions below.

Viewing installed software packages

To display a list of installed packages, enter the command:

AlmaLinux
rpm -qa | grep -E 'billmanager|coremanager'
Подробнее
Ubuntu
dpkg --get-selections | grep -v deinstall | grep -E 'billmanager|coremanager'
Подробнее

Uninstalling basic software packages

Before deleting, make sure you have backed up the necessary data. For more information, see the Backup configuration.

Removal algorithm

  1. Connect to the server with the platform via SSH. For more information about connecting via SSH, see Workstation setup.
  2. Остановите службы BILLmanager и COREmanager:
    sudo systemctl stop billmanager coremanager
  3. Remove BILLmanager and COREmanager:
    AlmaLinux
    sudo dnf remove billmanager coremanager
    Ubuntu
    sudo apt remove billmanager coremanager
  4. Remove configuration files:
    AlmaLinux
    sudo rm -rf /usr/local/mgr5/etc/*.conf
    Пояснение
    Ubuntu
    sudo apt purge billmanager coremanager
  5. Clean up unused dependencies:

    AlmaLinux
    sudo dnf autoremove
    Ubuntu
    sudo apt autoremove
  6. Make sure that BILLmanager is successfully uninstalled:
    systemctl status billmanager coremanager
    If the output of a command contains
    Unit billmanager.service could not be found
    Unit coremanager.service could not be found
    removal was successful.