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!

Where is the documentation about ~/.cpanel ~/.cpanm and ~/.cpobjcache

Discussion in 'General Discussion' started by ITGabs, Apr 6, 2014.

  1. ITGabs

    ITGabs Well-Known Member

    Joined:
    Jul 30, 2013
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    I want to know where is the documentation about

    /root/.cpanel
    /root/.cpanm
    /root/.cpobjcache

    some of these directories have many sub directories

    all about backup and sync integration problems, not just curiosity

    PD: some admin can correct the title should be 'where' not here
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 ITGabs, Apr 6, 2014
    Last edited: Apr 6, 2014
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    These directories are not currently documented. The directories (except for /root/.cpanm which is used for Perl modules) include cached data (you can review the files in these directories to see the type of information that is stored). This data would not be required when restoring an account from a backup or when installing a fresh copy of cPanel/WHM. Could you elaborate on the specific backup/sync integration problems?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. ITGabs

    ITGabs Well-Known Member

    Joined:
    Jul 30, 2013
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hi Michael,

    The problem that I had is located in ~/.cpanel/datastore/*
    Apparently this folder is used like a log or cache for internal commands used by cPanel application and I am not sure if this files need to be keep it or not, or if they are created when they are needed, etc

    The file names have special characters like ['"/\&$|:] that are kind complex to handle, the file names look like bash commands.

    In an already installed cPanel (not a fresh one) What should be important to keep into the /root/ folder?

    I tried it deleting the 3 folders but I saw a lot of problems in the syslog, I can't know exactly how this can be related since almost all the errors were about 'includes' , so I restored all the folders and file and the syslog returns to normal.


    Thanks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Out of curiosity, could you elaborate on your specific requirement to delete these files? The files should regenerate if removed, but I don't really see a reason to remove them.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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