• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Issue Maria DB 10.11 > 11.4 upgrade results in issues with Plesk Repair Tool - reports innodb corruption in ibdata1

Okay, in the same share directory as I used in my above post, I have made a screenshot of the actual Maria Database version that I am running: Distrib 10.11.5 Version 15.1.
In the Maria.list file, it shows 10.5, and this file is also shared.
 
Thank you, this output shows the problem. Two lines in /etc/apt/sources.list point to MariaDB repositories that do not exist any more (mirror.mva-n.net 10.4 returns 404, and sfo1.mirrors.digitalocean.com 10.6 does not resolve). These lines stop apt-get update, and this is why the upgrade tool stops. Your database is not the cause, so please do not delete it.

Step 1. Run this one command as root. It makes a backup of the file and puts a # at the start of the two bad lines:

Code:
cp /etc/apt/sources.list /root/sources.list.backup && sed -i -E '/mirror\.mva-n\.net\/mariadb|sfo1\.mirrors\.digitalocean\.com\/mariadb/ s/^/# /' /etc/apt/sources.list

Step 2. Run this command and send me the full output:

Code:
apt-get update

Step 3. Run this command and send me the output (it only reads, it changes nothing):

Code:
curl -sI https://archive.mariadb.org/mariadb-10.11/repo/ubuntu/dists/focal/Release | head -n 1

The two archive.mariadb.org lines in /etc/apt/sources.list.d/mariadb.list may also be a problem. Please do not change them yet. I will tell you what to do after I see the output of step 2 and step 3.
 
Thank you, this output shows the problem. Two lines in /etc/apt/sources.list point to MariaDB repositories that do not exist any more (mirror.mva-n.net 10.4 returns 404, and sfo1.mirrors.digitalocean.com 10.6 does not resolve). These lines stop apt-get update, and this is why the upgrade tool stops. Your database is not the cause, so please do not delete it.

Step 1. Run this one command as root. It makes a backup of the file and puts a # at the start of the two bad lines:

Code:
cp /etc/apt/sources.list /root/sources.list.backup && sed -i -E '/mirror\.mva-n\.net\/mariadb|sfo1\.mirrors\.digitalocean\.com\/mariadb/ s/^/# /' /etc/apt/sources.list

Step 2. Run this command and send me the full output:

Code:
apt-get update

Step 3. Run this command and send me the output (it only reads, it changes nothing):

Code:
curl -sI https://archive.mariadb.org/mariadb-10.11/repo/ubuntu/dists/focal/Release | head -n 1

The two archive.mariadb.org lines in /etc/apt/sources.list.d/mariadb.list may also be a problem. Please do not change them yet. I will tell you what to do after I see the output of step 2 and step 3.
The Image file contains the result of step 2. and the result of step 3 is: HTTP/2 301
 

Attachments

  • 2026-11-30 10_11_21-root@s1722_ ~.png
    2026-11-30 10_11_21-root@s1722_ ~.png
    138.6 KB · Views: 1
Step 1 worked: the two bad lines in /etc/apt/sources.list are fixed, and their errors are gone from your apt-get update output. One error is left. The repository archive.mariadb.org/mariadb-10.11 has no files for Ubuntu 20.04 (focal) any more. The HTTP/2 301 from step 3 is a redirect to a page that does not exist. The repository for the exact release 10.11.5 still has focal, so we change the two lines to this release.

Step 4. Check the installed MariaDB version:

Code:
mariadb --version

If the answer says 10.11.5, go to step 5. If it says a different version, do not continue. Send me the answer and I will give you the matching command.

Step 5. This command makes a backup of the file, changes only the archive.mariadb.org lines, and runs apt-get update:

Code:
cp /etc/apt/sources.list.d/mariadb.list /root/mariadb.list.backup && sed -i 's#archive.mariadb.org/mariadb-10.11/#archive.mariadb.org/mariadb-10.11.5/#' /etc/apt/sources.list.d/mariadb.list && apt-get update

Step 6. Send me the full output of step 5. There must be no line that starts with E:. If there is none, you can start the upgrade tool again, and send me the new log if it stops again.
 
