Did you take a backup of your system prior to upgrade?
Did you try reentering the upgrade wizard? even if this means allowing the page to refresh for 10-15 minutes on the admin view after clicking the upgrade wizard link? If you get into upgrade wizard what do you see? are you back at beginning on a certain step?
@svdkar maybe the best thing would be copy that code to the top of /include/database/DBManager.php, outside the class, right below the <?php tag. That should work. After the upgrade succeeds, put the file back the way it was.
Thanks to the added code to the array_utils I could progress on the upgrade It not freezing anymore, but now gives the following error
File cannot be moved or written to: D:/CRM/SugarCRM/apps/SuiteCRM/htdocs/cache/upgrades/temp/7524.tmp/SuiteCRM-Upgrade-7.11.x-to-7.11.10/vendor/google/apiclient-services/src/Google/Service/Dialogflow/GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction.php
Had to cancel the upgrade a few times to keep it clean. Tried again after deleting the temp from the upgrades in the cache directory with the latest upgrade but same error with the preflight
File cannot be moved or written to: D:/CRM/SugarCRM/apps/SuiteCRM/htdocs/cache/upgrades/temp/65A2.tmp/SuiteCRM-Upgrade-7.11.x-to-7.11.13/vendor/google/apiclient-services/src/Google/Service/Dialogflow/GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction.php
And I see this error in the wizard log
Fri, 05 Jun 2020 20:40:54 +0000 [UpgradeWizard] - looking for schema script at: D:/CRM/SugarCRM/apps/SuiteCRM/htdocs/cache/upgrades/temp/65A2.tmp/scripts/650_to_7110_mysql.sql
Fri, 05 Jun 2020 20:40:54 +0000 [UpgradeWizard] - no schema script found - all schema preflight skipped
And this one in the php_erors log
[05-Jun-2020 20:41:10 UTC] PHP Notice: Undefined index: additional_step in D:\CRM\SugarCRM\apps\SuiteCRM\htdocs\modules\UpgradeWizard\index.php on line 291
I think that stupidly long file name simply blows Windows limit which is 260 chars for path+filename. So it can’t copy the file.
Most of what is in the vendor directory is not even needed… we need one Google API, and composer brings in all of them… sigh…
Try doing the upgrade steps one by one, and keep an eye on the cache/upgrades/temp directory. When you see that it has the zip already uncompressed, but before it tries copying, delete the entire directory called