• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Dist-Upgrade to Ubuntu 24.04 possible?

D3nnis3n

Regular Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
10.0.61
Plesk seems to support the new Ubuntu, but no hint at it either bein possible, not possible or possible lster as it was with the last two new releases.
 
Plesk seems to support the new Ubuntu, but no hint at it either bein possible, not possible or possible lster as it was with the last two new releases.
We submitted the question: Plesk - Dist-Upgrade from Ubuntu 22.04 to 24.04 ? a little while ago on here: https://support.plesk.com/hc/en-us/...-upgrade-procedure-on-Linux-server-with-Plesk We'd made the assumption, that this wouldn't become available until after the 1st Point Release for Ubuntu 24.04 (which is set for 15/08/2024) at the very earliest, so asked for any theoretical ETA after that date. For whatever reason, the question wasn't posted by Plesk on that support page. Maybe an answer form Plesk will be posted here on your thread, instead.
 
We're currently working on instructions for updating from Ubuntu 22.04 to 24.04, these likely will be published in the next couple of weeks (no guarantee, if we run into unexpected things it might be later too).

With regards to an automated Dist-Upgrade, we don't have an ETA for this yet. It's on our todo list (obviously), however we probably won't be able to release an upgrade script before this until the end of this year (no guarantees here either).
 
The instructions are available in the meanwhile. The step for just updating the base-kernel didn't work for me, as python3 upgrade dependencies couldn't be resolved, but just skipping it and directly continuing with dist-upgrade and executing the commands to restore plesk after that worked just as well. Note that SOGo is seemingly incompatible with Ubuntu 24.04 despite not noted in the Knowledge Base articles.
 
Seems you had more problems, for me just ignoring that step and continuing with the full dist-upgrade instead of having a kernel update with reboot first worked fine, the system has been running without problems so far.
 
The instructions are available in the meanwhile. The step for just updating the base-kernel didn't work for me, as python3 upgrade dependencies couldn't be resolved, but just skipping it and directly continuing with dist-upgrade and executing the commands to restore plesk after that worked just as well. Note that SOGo is seemingly incompatible with Ubuntu 24.04 despite not noted in the Knowledge Base articles.
Just wanting to treble-check this ^ You omitted Step 14 - Install modern kernel, libc6, python3, mariadb packages - completely (because of the issues that you've mentioned) and this had no detrimental effect on your Dist-Upgrade right? We're asking, because we're shortly going to run these Dist Upgrades, but, as we've waited until both Ubuntu 22.04.5 LTS and Ubuntu 24.04.1 LTS were released before doing so and having verified their commonalies etc, we are going to omit Step 14, but by choice, because after those ^ OS releases, Step 14 appears to be slightly academic, unlike the rest of the specific Plesk article.
 
Just wanting to treble-check this ^ You omitted Step 14 - Install modern kernel, libc6, python3, mariadb packages - completely (because of the issues that you've mentioned) and this had no detrimental effect on your Dist-Upgrade right? ~~~
Ignore all of that ^ previous post as we have since upgraded all our severs, as per the specific Plesk article, without any issues.

We did omit some steps (as these were redundant) and we did alter or add some some steps (due to advance knowledge) - see below for some examples - but all servers are fine and run 24.04 LTS / Plesk perfectly now.

Dist-upgrade from Ubuntu 22 (Jammy Jellyfish) to Ubuntu 24 (Noble Numbat) - Manual step by step process (selection from the specific Plesk article) Examples:
7. Install aptitude > Already installed
9. Replace 'jammy' sources lists with 'noble' sources lists > Added the missing step. It's implied, but not actually written
21.Complete distupgrade process > Depending on your config, there's quite a few additional prompts, as well as those listed. Make selections as you so desire.
24. Remove /etc/apt/sources.list and provide /etc/apt/sources.list.d/ubuntu.sources
> New step inserted, as this is an OS change from 22.04 LTS to 24.04 LTS
25. Was 24. Originally - Restore the Plesk packages configuration > You may need to ensure MariaDB is actually running (not stopped) before you start this step
26. Was 25. Originally
- Run the repair command below to run all needed upgrade scripts > Depending on your config, you may need to run plesk repair not only on just the installation.
 
Just wanting to treble-check this ^ You omitted Step 14 - Install modern kernel, libc6, python3, mariadb packages - completely (because of the issues that you've mentioned) and this had no detrimental effect on your Dist-Upgrade right? We're asking, because we're shortly going to run these Dist Upgrades, but, as we've waited until both Ubuntu 22.04.5 LTS and Ubuntu 24.04.1 LTS were released before doing so and having verified their commonalies etc, we are going to omit Step 14, but by choice, because after those ^ OS releases, Step 14 appears to be slightly academic, unlike the rest of the specific Plesk article.

Sorry, didn't see this in time and seems you already got everything done correctly - but yes, skipping this step completely had no detrimental effect.
 
Ignore all of that ^ previous post as we have since upgraded all our severs, as per the specific Plesk article, without any issues.

We did omit some steps (as these were redundant) and we did alter or add some some steps (due to advance knowledge) - see below for some examples - but all servers are fine and run 24.04 LTS / Plesk perfectly now.

Dist-upgrade from Ubuntu 22 (Jammy Jellyfish) to Ubuntu 24 (Noble Numbat) - Manual step by step process (selection from the specific Plesk article) Examples:
7. Install aptitude > Already installed
9. Replace 'jammy' sources lists with 'noble' sources lists > Added the missing step. It's implied, but not actually written
21.Complete distupgrade process > Depending on your config, there's quite a few additional prompts, as well as those listed. Make selections as you so desire.
24. Remove /etc/apt/sources.list and provide /etc/apt/sources.list.d/ubuntu.sources > New step inserted, as this is an OS change from 22.04 LTS to 24.04 LTS
25. Was 24. Originally - Restore the Plesk packages configuration > You may need to ensure MariaDB is actually running (not stopped) before you start this step
26. Was 25. Originally - Run the repair command below to run all needed upgrade scripts > Depending on your config, you may need to run plesk repair not only on just the installation.
Can you explain what you do in step 24? and is it necessary to do?
 
Your replacement step 24 :)
24. Remove /etc/apt/sources.list and provide /etc/apt/sources.list.d/ubuntu.sources > New step inserted, as this is an OS change from 22.04 LTS to 24.04 LTS
It's as already explained ^ really (but this assumes, that you knew in advance, that this was a change, instigated by Ubuntu themselves)
AKA "....Starting with Ubuntu 24.04, a new configuration file, /etc/apt/sources.list.d/ubuntu.sources, is used for managing repository configurations..."

In theory, If upgrading from an OE 22.04 LTS to an OE 24.04 LTS this shouldn't be a problem, as the apt-migration process should convert this correctly...
In our case, (i.e. with Plesk Dist Upgrades) it didn't / wouldn't, but because we already had an /etc/apt/sources.list.d/ubuntu.sources file ready, in anticipation of this maybe not working correctly, we made these changes ourselves and added them, as an extra step (in our case - it may not be required in yours).

There's already lots of references to this online, but FWIW the attached image is an example of the new format / style ubuntu.sources file.
You might want to alter the location of the Index of /ubuntu reference in that file IF you're not a US resident / located in the US etcNoble - Sources.jpg
 
Back
Top