Having same issue where 'Upgrading the structure of all tables' is stuck on a small table.
Do I just exit out of the upgrade and then run this via SSH?
"MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql_upgrade -uadmin"
MariaDB version shown in Plesk (Tools & Settings > Database Servers) does match...