[{"data":1,"prerenderedAt":214},["ShallowReactive",2],{"seo-verification":3,"blog-ubuntu-22-04-end-of-support-2027-upgrade-to-24-04-vps-cpanel-en":6},{"google":4,"bing":5},"EycwPY2XMyTkVzas3n1ygeNJFGAH513qrMjfDljzsMQ","",{"key":7,"data":8},"blog-ubuntu-22-04-end-of-support-2027-upgrade-to-24-04-vps-cpanel-en",{"id":9,"slug":10,"slugs":11,"title":15,"excerpt":16,"readTime":17,"views":18,"isPinned":19,"publishedAt":20,"updatedAt":21,"category":22,"categories":28,"featuredImage":30,"bgImage":31,"posterImage":32,"relatedSolution":30,"intro":33,"sections":34,"ctaTitle":159,"ctaBody":160,"ctaButton":161,"ctaUrl":162,"relatedPosts":163},559,"ubuntu-22-04-end-of-support-2027-upgrade-to-24-04-vps-cpanel",{"fr":12,"en":10,"ar":13,"es":14},"ubuntu-22-04-fin-de-support-2027-migrer-24-04-vps-cpanel","نهاية-دعم-ubuntu-22-04-في-2027-الانتقال-إلى-24-04-على-vps-وcpanel","ubuntu-22-04-fin-de-soporte-2027-migrar-a-24-04-vps-cpanel","Ubuntu 22.04 end of support: move to 24.04 (VPS, cPanel)","Ubuntu 22.04 leaves standard security support in May-June 2027. In-place upgrade or new server, ELevate for cPanel, backup and rollback plan.",11,0,false,"2026-11-01T00:00:00+00:00","2026-11-01T14:14:31+00:00",{"id":23,"name":24,"slug":25,"color":26,"icon":27},8,"Security & Monitoring","securite-monitoring","bg-rose-500\u002F10 text-rose-400","security",[29],{"id":23,"name":24,"slug":25,"color":26,"icon":27},null,"\u002Fblog\u002Fcovers\u002Fbg.svg","\u002Fblog\u002Fcovers\u002Fubuntu-22-04-fin-de-support-2027-migrer-24-04-vps-cpanel-poster.svg","Ubuntu 22.04 LTS leaves standard security support in May-June 2027, and cPanel & WHM drops it from its supported systems from version 136. The 2027 migration budget is therefore decided now, client by client. Touching a running system is daunting, and rightly so: a badly prepared OS upgrade breaks cPanel, third-party repositories and sites. This guide gives the criterion for choosing between an in-place upgrade and a new server, then the procedure, with a restorable backup and a rollback.",[35,39,49,52,55,87,90,115,139,142,152,156],{"type":36,"title":37,"body":38},"h2","What ends in May-June 2027","Ubuntu 22.04 LTS was released in April 2022. Its standard security maintenance ends in May 2027 according to ubuntu.com\u002Fabout\u002Frelease-cycle, and endoflife.date gives 1 June 2027 for the same milestone. Write \"May-June 2027\" in your plans and aim for the start of the window, not its last day.\n\nAfter that date, a flaw fixed by Canonical is no longer fixed for you, unless you subscribe to Ubuntu Pro, which extends security maintenance to 2032 (the exact month differs between sources: April for endoflife.date, May for ubuntu.com, hence the year alone). The real cost of migrating is not the licence, it is time: a maintenance window, a trial clone and site-by-site validation.\n\nFor a fleet, the deadline reads in three columns: how many servers still run 22.04, which of them carry cPanel, which are plain application VPS. Each column has its own procedure. The full 2027 end-of-life schedule is in our \u003Ca href=\"\u002Fen\u002Fblog\u002Fend-of-life-calendar-2027-hosting-agencies\">2027 end-of-life calendar\u003C\u002Fa>: here we only cover this one line.",{"type":40,"title":41,"items":42},"ul","What this guide lets you do",[43,44,45,46,47,48],"**Date the deadline correctly** — May 2027 for Canonical, 1 June 2027 for endoflife.date: plan before the window opens.","**Decide client by client** — in-place upgrade, ELevate or new server, using measurable criteria rather than habit.","**Know what cPanel imposes** — deprecation in version 132, removal in version 136, and why `do-release-upgrade` is not run by hand on a cPanel server.","**Have a real safety net** — a server image that has already been restored once, not a promise of a backup.","**Anticipate what breaks** — disabled third-party repositories, PHP, nginx, SSH, packages removed during the upgrade.","**Keep a way back** — a named point of no return and a restore planned before you press Enter.",{"type":36,"title":50,"body":51},"cPanel & WHM: 22.04 deprecated in 132, removed in 136","The \"deprecation plan\" page of the cPanel documentation lists Ubuntu 22.04 LTS among the deprecated, then removed, features: deprecation in version 132, removal in version 136, with the instruction \"Use ELevate to upgrade to Ubuntu 24.04 LTS\". The page gives no release date for these versions and we do not offer one: follow cPanel's own version schedule rather than a date read on a third-party site. It does not say whether an in-place upgrade outside ELevate is supported either.\n\nOn the ELevate side the instruction is clear: the tool wraps `do-release-upgrade` because running the distribution tool directly on a cPanel installation leaves it unusable. On a cPanel server the cPanel documentation points to ELevate; the other route is a new server on 24.04 to which you transfer the accounts. A plain application VPS without a control panel follows the standard Ubuntu procedure.",{"type":36,"title":53,"body":54},"In-place upgrade or new server: the decision criterion","An in-place upgrade keeps the IP address, the accounts and the configuration. It fails where the server has drifted from a standard installation. A new server costs an account transfer, but leaves the old machine untouched until the DNS switch: it is the only scenario where rolling back simply means not switching.\n\nDecide with four questions. Does your backup cover the whole system? cPanel account backups only protect data managed by cPanel, not the programs or system settings: after a failure you would have to reinstall the OS, cPanel, then restore the accounts. How much downtime does the client accept? ELevate can exceed 30 minutes and reboots the server several times. How many customisations live outside packages (third-party repositories, hand-built PHP, scripts)? Each one is an unknown during the upgrade. Finally, is the server described in code, Ansible or otherwise? If so, rebuilding it is faster than repairing it.\n\nRule of thumb: a historic, heavily customised server, or one whose backup has never been restored, goes to a new server. A standard server, an image restored successfully and an accepted window: upgrade in place.",{"type":56,"title":57,"headers":58,"rows":62},"comparison","Which route for which server",[59,60,61],"Server situation","Recommended route","Why",[63,67,71,75,79,83],[64,65,66],"Application VPS on 22.04, no control panel, few third-party repositories","In-place upgrade with `do-release-upgrade`","Standard Ubuntu procedure, rollback by restoring the image",[68,69,70],"Application VPS described in code (Ansible, Compose)","New server on 24.04","Rebuilding costs less than repairing, the old one stays intact until the switch",[72,73,74],"Standard cPanel server, restorable system image","In-place upgrade with ELevate","In-place upgrade via ELevate, the tool the cPanel documentation points to, with blocker detection before starting",[76,77,78],"Heavily customised cPanel server or backup never restored","New server and account transfer","Account backups do not cover the system; a transfer keeps the source intact",[80,81,82],"Sites on PHP older than 8.1 on the cPanel server","New server, or migrate the sites first","ELevate blocks if a user runs a PHP version that is too old",[84,85,86],"Server in a container-like environment","New server","ELevate refuses to run in a container-like environment",{"type":36,"title":88,"body":89},"Prerequisites with real figures before launching anything","For a standard VPS, the Ubuntu documentation asks for a fully updated system, room for several gigabytes of download and someone present: the upgrade is interactive and can take several hours. Plan an out-of-band console (the provider's web console or VNC) in case SSH does not come back.\n\nFor a cPanel server, ELevate publishes its free-space thresholds: 5 GB on `\u002F`, 120 MB on `\u002Fboot`, 750 MB on `\u002Ftmp` for Ubuntu, 1.5 GB on `\u002Fusr\u002Flocal\u002Fcpanel` and 5 GB on `\u002Fvar\u002Flib`. It requires interactive root access, a valid cPanel licence, the latest minor release of the cPanel version expected for your system (the ELevate documentation asks for version 134 when starting from Ubuntu 22: re-read that prerequisite on the day) and JetBackup 5 or later if you use it. Neither `upcp` nor a cPanel backup may be running at start. And plan several ways into the server: SSH, the provider console, and if possible IPMI.",{"type":91,"title":92,"steps":93},"steps","Procedure for an application VPS, no control panel",[94,97,100,103,106,109,112],{"title":95,"body":96},"Take inventory","Note the system version with `lsb_release -a`, the third-party APT sources with `ls \u002Fetc\u002Fapt\u002Fsources.list.d\u002F`, then the versions of what serves your sites: `php -v`, `nginx -v`, `mysql --version`. This list becomes your test plan.",{"title":98,"body":99},"Back up, then restore once","Take an image of the VPS at the provider and restore it on a test machine: a backup that has never been restored is a hypothesis. Back it with an off-server copy of the databases, volumes and `\u002Fetc`. Our guide on \u003Ca href=\"\u002Fen\u002Fblog\u002Fautomate-your-vps-backups-with-restic\">Restic backups on a VPS\u003C\u002Fa> explains the setup.",{"title":101,"body":102},"Upgrade a clone first","Create a trial VPS from the image and run the whole procedure on it. Record every question the tool asks, every service that fails and every repository that gets disabled. The production upgrade should hold no more surprises.",{"title":104,"body":105},"Bring 22.04 fully up to date","Run `sudo apt update` then `sudo apt dist-upgrade -o APT::Get::Always-Include-Phased-Updates=true`, as the Ubuntu Server documentation prescribes. If the file `\u002Frun\u002Freboot-required` exists, reboot before continuing.",{"title":107,"body":108},"Open a session that survives a disconnect","Run `tmux new -s upgrade` (or `screen`) before the upgrade, so that losing the SSH connection does not interrupt the work in progress. Keep the provider console open in another tab.",{"title":110,"body":111},"Start the upgrade","First check that a release is offered with `do-release-upgrade -c`, then run `sudo do-release-upgrade`. The tool summarises what it will do and asks for confirmation. Warning from the documentation: once the download has finished, the process cannot be cancelled. That is your point of no return, and from then on restoring the image is your rollback.",{"title":113,"body":114},"Answer the questions, reboot, re-enable","For each configuration file you modified, keep your version by default, except for the files needed to boot the new kernel. Reboot when the tool asks, because the system is only considered upgraded after that reboot. Then re-enable the disabled third-party repositories, rewriting them for 24.04, and replay your test plan.",{"type":91,"title":116,"steps":117},"Procedure for a cPanel server with ELevate",[118,121,124,127,130,133,136],{"title":119,"body":120},"Check the starting point","Check the cPanel licence, the cPanel & WHM version expected by the ELevate documentation and the latest minor release installed. Update the system packages with `apt upgrade`. Check that the MySQL or MariaDB version is compatible with Ubuntu 24.04.",{"title":122,"body":123},"Take a full image of the server","ELevate takes no backup before upgrading. Snapshot the entire server and test restoring it: it is the only rollback the ELevate documentation describes in case of serious failure.",{"title":125,"body":126},"Download the script","Run `wget -O \u002Fscripts\u002Felevate-cpanel https:\u002F\u002Fraw.githubusercontent.com\u002Fcpanel\u002Felevate\u002Frelease\u002Felevate-cpanel` then `chmod 700 \u002Fscripts\u002Felevate-cpanel`. The script must run from `\u002Fscripts` and be up to date.",{"title":128,"body":129},"Run the dry-run check","`\u002Fscripts\u002Felevate-cpanel --check` changes nothing and lists the known blockers: disk space, the `sshd_config` file, PHP that is too old, a JetBackup version older than 5, a container environment, network interface names in `ethX`. Re-run it until the report is empty.",{"title":131,"body":132},"Clear the blockers one by one","Remove or migrate the sites that use a PHP version older than 8.1, give `upcp` and backups time to finish, free up space. If cPanel manages your MySQL, the tool offers to move to MariaDB during the upgrade: decide that with the client, before the window.",{"title":134,"body":135},"Start and monitor","Run `\u002Fscripts\u002Felevate-cpanel --start`. The process runs in five stages with a reboot between each and a last one at the end, over more than 30 minutes of unreachable server. Follow it with `\u002Fscripts\u002Felevate-cpanel --status` and `\u002Fscripts\u002Felevate-cpanel --log`. If the process stops on an error, fix it then run `\u002Fscripts\u002Felevate-cpanel --continue`.",{"title":137,"body":138},"Validate after the upgrade","Open WHM, check the services, each account's sites, mail sending and receiving, and scheduled tasks. Test the sites under the PHP they actually use, not just their home page.",{"type":36,"title":140,"body":141},"What breaks between 22.04 and 24.04, according to the release notes","This section draws on the Ubuntu 24.04 LTS release notes, not on a trial of our own on your stack. First, third-party repositories and PPAs are disabled during the upgrade, which leaves Docker, PHP or a monitoring agent on the old source until rewritten. Ubuntu's sources move to the deb822 format, in `\u002Fetc\u002Fapt\u002Fsources.list.d\u002Fubuntu.sources`.\n\nOn the web side, nginx moves to version 1.24 (the previous LTS shipped 1.18), Apache to 2.4.58 and PHP to 8.3.6, where 22.04 provides PHP 8.1. A site that depends on a function removed between those PHP versions shows up at run time, not at upgrade time. Python 3.12 becomes the default, which affects your administration scripts.\n\nFor connections, the `sshd_config` settings are now read by a systemd generator that drives the `ssh.socket` unit: check the listening port after the upgrade. `needrestart` restarts services affected by a library update, including during automatic updates. TLS 1.0, TLS 1.1 and DTLS 1.0 are forcibly disabled, which can cut off an old mail client. Finally, the `freeradius` package is removed by the upgrade tool without always appearing in the summary.",{"type":40,"title":143,"items":144},"To test on the clone before the client window",[145,146,147,148,149,150,151],"**Third-party repositories** — each disabled source must be re-enabled for 24.04, with its key handled without `apt-key`.","**PHP sites** — replay each site's critical pages under PHP 8.3: forms, payment, scheduled tasks.","**nginx and Apache** — run `nginx -t` after the upgrade and compare vhosts, modules and redirects.","**SSH** — check the port and key access with a second session open before closing the first.","**Mail** — send and receive, including from an old client that TLS 1.0 or 1.1 would break.","**Removed packages** — compare `apt list --installed` before and after to spot a vanished package, like `freeradius`.","**Scheduled tasks and backups** — a backup that silently fails after the upgrade is the costliest breakage.",{"type":153,"title":154,"body":155},"tip","Write the rollback before the window","Write down, before acting, who restores the image, how long it takes, and at which symptom you give up. Restoring is the only rollback once the upgrade has passed its point of no return: set the threshold in cold blood, not at 2 a.m. Prefer a window where the client can validate the next morning.",{"type":36,"title":157,"body":158},"After 24.04: the road to 26.04 goes through it","The Ubuntu documentation forbids skipping an LTS: you move from one LTS to the next, so the 22.04 to 24.04 upgrade is the mandatory step before 26.04. Ubuntu 24.04 stays under standard security maintenance until May 2029: once upgraded, your servers are no longer urgent. The upgrade from 24.04 to 26.04.1 has been open since 29 September 2026, which leaves you the choice of timing; it is covered in our guide \u003Ca href=\"\u002Fen\u002Fblog\u002Fupgrade-ubuntu-24-04-to-26-04-do-release-upgrade-vps\">Upgrade Ubuntu 24.04 to 26.04 on a VPS\u003C\u002Fa>.\n\nThe same reasoning, on another control panel, is in our guide \u003Ca href=\"\u002Fen\u002Fblog\u002Fdebian-11-end-of-life-plesk-dist-upgrade-or-migration\">Debian 11 end of life with Plesk\u003C\u002Fa>. For a fleet, group by client: one maintenance window that handles system, PHP and database costs less than three visits.","Ubuntu 22.04 deadlines: one view per client","Domains, cPanel hosting, reseller and VPS in one place, with assisted migration as an option: a single view of deadlines per client instead of a spreadsheet per server. Assisted migration, as an option, covers transferring accounts and sites, not upgrading the operating system.","See the agency offer","\u002Fsolutions\u002Fagences",[164,183,199],{"id":165,"slug":166,"slugs":167,"title":171,"excerpt":172,"readTime":17,"views":18,"isPinned":19,"publishedAt":173,"updatedAt":174,"category":175,"categories":180,"featuredImage":30,"bgImage":31,"posterImage":182,"relatedSolution":30},495,"upgrade-ubuntu-24-04-to-26-04-do-release-upgrade-vps",{"fr":168,"en":166,"ar":169,"es":170},"ubuntu-24-04-vers-26-04-do-release-upgrade-vps","ترقية-أوبونتو-24-04-إلى-26-04-على-vps","actualizar-ubuntu-24-04-a-26-04-do-release-upgrade-vps","Upgrade Ubuntu 24.04 to 26.04 on a VPS, step by step","Upgrading a VPS from Ubuntu 24.04 to 26.04 LTS: a restorable backup, do-release-upgrade over SSH, the point of no return and the breaking changes to test.","2026-10-22T00:00:00+00:00","2026-10-23T13:27:02+00:00",{"id":176,"name":177,"slug":178,"color":179,"icon":178},3,"Deployment","deploiement","bg-success\u002F10 text-success",[181],{"id":176,"name":177,"slug":178,"color":179,"icon":178},"\u002Fblog\u002Fcovers\u002Fubuntu-24-04-vers-26-04-do-release-upgrade-vps-poster.svg",{"id":184,"slug":185,"slugs":186,"title":190,"excerpt":191,"readTime":192,"views":18,"isPinned":19,"publishedAt":193,"updatedAt":194,"category":195,"categories":196,"featuredImage":30,"bgImage":31,"posterImage":198,"relatedSolution":30},520,"end-of-life-calendar-2027-hosting-agencies",{"fr":187,"en":185,"ar":188,"es":189},"calendrier-fins-de-vie-hebergement-2027-agence","جدول-نهاية-الدعم-2027-استضافة-الوكالات","calendario-fin-de-vida-2027-hosting-agencias","2027 end-of-life calendar: PHP, PostgreSQL, Node.js, Ubuntu","Dated calendar from November 2026 to end of 2027: PostgreSQL 14, PHP 8.2, Node.js 22, Ubuntu 22.04. Sources, actions and a method to group work by client.",10,"2026-10-28T00:00:00+00:00","2026-10-29T03:10:22+00:00",{"id":176,"name":177,"slug":178,"color":179,"icon":178},[197],{"id":176,"name":177,"slug":178,"color":179,"icon":178},"\u002Fblog\u002Fcovers\u002Fcalendrier-fins-de-vie-hebergement-2027-agence-poster.svg",{"id":200,"slug":201,"slugs":202,"title":206,"excerpt":207,"readTime":192,"views":18,"isPinned":19,"publishedAt":208,"updatedAt":209,"category":210,"categories":211,"featuredImage":30,"bgImage":31,"posterImage":213,"relatedSolution":30},507,"debian-11-end-of-life-plesk-dist-upgrade-or-migration",{"fr":203,"en":201,"ar":204,"es":205},"debian-11-fin-de-vie-plesk-dist-upgrade-debian-12","نهاية-دعم-debian-11-مع-plesk-ترقية-النظام-أم-الانتقال","debian-11-fin-de-vida-plesk-dist-upgrade-o-migracion","Debian 11 end of life: Plesk dist-upgrade or migration?","Debian 11 no longer gets security fixes. Plesk dist-upgrade to Debian 12 or migration to a new server: decision criteria and a step-by-step procedure.","2026-10-27T00:00:00+00:00","2026-10-27T23:58:39+00:00",{"id":23,"name":24,"slug":25,"color":26,"icon":27},[212],{"id":23,"name":24,"slug":25,"color":26,"icon":27},"\u002Fblog\u002Fcovers\u002Fdebian-11-fin-de-vie-plesk-dist-upgrade-debian-12-poster.svg",1793543027443]