- Edited
As you already know there are issues with WO stack upgrade and WO maintenance. Seems there is a problem with the Maria DB link that's why WO is unable to download it (and also other updates) and is causing this error.
[FIX] First try to replace MariaDB repository by opening and editing wo-repo.list file:
sudo nano /etc/apt/sources.list.d/wo-repo.list
and replace MariaDB OVH repository **mariadb.mirrors.ovh.net focal main**
with this:
https://mirror.mva-n.net/mariadb/repo/10.5/ubuntu focal main
(you can ofc choose your preferred repo https://mariadb.org/download/?t=repo-config
restart server:
sudo reboot
and then run WO stack upgrade & WO maintenance commands, then check status:
sudo systemctl status mariadb
Everything should work now just fine.
Just in case something is not working still for you can still try to manually update your system.
For example:
wo stack upgrade --nginx
wo stack upgrade --wpcli
wo stack upgrade --phpmyadmin
and so on. Full list of commands you can find here:
https://docs.wordops.net/commands/stack/#stack-upgrade
Then restart your server. This should help.
**Also, you can install the most critical Ubuntu Server updates manually (I know it's not a good solution, but it works) for example:**
first, you need to check which packages you need to upgrade by running this command:
sudo apt list --upgradeable
and then run the following commands:
sudo apt-get install openssh-client_
sudo apt install openssh-client
sudo apt-get install update-manager-core
sudo apt install update-manager-core
sudo apt-get install ubuntu-advantage-tools
sudo apt install ubuntu-advantage-tools
sudo apt-get install php-common
sudo apt install php-common
and so on...you got the idea.
**To upgrade your server's firmware, use this command:**
sudo apt-get -y install linux-firmware
**To enable automatic updates on your Ubuntu use the following commands:**
sudo apt-get install unattended-upgrades
sudo dpkg-reconfigure unattended-upgrades