Step 1 worked: the two bad lines in /etc/apt/sources.list are fixed, and their errors are gone from your apt-get update output. One error is left. The repository archive.mariadb.org/mariadb-10.11 has no files for Ubuntu 20.04 (focal) any more. The HTTP/2 301 from step 3 is a redirect to a page that does not exist. The repository for the exact release 10.11.5 still has focal, so we change the two lines to this release.

Step 4. Check the installed MariaDB version:

Code:
mariadb --version

If the answer says 10.11.5, go to step 5. If it says a different version, do not continue. Send me the answer and I will give you the matching command.

Step 5. This command makes a backup of the file, changes only the archive.mariadb.org lines, and runs apt-get update:

Code:
cp /etc/apt/sources.list.d/mariadb.list /root/mariadb.list.backup && sed -i 's#archive.mariadb.org/mariadb-10.11/#archive.mariadb.org/mariadb-10.11.5/#' /etc/apt/sources.list.d/mariadb.list && apt-get update

Step 6. Send me the full output of step 5. There must be no line that starts with E:. If there is none, you can start the upgrade tool again, and send me the new log if it stops again.
Looks extremely positive.
 

Attachments

  • 2026-11-30 10_46_45-.png
    2026-11-30 10_46_45-.png
    144.8 KB · Views: 1
this output is correct. apt-get update now finishes with no E: line, and the packages of the 10.11.5 repository for focal are found. The repository problem is fixed.

You can now start the upgrade tool again, in the same way as the first time. Please do not run the repair tool of Plesk or change the database files. If the upgrade tool stops again, send me the new log and I will check it.
 
the new upgrade (20 to 22) found a different problem. It stops at the step "upgrade packages" with this message:

Code:
lxd-client : Depends: lxd (>= 1:0.10) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages

The package lxd-client is installed, but the package it needs, lxd, is not. Apt does not continue while a package is in this state. Before we change anything, please run these two commands. They only read and simulate, they change nothing. Send me the full output of both.

Step 1.

Code:
dpkg -l | grep -i lxd

Step 2.

Code:
apt-get -s -f install

The second command only shows what apt would do. I will tell you the next step after I see the output.

The first two tries of the tool in your log stopped because the Plesk installer was busy ("Update operation was locked by another update process"). This is normal after a reboot. When you start the tool again, wait a few minutes first so that no Plesk update is running.
 
the new upgrade (20 to 22) found a different problem. It stops at the step "upgrade packages" with this message:

Code:
lxd-client : Depends: lxd (>= 1:0.10) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages

The package lxd-client is installed, but the package it needs, lxd, is not. Apt does not continue while a package is in this state. Before we change anything, please run these two commands. They only read and simulate, they change nothing. Send me the full output of both.

Step 1.

Code:
dpkg -l | grep -i lxd

Step 2.

Code:
apt-get -s -f install

The second command only shows what apt would do. I will tell you the next step after I see the output.

The first two tries of the tool in your log stopped because the Plesk installer was busy ("Update operation was locked by another update process"). This is normal after a reboot. When you start the tool again, wait a few minutes first so that no Plesk update is running.
Outputs attached.
 

Attachments

  • 2026-11-30 11_38_10-.png
    2026-11-30 11_38_10-.png
    14.4 KB · Views: 1
  • 2026-11-30 11_39_17-root@s1722_ ~.png
    2026-11-30 11_39_17-root@s1722_ ~.png
    27.5 KB · Views: 1
The old LXD program from Ubuntu 18.04 was removed in the past (status ic). A small transition package, lxd-client, was left half installed (status iU) and it needs the package lxd. The fix that apt shows in step 2 installs a new lxd package. On Ubuntu 20.04 this package moves LXD to a snap, and a Plesk server does not need that. The simpler way is to remove the transition package lxd-client.

First, one question: do you use LXD containers on this server? If you do, do not continue, and tell me. If you do not know, the answer is probably no, because LXD was already removed.

Step 1. Simulate the removal. It changes nothing. Send me the full output:

Code:
apt-get -s remove lxd-client

The output must show only lxd-client under "The following packages will be REMOVED". If it shows more packages, do not continue, and send me the output.

Step 2. Only when step 1 shows only lxd-client, run this command:

