The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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
     
    #1 ITGabs, Apr 6, 2014
    Last edited: Apr 6, 2014
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,814
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  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
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,814
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page