Hello,
Prior to upgrade, Plesk tries to back up databases (psa, apsc, horde, rouroundcubemail) via mysqldump. You can try to perform dump manually, to check what the problem. Alternately, you can try to run plesk sbin mysqldump.sh, which do nearly same.
I need to also note that MariaDB 10.4 is...