Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Cleanup Feature Manager List?

Discussion in 'cPanel Developers' started by jimlongo, Sep 17, 2018.

  1. jimlongo

    jimlongo Well-Known Member

    Joined:
    Mar 20, 2008
    Messages:
    221
    Likes Received:
    13
    Trophy Points:
    68
    Due to development and installing some nasty plugin I have a bunch of items in Feature Manager that don't exist anywhere on my server.

    If I grep for the names, they don't exist.

    Where is the Feature Manager list derived from, can I edit this or clean it up somehow?

    Thanks.
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,838
    Likes Received:
    276
    Trophy Points:
    193
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. jimlongo

    jimlongo Well-Known Member

    Joined:
    Mar 20, 2008
    Messages:
    221
    Likes Received:
    13
    Trophy Points:
    68
    Thanks cPanelLauren, I don't think I expressed my question clearly.

    I now have a bunch of checkboxes-with-names in the Feature Manager for plugins that don't exist on the system.
    I want those items to not be there.
    I'm wondering how I can remove them.
     

    Attached Files:

  4. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,838
    Likes Received:
    276
    Trophy Points:
    193
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. jimlongo

    jimlongo Well-Known Member

    Joined:
    Mar 20, 2008
    Messages:
    221
    Likes Received:
    13
    Trophy Points:
    68
    I'm sorry, but all the files have been removed, yet the selections still appear in Feature Manager (WHM).

    That's what I want to clean up. Can you tell me where that information is stored?
     
  6. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,838
    Likes Received:
    276
    Trophy Points:
    193
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @jimlongo

    For cPanel Plugins:
    Code:
    /usr/local/cpanel/base/frontend/paper_lantern/
    and WHM Plugins:

    Code:
    /usr/local/cpanel/whostmgr/docroot
    The issue being they're integrated recursively in different locations in these directories. Plugins are registered through appconfig you HAVE to uninstall them using the scripts I noted previously.

    Code:
    /usr/local/cpanel/scripts/uninstall_plugin plugin_file --theme=theme_name
    
    You may also need to look in /var/cpanel/apps/ this is noted in the AppConfig documentation for Configuration Files.

    Guide to WHM Plugins - AppConfig Configuration File - Developer Documentation - cPanel Documentation

    Can you confirm if you're able to find residual files in any of these locations? What happens when you run the script? As this would be the best way to ensure that everything associated with the plugin you installed is removed.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. jimlongo

    jimlongo Well-Known Member

    Joined:
    Mar 20, 2008
    Messages:
    221
    Likes Received:
    13
    Trophy Points:
    68
    I found files in /usr/local/cpanel/whostmgr/addonfeatures/ that created the stray features in the Feature Manager.
    Delete those the feature goes away.
     
    cPanelLauren likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice