PHP Version 7.1.30-1+ubuntu18.04.1+deb.sury.org+1
- opcache (disabled via php.ini for upgrade)
Some Relevant Config
I created 2 test hosts to test upgrade to SuiteCRM 7.10.17 and 7.11.5 respectively. I did get the 7.10.17 to upgrade though it was very buggy until I did every repair possible, ran it in development mode, did a composer update, and danced a jig. The upgrade to 7.11.5 did not fare well.
My first upgrade attempt, it failed partway through with an error very similar to the following. Note that I get this error when entering the Upgrade screen and during preflight check. I did make it go away once with a composer update but it still came back during the actual upgrade process.
[Thu Jun 27 19:58:06.781288 2019] [proxy_fcgi:error] [pid 80508:tid 140227149645568] [client 127.0.0.1:23934] AH01071: Got error 'PHP message: PHP Warning: include_once(/var/www/crm11.example.com/modules/UpgradeWizard/../../include/Imap/ImapHandlerFactory.php): failed to open stream: No such file or directory in /var/www/crm11.example.com/modules/UpgradeWizard/uw_utils.php on line 45\nPHP message: PHP Warning: include_once(): Failed opening '/var/www/crm11.example.com/modules/UpgradeWizard/../../include/Imap/ImapHandlerFactory.php' for inclusion (include_path='/var/www/crm11.example.com:/var/www/crm11.example.com/include/HTMLPurifier/standalone:/var/www/crm11.example.com/include/..:.:/usr/share/php') in /var/www/crm11.example.com/modules/UpgradeWizard/uw_utils.php on line 45\n', referer: https://crm11.example.com/index.php?module=Administration&action=index
If I continue with the upgrade anyways, it fails part way through with the same error and a blank screen.
Before upgrade I have:
Ensured all permissions are set as,
sudo chown -R www-data:www-data . sudo chmod -R 755 . sudo chmod -R 775 cache custom modules themes data upload
sudo -u www-data composer update --no-dev --no-interaction --no-progress
I also tried rebuilding the upgrades folder by removing the upload/upgrades folder first.
Nothing seems to get rid of the problem and I am really out of ideas for things to try save for test the upgrade on a different web server.
I would be most grateful for any help and ideas.