Skip to content

Switching cPanel update tiers safely — what the version bump can break

Moving a server from STABLE to RELEASE pulls in months of changes at once. A short pre-flight check to catch the changes that affect your stack before they land.

A server was on STABLE for two years; the team decides to switch it to RELEASE to pick up newer features. The tier switch is one Tweak Setting; the consequences are eighteen months of accumulated minor versions installing in one nightly run. Most of the time this is fine. Sometimes it’s not — a deprecated API, a renamed config key, an EasyApache profile that no longer parses. A pre-flight that takes thirty minutes is the difference between a quiet upgrade and a 7 AM call.

What’s happening

cPanel’s update tiers don’t share a version stream; they pull from different points. Switching tiers does not roll back — STABLE is older than RELEASE, but moving from STABLE to RELEASE pulls forward, not back. The nightly upcp after the tier switch performs all the intermediate version transitions in one run; the server can be on a new major version by morning. Changes to EasyApache profiles, deprecated PHP versions, removed Perl modules, renamed Tweak Settings, all land at once.

How to verify

Before flipping the tier, inventory the surfaces likely to be affected:

whmapi1 get_tweaksetting key=updates
/usr/local/cpanel/cpanel -V
whmapi1 list_php_versions
whmapi1 fetch_release_notes
ls /etc/cpanel/ea4/profiles/
grep -E 'EA-(php|apache)' /etc/cpanel/ea4/profiles/*.json

Read the release notes for every version between your current and target tier; cPanel publishes them at https://docs.cpanel.net/release-notes/. Specifically watch for: PHP version removals, EasyApache profile changes, Tweak Setting renames, hook system deprecations.

The fix

A six-step playbook:

  1. Snapshot the box first. The destination tier’s first nightly update will perform irreversible operations; a filesystem snapshot or full backup is the only return path.
  2. Read the release notes for every release between current and target. Note any deprecation that touches what you actually use.
  3. Test on a staging server first. Switch tier on a non-production box, let it run for a week, exercise the customer-facing paths. Anything that breaks in staging will break in prod.
  4. Switch tier without auto-updates first: set the tier, but ensure UPDATES=manual so the nightly doesn’t auto-fire. whmapi1 set_tweaksetting key=updates value=release then whmapi1 set_tweaksetting key=autoupdate value=0.
  5. Run /scripts/upcp manually in a change window with the team standing by. Watch the access log and the customer dashboards for the duration.
  6. Re-enable auto-updates after one clean nightly has run on the new tier and nothing has surfaced.

When a tier switch is a coordinated change across a fleet, Stack Harbor’s cPanel server management practice runs the pre-flight, schedules the change windows per server, and watches the cutover so the move stays uneventful.