• Resources
  • Another way how to upgrade your WordOps stack v3.14.0

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
5 days later

I had similar problem on Debian Buster.
Commented out configured repository and added recommended one found at Download MariaDB
Select your Linux distribution, MariaDB version, find your mirror or repository and copy/paste into wo-repo.list
Do not forget to install repository keys, then sudo apt-get update and you are ready to update wo.
I guess, I could have chosen higher version of MariaDB.
Second line deb-src ... is probably not required.

# deb [arch=amd64,ppc64el] http://mariadb.mirrors.ovh.net/MariaDB/repo/10.5/debian buster main
deb [arch=amd64,arm64,ppc64el] https://ftp.bme.hu/pub/mirrors/mariadb/repo/10.5/debian buster main
deb-src https://ftp.bme.hu/pub/mirrors/mariadb/repo/10.5/debian buster main

deb http://download.opensuse.org/repositories/home:/virtubox:/WordOps/Debian_10/ /
deb https://packages.sury.org/php/ buster main

Hosted by VirtuBox