• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the current Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Resolved Maria DB update fail, autoupdate no longer works

Hello @dgarcia90

Unfortunately, I can't get it to work on my Ubuntu 20 server.

Would you be so kind to share the content of your finally working mariadb.list?

Thank you! :)
Hey, this is what I've got:


# MariaDB Server
# To use a different major version of the server, or to pin to a specific minor version, change URI below.
#deb [arch=amd64,arm64] https://dlm.mariadb.com/repo/mariadb-server/10.11/repo/ubuntu focal main
deb [arch=amd64,arm64] Index of /mariadb/repo/10.11/ubuntu focal main

#deb [arch=amd64,arm64] https://dlm.mariadb.com/repo/mariadb-server/10.11/repo/ubuntu focal main/debug


# MariaDB Tools
deb [arch=amd64] Tools/ubuntu/ - MariaDB focal main

When I run apt-get update I don't have any error now

Hope it helps! :)
 
Hi

Thank you very much! I have tried it like this:

Code:
# MariaDB Server
# To use a different major version of the server, or to pin to a specific minor version, change URI below.
#deb [arch=amd64,arm64] https://dlm.mariadb.com/repo/mariadb-server/10.11/repo/ubuntu focal main
deb [arch=amd64,arm64] Index of /mariadb/repo/10.11/ubuntu focal main

#deb [arch=amd64,arm64] https://dlm.mariadb.com/repo/mariadb-server/10.11/repo/ubuntu focal main/debug


# MariaDB Tools
deb [arch=amd64] Tools/ubuntu/ - MariaDB focal main

After apt-get update I Get following error:
Code:
E: Malformed entry 4 in list file /etc/apt/sources.list.d/mariadb.list (URI parse)
E: The list of sources could not be read.

I think "Entry 4" refers to line 4:
Code:
deb [arch=amd64,arm64] Index of /mariadb/repo/10.11/ubuntu focal main

I notice that this does not contain an URI but "Index of" etc.

Do you or does anybody know how to solve this?

Thanks a lot!
 
Okay, I found a solution that worked for me:

I entered following commands:
Code:
sudo apt-get install apt-transport-https curl
sudo mkdir -p /etc/apt/keyrings
sudo curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp'

Then I put following content into /etc/apt/sources.list.d/mariadb.list:
Code:
# MariaDB 10.11 repository list - created 2024-06-07 13:12 UTC
# https://mariadb.org/download/
# deb.mariadb.org is a dynamic mirror if your preferred mirror goes offline. See https://mariadb.org/mirrorbits/ for details.
# deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://deb.mariadb.org/10.11/ubuntu focal main
deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.wtnet.de/mariadb/repo/10.11/ubuntu focal main
# deb-src [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.wtnet.de/mariadb/repo/10.11/ubuntu focal main

Then apt-get update worked without errors. And I can also search for system updates from within Plesk without error messages.

So basically I just went through these steps:

Cheers!
 
Back
Top