how can i remove plugin from menu (WHM) ?

musti19

Well-Known Member
Jan 20, 2013
111
1
18
cPanel Access Level
Root Administrator
Hello,
i have menu items in Plugins, but the plugins doesnt exists.
How can remove it from the menu.

Also i have double menu items (with same content), that i want to remove.
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
23
143
Houston, TX
cPanel Access Level
Root Administrator
If you are sure the items are no longer installed, edit /var/cpanel/pluginscache.yaml and remove the entries that are duplicates or no longer installed. Then, move /var/cpanel/pluginscache.cache to /root. Log out of the WebHost Manager and log back in, and the items will no longer be listed under Home » Plugins.
 
  • Like
Reactions: carteluo

musti19

Well-Known Member
Jan 20, 2013
111
1
18
cPanel Access Level
Root Administrator
after installing other plugins the problem exists, the deletes entries are back.
Any solutions ?

I tried: edited the entries in pluginscache.yaml, deleted the cache file, restart cpanel service and logged in.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Have you checked to see if the specific plugin you installed has instructions on how to uninstall it? Note that the following document may also be of help:

Uninstalling Plugins

Thank you.
 

musti19

Well-Known Member
Jan 20, 2013
111
1
18
cPanel Access Level
Root Administrator
i uninstalled via the uninstaller, but the entries dont delete and come back,if i install a another plugin.
So the files: var/cpanel/pluginscache.yaml and var/cpanel/pluginscache.cache are not only one, where the menu entries exists.

Is there not a fix solution ?
 

musti19

Well-Known Member
Jan 20, 2013
111
1
18
cPanel Access Level
Root Administrator
i solved the problem.
This commands should remove not full deleted addons/broken addons clearly:

Code:
//find the broken pluginfilename
cd /var/cpanel/apps/

//lview.conf is the broken plugin
/usr/local/cpanel/bin/unregister_appconfig /var/cpanel/apps/lview.conf

//switch to directory of source plugin file and locate
cd /usr/local/cpanel/whostmgr/docroot/cgi

//delete the file
rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/addon_lview.cgi

// at least update the addon-list
/usr/local/cpanel/bin/update_appconfig_apps
 
  • Like
Reactions: Angel54689

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Yes, third-party plugins often have additional steps you must take for a complete removal. Thank you for sharing the additional steps required for this particular plugin.