You have to upgrade manually or replace this file then try auto upgrade again.   https://github.com/cubecart/v6/blob/master/admin/sources/maintenance.index.inc.php