Code:
apt-get remove -y lxd-client

Step 3. Check that apt is healthy again. The output must show no line that starts with E::

Code:
apt-get -s upgrade

Send me the output of step 2 and step 3. After that you can start the upgrade tool ubuntu20to22 again.
 
The old LXD program from Ubuntu 18.04 was removed in the past (status ic). A small transition package, lxd-client, was left half installed (status iU) and it needs the package lxd. The fix that apt shows in step 2 installs a new lxd package. On Ubuntu 20.04 this package moves LXD to a snap, and a Plesk server does not need that. The simpler way is to remove the transition package lxd-client.

First, one question: do you use LXD containers on this server? If you do, do not continue, and tell me. If you do not know, the answer is probably no, because LXD was already removed.

Step 1. Simulate the removal. It changes nothing. Send me the full output:

Code:
apt-get -s remove lxd-client

The output must show only lxd-client under "The following packages will be REMOVED". If it shows more packages, do not continue, and send me the output.

Step 2. Only when step 1 shows only lxd-client, run this command:

Code:
apt-get remove -y lxd-client

Step 3. Check that apt is healthy again. The output must show no line that starts with E::

Code:
apt-get -s upgrade

Send me the output of step 2 and step 3. After that you can start the upgrade tool ubuntu20to22 again.
I use my server for three packages:
Moodle
Mahara
Next Cloud
To a much smaller extent, LimeSurvey
 
I use my server for three packages:
Moodle
Mahara
Next Cloud
To a much smaller extent, LimeSurvey
Okay, So I could find nothing that suggests that any of those packages are dependent on LXD being installed.
 

Attachments

  • 2026-11-30 11_55_36-root@s1722_ ~.png
    2026-11-30 11_55_36-root@s1722_ ~.png
    24.1 KB · Views: 2
The old LXD program from Ubuntu 18.04 was removed in the past (status ic). A small transition package, lxd-client, was left half installed (status iU) and it needs the package lxd. The fix that apt shows in step 2 installs a new lxd package. On Ubuntu 20.04 this package moves LXD to a snap, and a Plesk server does not need that. The simpler way is to remove the transition package lxd-client.

First, one question: do you use LXD containers on this server? If you do, do not continue, and tell me. If you do not know, the answer is probably no, because LXD was already removed.

Step 1. Simulate the removal. It changes nothing. Send me the full output:

Code:
apt-get -s remove lxd-client

The output must show only lxd-client under "The following packages will be REMOVED". If it shows more packages, do not continue, and send me the output.

Step 2. Only when step 1 shows only lxd-client, run this command:

Code:
apt-get remove -y lxd-client

Step 3. Check that apt is healthy again. The output must show no line that starts with E::

Code:
apt-get -s upgrade

Send me the output of step 2 and step 3. After that you can start the upgrade tool ubuntu20to22 again.
Steps (2) & (3) attached.
 

Attachments

  • 2026-11-30 11_59_59-root@s1722_ ~.png
    2026-11-30 11_59_59-root@s1722_ ~.png
    30.7 KB · Views: 2
  • 2026-11-30 12_02_20-root@s1722_ ~.png
    2026-11-30 12_02_20-root@s1722_ ~.png
    19.8 KB · Views: 2
Your three outputs are correct:

  • The simulation removed only lxd-client.
  • The real removal worked.
  • apt-get -s upgrade shows no E: line any more and no half installed package. Apt is healthy again.
Moodle, Mahara, Nextcloud and LimeSurvey do not need LXD, so the removal is safe. The line about plesk.list.ai_back is only a note. Apt ignores that file, and you can ignore the note.

You can now start the upgrade tool ubuntu20to22 again.
 
Your three outputs are correct:

  • The simulation removed only lxd-client.
  • The real removal worked.
  • apt-get -s upgrade shows no E: line any more and no half installed package. Apt is healthy again.
Moodle, Mahara, Nextcloud and LimeSurvey do not need LXD, so the removal is safe. The line about plesk.list.ai_back is only a note. Apt ignores that file, and you can ignore the note.

You can now start the upgrade tool ubuntu20to22 again.
Are we able to upgarde to Ubuntu 24.04.x
 
Back
Top