Ok, so I attempted the 7.12.7 → 7.12.8 upgrade using the upgrade wizard again. Here’s what happened…
During the preflight I got a ‘405 not allowed nginx’. I then reloaded the page and I was back at the upgrade-wizard. It said the preflight had passed. A quick look at the SCRM error_log showed this;
Error_log in Suitecrm
[26-Nov-2022 21:17:58 UTC] PHP Notice: Undefined variable: installdefs in /home/terryl/public_html/crm/ModuleInstall/ModuleScanner.php on line 964
[27-Nov-2022 10:19:26 Pacific/Auckland] PHP Notice: Trying to get property ‘id’ of non-object in /home/terryl/public_html/crm/modules/InboundEmail/InboundEmail.php on line 4581
[27-Nov-2022 10:19:26 Pacific/Auckland] PHP Notice: Trying to get property ‘filename’ of non-object in /home/terryl/public_html/crm/modules/InboundEmail/InboundEmail.php on line 4603
[27-Nov-2022 10:19:26 Pacific/Auckland] PHP Notice: Undefined property: stdClass::$disposition in /home/terryl/public_html/crm/modules/InboundEmail/InboundEmail.php on line 4605
I decided to push on, so i clicked next…
again I got the same 405 error screen. Reload did not get me back immediately like previously but back button got me there eventually, back at the upgrade-wizard screen.
It was still at the same position, that is hit next for preflight.
A quick look at the SCRM logs showed this;
upgradeWizard.log
Sat, 26 Nov 2022 21:29:16 +0000 [UpgradeWizard] - Backing up file: /home/terryl/public_html/crm/export.php
Sat, 26 Nov 2022 21:29:16 +0000 [UpgradeWizard] - file backup done.
Sat, 26 Nov 2022 21:29:16 +0000 [UpgradeWizard] - Running pre_install()…
Sat, 26 Nov 2022 21:29:16 +0000 [UpgradeWizard] - pre_install() done.
Sat, 26 Nov 2022 21:29:16 +0000 [UpgradeWizard] - Commit step finished SugarMerge run with the following results:Array
(
[Contacts] => Array
(
)
[Emails] => Array
(
)
[Accounts] => Array
(
)
)
Sat, 26 Nov 2022 21:29:16 +0000 [UpgradeWizard] - Starting file copy process…
Sat, 26 Nov 2022 21:31:40 +0000 [UpgradeWizard] - File copy done.
Sat, 26 Nov 2022 21:31:40 +0000 [UpgradeWizard] - Starting post_install()…
Sat, 26 Nov 2022 21:31:40 +0000 [UpgradeWizard] - Running post_install.
Sat, 26 Nov 2022 21:31:40 +0000 [UpgradeWizard] - Update Config
Sat, 26 Nov 2022 21:31:40 +0000 [UpgradeWizard] - Upgrading the database from 6.5.25 to version
Sat, 26 Nov 2022 21:31:40 +0000 [UpgradeWizard] - Running SQL file /home/terryl/public_html/crm/cache/upgrades/temp/tbTEoO/scripts/65x_to__mysql.sql
Sat, 26 Nov 2022 21:31:40 +0000 [UpgradeWizard] - *** ERROR: Schema change script [/home/terryl/public_html/crm/cache/upgrades/temp/tbTEoO/scripts/65x_to__mysql.sql] could not be found!
Sat, 26 Nov 2022 21:31:40 +0000 [UpgradeWizard] - Rebuilding JS Langauages
Sat, 26 Nov 2022 21:31:40 +0000 [UpgradeWizard] - Rebuilding Dashlets
SuiteCRM error_log
[26-Nov-2022 21:29:16 UTC] PHP Warning: chown(): UploadStream::stream_metadata is not implemented! in /home/terryl/public_html/crm/include/utils/sugar_file_utils.php on line 363
[26-Nov-2022 21:29:16 UTC] PHP Warning: chown(): UploadStream::stream_metadata is not implemented! in /home/terryl/public_html/crm/include/utils/sugar_file_utils.php on line 363
[26-Nov-2022 21:29:16 UTC] PHP Notice: Undefined index: installing in /home/terryl/public_html/crm/cache/upgrades/temp/tbTEoO/scripts/pre_install.php on line 63
[26-Nov-2022 21:29:47 UTC] PHP Fatal error: Uncaught Error: Class ‘ComposerAutoloaderInit2329c4a8a893839ff19cd60887a1e4be’ not found in /home/terryl/public_html/crm/vendor/autoload.php:7
Stack trace:
#0 /home/terryl/public_html/crm/include/entryPoint.php(65): require_once()
#1 /home/terryl/public_html/crm/index.php(47): require_once(’/home/terryl/pu…’)
#2 {main}
thrown in /home/terryl/public_html/crm/vendor/autoload.php on line 7
[26-Nov-2022 21:29:53 UTC] PHP Fatal error: Uncaught Error: Class ‘ComposerAutoloaderInit2329c4a8a893839ff19cd60887a1e4be’ not found in /home/terryl/public_html/crm/vendor/autoload.php:7
Stack trace:
#0 /home/terryl/public_html/crm/include/entryPoint.php(65): require_once()
#1 /home/terryl/public_html/crm/index.php(47): require_once(’/home/terryl/pu…’)
#2 {main}
thrown in /home/terryl/public_html/crm/vendor/autoload.php on line 7
[26-Nov-2022 21:30:03 UTC] PHP Fatal error: Uncaught Error: Class ‘ComposerAutoloaderInit2329c4a8a893839ff19cd60887a1e4be’ not found in /home/terryl/public_html/crm/vendor/autoload.php:7
Stack trace:
#0 /home/terryl/public_html/crm/include/entryPoint.php(65): require_once()
#1 /home/terryl/public_html/crm/cron.php(48): require_once(’/home/terryl/pu…’)
#2 {main}
thrown in /home/terryl/public_html/crm/vendor/autoload.php on line 7
[26-Nov-2022 21:31:03 UTC] PHP Fatal error: Uncaught Error: Class ‘ComposerAutoloaderInit2329c4a8a893839ff19cd60887a1e4be’ not found in /home/terryl/public_html/crm/vendor/autoload.php:7
Stack trace:
#0 /home/terryl/public_html/crm/include/entryPoint.php(65): require_once()
#1 /home/terryl/public_html/crm/cron.php(48): require_once(’/home/terryl/pu…’)
#2 {main}
thrown in /home/terryl/public_html/crm/vendor/autoload.php on line 7
[26-Nov-2022 21:31:40 UTC] PHP Notice: Undefined index: post_install in /home/terryl/public_html/crm/modules/UpgradeWizard/uw_utils.php on line 3186
[26-Nov-2022 21:31:44 UTC] PHP Warning: dir(/home/terryl/public_html/crm/cache/upgrades/temp/tbTEoO/scripts/files_to_add_post/modules/): failed to open dir: No such file or directory in /home/terryl/public_html/crm/include/dir_inc.php on line 62
[26-Nov-2022 21:31:44 UTC] PHP Warning: dir(/home/terryl/public_html/crm/cache/upgrades/temp/tbTEoO/scripts/files_to_add_post/themes/): failed to open dir: No such file or directory in /home/terryl/public_html/crm/include/dir_inc.php on line 62
[26-Nov-2022 21:31:48 UTC] PHP Warning: include(upload://upgrades/patch/SuiteCRM-Upgrade-7.12.x-to-7.12.8-restore/include/modules.php): failed to open stream: “UploadStream::stream_open” call failed in /home/terryl/public_html/crm/modules/UpgradeWizard/uw_utils.php on line 3643
[26-Nov-2022 21:31:48 UTC] PHP Warning: include(): Failed opening ‘upload://upgrades/patch/SuiteCRM-Upgrade-7.12.x-to-7.12.8-restore/include/modules.php’ for inclusion (include_path=’/home/terryl/public_html/crm:/home/terryl/public_html/crm/include/…:.:/opt/alt/php74/usr/share/pear’) in /home/terryl/public_html/crm/modules/UpgradeWizard/uw_utils.php on line 3643
[26-Nov-2022 21:31:48 UTC] PHP Notice: Undefined variable: moduleList in /home/terryl/public_html/crm/modules/UpgradeWizard/uw_utils.php on line 3644
[26-Nov-2022 21:31:48 UTC] PHP Notice: Undefined index: additional_step in /home/terryl/public_html/crm/modules/UpgradeWizard/index.php on line 502
[26-Nov-2022 21:31:50 UTC] PHP Notice: Undefined index: additional_step in /home/terryl/public_html/crm/modules/UpgradeWizard/index.php on line 502
[26-Nov-2022 21:32:02 UTC] PHP Warning: file_put_contents(cache/modules/Schedulers/lastrun): failed to open stream: No such file or directory in /home/terryl/public_html/crm/include/SugarQueue/SugarCronJobs.php on line 119
[26-Nov-2022 22:04:13 UTC] PHP Notice: Undefined index: ext2 in /home/terryl/public_html/crm/include/InlineEditing/InlineEditing.php on line 521
[26-Nov-2022 22:04:23 UTC] PHP Notice: Undefined index: ext2 in /home/terryl/public_html/crm/include/InlineEditing/InlineEditing.php on line 521
I decided to cancel the the upgrade-wizard. All seems to still run fine, but strangely the ‘ABOUT’ information shows;
Version 7.12.8
Sugar Version 6.5.25 (Build 344)
Did it upgrade after all ??? I don’t think so, not without issues anyway.
Any ideas as to what’s going on here please?