While running the upgrade, the last step landed on a blank page. Checking the php_errors.log I found this error (among others still to be checked):
[03-Apr-2018 16:11:19 Europe/Berlin] PHP Parse error: syntax error, unexpected '}', expecting end of file in /opt/SuiteCRM/cache/upgrades/temp/cMZTVj/scripts/files_to_remove/UpgradeRemoval65x.php on line 592
It seems like there are some duplicate lines in UpgradeRemoval65x.php, right after the double brackets closing the main:
549 $files[] = 'modules/jjwg_Maps/DataTables/license-bsd.txt';
550 $files[] = 'modules/jjwg_Maps/DataTables/package.txt';
551 return $files;
552 }
553 } // Php ends here, lines below look duplicates
554 // SuiteCRM 7.10.2
555 $files[] = 'lib/API/v8/Exception/Conflict.php';
556 $files[] = 'lib/API/v8/Exception/NotAllowed.php';
557 $files[] = 'lib/API/v8/Exception/ReservedKeywordNotAllowed.php';
558 $files[] = 'lib/API/v8/Exception/InvalidJsonApiRequest.php';
559 $files[] = 'lib/API/v8/Exception/BadRequest.php';
560 $files[] = 'lib/API/v8/Exception/InvalidJsonApiResponse.php';
561 $files[] = 'lib/API/v8/Exception/UnsupportedMediaType.php';
562 $files[] = 'lib/API/v8/Exception/ModuleNotFound.php';
563 $files[] = 'lib/API/v8/Exception/IdAlreadyExists.php';
564 $files[] = 'lib/API/v8/Exception/EmptyBody.php';
565 $files[] = 'lib/API/v8/Exception/Forbidden.php';
566 $files[] = 'lib/API/v8/Exception/NotFound.php';
567 $files[] = 'lib/API/v8/Exception/NotAcceptable.php';
568 $files[] = 'modules/jjwg_Maps/DataTables/license-gpl2.txt';
569 $files[] = 'modules/jjwg_Maps/DataTables/component.txt';
570 $files[] = 'modules/jjwg_Maps/DataTables/Readme.txt';
571
572 // SuiteCRM 7.10.2
573 $files[] = 'lib/API/v8/Exception/Conflict.php';
574 $files[] = 'lib/API/v8/Exception/NotAllowed.php';
575 $files[] = 'lib/API/v8/Exception/ReservedKeywordNotAllowed.php';
576 $files[] = 'lib/API/v8/Exception/InvalidJsonApiRequest.php';
577 $files[] = 'lib/API/v8/Exception/BadRequest.php';
578 $files[] = 'lib/API/v8/Exception/InvalidJsonApiResponse.php';
579 $files[] = 'lib/API/v8/Exception/UnsupportedMediaType.php';
580 $files[] = 'lib/API/v8/Exception/ModuleNotFound.php';
581 $files[] = 'lib/API/v8/Exception/IdAlreadyExists.php';
582 $files[] = 'lib/API/v8/Exception/EmptyBody.php';
583 $files[] = 'lib/API/v8/Exception/Forbidden.php';
584 $files[] = 'lib/API/v8/Exception/NotFound.php';
585 $files[] = 'lib/API/v8/Exception/NotAcceptable.php';
586 $files[] = 'modules/jjwg_Maps/DataTables/license-gpl2.txt';
587 $files[] = 'modules/jjwg_Maps/DataTables/component.txt';
588 $files[] = 'modules/jjwg_Maps/DataTables/Readme.txt';
589 $files[] = 'modules/jjwg_Maps/DataTables/license-bsd.txt';
590 $files[] = 'modules/jjwg_Maps/DataTables/package.txt';
591 return $files;
592 }
593 }
Here’s the upgrade_progress.php content:
<?php
// created: 2018-04-03 16:11:19
$upgrade_config = array (
1 =>
array (
'upgrade_vars' =>
array (
'install_file' => 'upload://upgrades/patch/SuiteCRM-Upgrade-7.10-to-7.10.3.zip',
'unzip_dir' => '/opt/SuiteCRM/cache/upgrades/temp/cMZTVj',
'zip_from_dir' => 'SuiteCRM-Upgrade-7.10-to-7.10.3',
),
),
2 =>
array (
'upload' => 'done',
),
3 =>
array (
'preflight' => 'done',
),
4 =>
array (
'commit' =>
array (
'commit' => 'done',
'commitMakeBackupFiles' => 'done',
'pre_install' => 'done',
'commitCopyNewFiles' => 'done',
'post_install' =>
array (
'post_install' => 'done',
'sql_query' => 'done',
),
'upgradeHistory' => 'done',
),
),
5 =>
array (
'layouts' => 'done',
),
6 =>
array (
'end' => 'in_progress',
),
);
still showing “in progress” for the end phase. Should I complete that phase manually, or can it be ignored?
Thanks