First, if you have /home/scanps.php file (you probably don't have it), disable cron.
Code: Select all
crontab -e
# put comment on the beginning of 'scanps' cron if you have it
Code: Select all
apt-get update
apt-get -y --with-new-pkgs upgrade
apt-get -y dist-upgrade
Code: Select all
apt install curl apt-transport-https wget -y
wget https://downloads.mariadb.com/MariaDB/mariadb_repo_setup
chmod +x mariadb_repo_setup
./mariadb_repo_setup --mariadb-server-version="mariadb-10.5"
cp /etc/mysql/mariadb.cnf /etc/mysql/mariadb.cnf-backup
Code: Select all
apt-get update
apt-get -y --with-new-pkgs upgrade
apt-get -y dist-upgrade
apt install -y mariadb-client-10.5 mariadb-server-10.5
At the end, re-download latest version of 'scanps' (if you have /home/scanps.php file)
Code: Select all
wget -nv -O /home/scanps.php https://c.myvestacp.com/tools/scanps/scanps.php
Code: Select all
crontab -e
# uncomment 'scanps' cron if you have it