The uninstall_plugin Script

Valid for versions 100 through the latest version


Last modified: July 28, 2022

Overview

The /usr/local/cpanel/scripts/uninstall_plugin script uninstalls a cPanel plugin. When you run this script, it uses the archive files install.json file to remove the plugin from the dynamicui.conf file. The cPanel Home interface uses the dynamicui.conf file to display icons and groups.

To install a script, use the /usr/local/cpanel/scripts/install_plugin script.

Important:

If the plugin installation file does not contain a install.json file, the uninstall process will fail.

Run the script

To run this script on the command line, use the following format:

/usr/local/cpanel/scripts/uninstall_plugin /filepath [options]

Options

Use the following options with this script:

Option Description Example
filepath Required.
The cPanel plugins installation archive file. The file must be one of the following formats:
  • .tar.gz
  • .bzip2
  • .zip
  • An uncompressed directory.
/path/to/plugin.tar.gz
--theme The cPanel theme to uninstall the plugin from. This option defaults to the jupiter theme. --theme=jupiter
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

The servers_queue Script

Valid for versions 82 through the latest version Last modified: June 21, 2021...

The auto-adjust-mysql-limits Script

Valid for versions 82 through the latest version Last modified: June 21, 2021...

The autossl_check Script

Valid for versions 82 through the latest version Last modified: May 13, 2020 Overview...

The backup Script

Valid for versions 82 through the latest version Last modified: May 13, 2020 Overview...

The backup_restore_manager Script

Valid for versions 82 through the latest version Last modified: July 28, 2022...