Guide to cPanel Plugins - Uninstall Plugins

Introduction

To uninstall plugins from cPanel & WHM, choose the uninstallation process according to your system's version.

Important:

 While you can also uninstall plugins manually, we strongly recommend that you use the uninstall_plugin script.

Uninstall a plugin in 11.50 and later

cPanel & WHM version 11.50 introduced the uninstall_plugin script, which eliminates the need to manually remove plugins. This file passes information to cPanel's dynamicui files when you uninstall your plugin. This method allows the user to uninstall a plugin for the x3 and Paper Lantern themes.  

To use this script to uninstall a plugin to cPanel, run the following command:

/usr/local/cpanel/scripts/uninstall_plugin /tmp/plugin_example.tar --theme=theme_name
In this command, example.tar represents the compressed plugin installation file, and theme represents the cPanel theme to uninstall from, either x3 or Paper Lantern.

 

Note:

If you do not specify the --theme option and a theme, the script attempts to uninstall the plugin from the Paper Lantern interface only. If the file does not contain an install.json file, the uninstall will fail.

Manually uninstall a plugin in 11.48 and earlier

In cPanel & WHM version 11.48 and earlier, an uninstall script does not ship with Paper Lantern. 

To manually uninstall a plugin, perform the following steps:

  1. Remove all of the files for the plugin that you want to uninstall.
  2. Navigate to the /usr/local/cpanel/base/frontend/paper_lantern/dynamicui/ directory and delete the dynamicui_$name.conf file.

    Note:

    The $name variable represents the name of the plugin that you wish to remove.

  3. Delete the dynamicui_$group.conf file.

    Note:

    The $group variable represents the name of the group where the plugin resides.

  4. Use the /usr/local/cpanel/bin/rebuild_sprites --quiet script to rebuild the sprites.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

The cPanel Interface

For  cPanel  &  WHM  version  58 Overview The cPanel interface is...

User Preferences

For cPanel & WHM version 58 Overview This document outlines how to access your cPanel...

Manage External Authentications

For cPanel & WHM version 58 Overview Manage credentials Additional documentation...

What is cPanelID?

In This Article:  Overview ServicesHow to get a cPanelID cPanelID External...

Guide to cPanel Interface Customization - cPanel Style Development

Introduction You can develop custom styles that modify the appearance of the cPanel interface....