Upgrade Wizard Stucks on Repair the Database

I’m able to upgrade the SuiteCRMs no problem before.

I was able to upgrade up until Version 7.13.1

But upgrading to Version 7.13.2 always stucks on repair database part.

I do this everytime before upgrading:

[root@localhost ~]# cd /var/www/html/orion
[root@localhost orion]# sudo chown -R apache:apache .
[root@localhost orion]# sudo chmod -R 755 .
[root@localhost orion]# sudo chmod -R 775 cache custom modules themes data upload
[root@localhost orion]# sudo chmod 775 config_override.php 2>/dev/null
[root@localhost orion]# rm -rf cache/upgrades/temp/*
[root@localhost orion]# sudo chown -R apache:apache cache custom modules themes data upload
[root@localhost orion]# sudo chmod -R 775 cache custom modules themes data upload

It is either I use the upgradeWizard or the silentUpgrade. It stops the same for both.

This is the last part of the upgradeWIzard.log.

Wed, 29 Oct 2025 16:20:11 +0000 [UpgradeWizard] - call addNewSystemTabsFromUpgrade(upload://upgrades/patch/SuiteCRM-Upgrade-7.13.x-to-7.13.2-restore)
Wed, 29 Oct 2025 16:20:11 +0000 [UpgradeWizard] - check to see if new modules exist
Wed, 29 Oct 2025 16:20:11 +0000 [UpgradeWizard] - new modules to add are array (
  'Home' => 'Home',
  'Calendar' => 'Calendar',
  'Calls' => 'Calls',
  'Meetings' => 'Meetings',
  'Tasks' => 'Tasks',
  'Notes' => 'Notes',
  'Leads' => 'Leads',
  'Contacts' => 'Contacts',
  'Accounts' => 'Accounts',
  'Opportunities' => 'Opportunities',
  'Emails' => 'Emails',
  'EmailTemplates' => 'EmailTemplates',
  'Campaigns' => 'Campaigns',
  'Prospects' => 'Prospects',
  'ProspectLists' => 'ProspectLists',
  'Documents' => 'Documents',
  'Cases' => 'Cases',
  'Project' => 'Project',
  'Bugs' => 'Bugs',
  'ResourceCalendar' => 'ResourceCalendar',
  'AOBH_BusinessHours' => 'AOBH_BusinessHours',
  'Spots' => 'Spots',
  'AM_ProjectTemplates' => 'AM_ProjectTemplates',
  'AOK_Knowledge_Base_Categories' => 'AOK_Knowledge_Base_Categories',
  'AOK_KnowledgeBase' => 'AOK_KnowledgeBase',
  'FP_events' => 'FP_events',
  'FP_Event_Locations' => 'FP_Event_Locations',
  'AOR_Reports' => 'AOR_Reports',
  'AOR_Scheduled_Reports' => 'AOR_Scheduled_Reports',
  'AOS_Contracts' => 'AOS_Contracts',
  'AOS_Invoices' => 'AOS_Invoices',
  'AOS_PDF_Templates' => 'AOS_PDF_Templates',
  'AOS_Product_Categories' => 'AOS_Product_Categories',
  'AOS_Products' => 'AOS_Products',
  'AOS_Quotes' => 'AOS_Quotes',
  'AOW_WorkFlow' => 'AOW_WorkFlow',
  'jjwg_Maps' => 'jjwg_Maps',
  'jjwg_Markers' => 'jjwg_Markers',
  'jjwg_Areas' => 'jjwg_Areas',
  'jjwg_Address_Cache' => 'jjwg_Address_Cache',
  'SecurityGroups' => 'SecurityGroups',
  'Surveys' => 'Surveys',
  'sng_CallHistory' => 'sng_CallHistory',
  'AsteriskIntegration' => 'AsteriskIntegration',
  'RM_RMTitles' => 'RM_RMTitles',
)
Wed, 29 Oct 2025 16:20:11 +0000 [UpgradeWizard] - module tabs updated
Wed, 29 Oct 2025 16:20:11 +0000 [UpgradeWizard] - finished addNewSystemTabsFromUpgrade
Wed, 29 Oct 2025 16:20:11 +0000 [UpgradeWizard] - Registering upgrade with UpgradeHistory
Wed, 29 Oct 2025 16:20:11 +0000 [UpgradeWizard] - Rebuilding language cache
Wed, 29 Oct 2025 16:20:13 +0000 [UpgradeWizard] - setting session variables...
Wed, 29 Oct 2025 16:21:05 +0000 [UpgradeWizard] - setting session variables...
Wed, 29 Oct 2025 16:21:11 +0000 [UpgradeWizard] - [At end.php]
Wed, 29 Oct 2025 16:21:11 +0000 [UpgradeWizard] - About to repair the database.
Wed, 29 Oct 2025 16:21:15 +0000 [UpgradeWizard] - Running sql:/* Table : surveys */
/*COLUMNS*/
/*MISMATCH WITH DATABASE - status -  ROW [name] => 'status'  [type] => 'varchar'  [len] => '100'  [default] => 'Draft'  */
/* VARDEF - status -  ROW[required] => ''  [name] => 'status'  [vname] => 'LBL_STATUS'  [type] => 'varchar'  [massupdate] => '0'  [default] => 'LBL_DRAFT'  [no_default] => ''  [comments] => ''  [help] => ''  [importable] => 'true'  [duplicate_merge] => 'disabled'  [duplicate_merge_dom_value] => '0'  [audited] => ''  [inline_edit] => '1'  [reportable] => '1'  [unified_search] => ''  [merge_filter] => 'disabled'  [len] => '100'  [size] => '20'  [options] => 'survey_status_list'  [studio] => 'visible'  [dependency] => ''  [dbType] => 'enum'  */
/* INDEXES */
ALTER TABLE surveys   modify COLUMN `status` varchar(100)  DEFAULT 'LBL_DRAFT' NULL 

I would have love to upload the zip but I cannot upload since I am a new user.

Thank you very much for your help.