A designer hands you a brand-customized cPanel theme — modified Paper Lantern or Jupiter — that needs to live on twelve WHM servers across two regions. The first instinct is rsync from a master into /usr/local/cpanel/base/frontend/jupiter/. Three months later the servers have drifted: one had a cPanel upgrade that overlaid new files, one had a misfired chown that broke permissions, one was rebuilt and never got the rsync run. The clean answer is to package the theme delta and install it through cPanel’s own mechanisms.
What’s happening
cPanel themes are not single files; they’re trees under /usr/local/cpanel/base/frontend/<theme>/. cPanel reserves the right to add and modify files in those trees on upgrade. Any direct file modification you make is at risk on every upcp run. cPanel’s supported customization paths are the cobranding directory (/var/cpanel/customizations/brand/) for per-reseller logos and colours, and the theme-override system at /var/cpanel/styled/ for custom CSS layered on top of the shipped theme. Theme deltas applied through these paths survive upgrades; deltas baked into the shipped theme do not.
How to verify
Audit the current customization layout on each server:
ls /var/cpanel/customizations/brand/
ls /var/cpanel/styled/
whmapi1 get_cpanel_styles
find /usr/local/cpanel/base/frontend/jupiter -newer /var/cpanel/.releaseinfo -type f | head
diff -r /var/cpanel/customizations/ /tmp/master-customizations/
Files in customizations/ and styled/ are yours to manage. Files in base/frontend/<theme>/ that are newer than the release info are direct edits you’ve made — those are upgrade casualties waiting to happen.
The fix
- Move every custom file out of
base/frontend/into/var/cpanel/styled/<your-style>/. The styled directory layers on top of the shipped theme; cPanel respects it. - Build the custom style as a tarball named after your org and version (
acmevpn-style-2026.05.tar.gz). The tarball unpacks into/var/cpanel/styled/. - Distribute through your configuration management — Ansible, Salt, Puppet — copying the tarball to each WHM and unpacking it under
/var/cpanel/styled/. Use the version in the file name so configuration management can detect drift. - Register the style with cPanel:
whmapi1 add_cpanel_style user=acmevpn name=acmevpn-2026 path=/var/cpanel/styled/acmevpn/. Resellers can then apply it to their accounts through the cobranding interface. - Run a per-server audit quarterly:
diff -r /var/cpanel/styled/acmevpn/ /tmp/master/acmevpn/. Any drift is a configuration-management bug, not a manual fix.
When a custom theme is part of a multi-server brand, Stack Harbor’s agency partner practice ships theme packages through the same release pipeline as application deploys — versioned, audited, and reproducible across the fleet.