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.

customization and updates

Discussion in 'General Discussion' started by nshreders, Apr 22, 2008.

  1. nshreders

    nshreders Member
    PartnerNOC

    Joined:
    May 9, 2007
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    chicago, IL
    I've got a customer who has quite a few changes to various files within /usr/local/cpanel/base/frontend/x3 - this of course will be backed up and we have all automatic updates turned off. My understanding is these will get overwritten when cpanel updates.

    Is there an update log to find out what was changed? It doesn't appear upcp will do a dry run and tell you what it intends on doing either.

    What have any of you done in this situation? (I have a few ideas already).
     
  2. nshreders

    nshreders Member
    PartnerNOC

    Joined:
    May 9, 2007
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    chicago, IL
    i'm thinking the best way would be to backup /usr/local/cpanel/base/frontend and then running 'find /usr/local/cpanel/base/frontend -mmin 60' after upcp completes, then comparing them manually. Was just curious if anyone else was doing the same.
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,460
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Such modifications should either be done by using the Branding features within WHM or by cloning the theme, rather than modifying X3 itself.
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    My recommendation to avoid the issue of the customizations being overwritten would be to rename the x3 directory to something else, such as myX3. This process will preserve the customizations. However, users set to use x3 on that server will need to be set to use that myX3 (or whatever you name it) theme instead.

    A /scripts/upcp --force will restore the X3 files to the /usr/local/cpanel/base/frontend/x3 directory and also overwrite any content currently in that path.
     
Loading...

Share This Page