White Screen while System Check when trying to upgrade

Sorry for the nit-picking, but did you check with Admin / Diagnostics / phpinfo like I asked, or did you run phpinfo from a command-line? I ask because the settings can be different from web server vs CLI.

Other than that: if you go in the “About” screen (from top-right menu in SuiteCRM) do you see the new version or the old?

yes sure, I backed up everything before

I’m not quite sure what you mean.
Here’s what I did:
I created a file with:
<?php
phpinfo();
?>
uploaded it and opened it. The settings were like I posted.

The about screen shows the old version. Like I said, the process stops already at the first bullet point in upgrade wizard (system check).

Try deleting cache/upgrades/temp directory and restarting the upgrade.

unfortunately this didn’t work

I doublred checked permissions and had a look in log-files. Sugarcrmlog is empty. UpgradeWizardLog shows the following:

Thu, 16 Jul 2020 10:39:36 +0200 [UpgradeWizard] - Upgrade started. At start.php
Thu, 16 Jul 2020 10:39:36 +0200 [UpgradeWizard] - at unlinkUWTempFiles()
Thu, 16 Jul 2020 10:39:36 +0200 [UpgradeWizard] - finished!
Thu, 16 Jul 2020 10:39:36 +0200 [UpgradeWizard] - resetting $_SESSION
Thu, 16 Jul 2020 10:39:38 +0200 [UpgradeWizard] - setting session variables...
Thu, 16 Jul 2020 10:39:38 +0200 [UpgradeWizard] - [At systemCheck.php]
Thu, 16 Jul 2020 10:39:38 +0200 [UpgradeWizard] - Starting file permission check...
Thu, 16 Jul 2020 10:41:29 +0200 [UpgradeWizard] - Finished file permission check.
Thu, 16 Jul 2020 10:41:29 +0200 [UpgradeWizard] - Starting database permissions check...
Thu, 16 Jul 2020 10:41:29 +0200 [UpgradeWizard] - Checking CREATE TABLE permissions...
Thu, 16 Jul 2020 10:41:29 +0200 [UpgradeWizard] - Checking INSERT INTO permissions...
Thu, 16 Jul 2020 10:41:29 +0200 [UpgradeWizard] - Checking UPDATE TABLE permissions...
Thu, 16 Jul 2020 10:41:29 +0200 [UpgradeWizard] - Checking SELECT permissions...
Thu, 16 Jul 2020 10:41:29 +0200 [UpgradeWizard] - Checking DELETE FROM permissions...
Thu, 16 Jul 2020 10:41:29 +0200 [UpgradeWizard] - Checking ALTER TABLE ADD COLUMN permissions...
Thu, 16 Jul 2020 10:41:29 +0200 [UpgradeWizard] - Checking ALTER TABLE CHANGE COLUMN permissions...
Thu, 16 Jul 2020 10:41:29 +0200 [UpgradeWizard] - Checking ALTER TABLE DROP COLUMN permissions...
Thu, 16 Jul 2020 10:41:29 +0200 [UpgradeWizard] - Checking DROP TABLE permissions...
Thu, 16 Jul 2020 10:41:29 +0200 [UpgradeWizard] - No permissions errors found!
Thu, 16 Jul 2020 10:41:29 +0200 [UpgradeWizard] - Finished database permissions check.

:point_up: always repeat this before retries

Did you notice in the Release Notes, there is a link to a small package that should be uploaded in Module Loader? Did you try using that?

Yes I did do this every time.
You mean this upgrade patch.zip?

I did this just now. But it only changed the time that the upgrade wizard needs to get stucked from ~30sec to 2sec at the same point with the same symtoms as before. Hardly a improvement :smiley:

Review your logs again, to see if anything changed with the new package.

If you don’t have clues, I would really try getting the PHP logs from your provider.

Nothing changed in any log.
Php error lgo is empty.
What I did to get it:
I added

php_flag  log_errors on
php_value error_log  /path/php.log

to .htaccess as suggested by provider (hetzner)
but php.log (664) stays empty…

I’m sorry, I’m running out of ideas… I don’t know what more to suggest, other than connecting a debugger and stepping through the code to see where it breaks…

If you can put following lines in you index.php

error_log(-1);
ini_set('display_errors',1);

Do you see any Errors after this?

1 Like

holy s**t finally some progress :smiley:
This is what I get from php error log now:

[19-Jul-2020 17:53:24 Europe/Berlin] PHP Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/data/SugarBean.php on line 2058
[19-Jul-2020 17:53:24 Europe/Berlin] PHP Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/data/SugarBean.php on line 2072
[19-Jul-2020 17:53:25 Europe/Berlin] -1
[19-Jul-2020 17:53:26 Europe/Berlin] -1
[19-Jul-2020 17:53:27 Europe/Berlin] PHP Fatal error: Uncaught Error: Call to undefined method SugarTheme::getMimeType() in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/include/SugarTheme/getImage.php:82
Stack trace:
#0 /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/include/MVC/preDispatch.php(52): include()
#1 /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/index.php(45): include(’/usr/www/users/…’)
#2 {main}
thrown in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/include/SugarTheme/getImage.php on line 82
[19-Jul-2020 17:53:29 Europe/Berlin] -1
[19-Jul-2020 17:53:29 Europe/Berlin] -1
[19-Jul-2020 17:53:30 Europe/Berlin] PHP Fatal error: Uncaught Error: Call to undefined method SugarTheme::getMimeType() in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/include/SugarTheme/getImage.php:82
Stack trace:
#0 /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/include/MVC/preDispatch.php(52): include()
#1 /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/index.php(45): include(’/usr/www/users/…’)
#2 {main}
thrown in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/include/SugarTheme/getImage.php on line 82
[19-Jul-2020 17:53:32 Europe/Berlin] -1
[19-Jul-2020 17:53:33 Europe/Berlin] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/cache/smarty/templates_c/%%F5^F56^F562D944%%_headerModuleList.tpl.php on line 224
[19-Jul-2020 17:53:33 Europe/Berlin] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/cache/smarty/templates_c/%%F5^F56^F562D944%%_headerModuleList.tpl.php on line 558
[19-Jul-2020 17:53:33 Europe/Berlin] -1
[19-Jul-2020 17:53:34 Europe/Berlin] PHP Fatal error: Uncaught Error: Call to undefined method SugarTheme::getMimeType() in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/include/SugarTheme/getImage.php:82
Stack trace:
#0 /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/include/MVC/preDispatch.php(52): include()
#1 /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/index.php(45): include(’/usr/www/users/…’)
#2 {main}
thrown in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/include/SugarTheme/getImage.php on line 82
[19-Jul-2020 17:53:34 Europe/Berlin] PHP Fatal error: Uncaught Error: Call to undefined method SugarTheme::getMimeType() in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/include/SugarTheme/getImage.php:82
Stack trace:
#0 /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/include/MVC/preDispatch.php(52): include()
#1 /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/index.php(45): include(’/usr/www/users/…’)
#2 {main}
thrown in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/include/SugarTheme/getImage.php on line 82
[19-Jul-2020 17:53:34 Europe/Berlin] -1
[19-Jul-2020 17:53:45 Europe/Berlin] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/cache/smarty/templates_c/%%F5^F56^F562D944%%_headerModuleList.tpl.php on line 29
[19-Jul-2020 17:53:45 Europe/Berlin] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/cache/smarty/templates_c/%%F5^F56^F562D944%%_headerModuleList.tpl.php on line 224
[19-Jul-2020 17:53:45 Europe/Berlin] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/cache/smarty/templates_c/%%F5^F56^F562D944%%_headerModuleList.tpl.php on line 558
[19-Jul-2020 17:53:46 Europe/Berlin] PHP Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/modules/AOW_WorkFlow/aow_utils.php on line 956
[19-Jul-2020 17:53:46 Europe/Berlin] PHP Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/modules/AOW_WorkFlow/aow_utils.php on line 969
[19-Jul-2020 17:53:46 Europe/Berlin] -1
[19-Jul-2020 17:53:47 Europe/Berlin] -1
[19-Jul-2020 17:53:48 Europe/Berlin] PHP Fatal error: Uncaught Error: Call to undefined method SugarTheme::getMimeType() in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/include/SugarTheme/getImage.php:82
Stack trace:
#0 /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/include/MVC/preDispatch.php(52): include()
#1 /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/index.php(45): include(’/usr/www/users/…’)
#2 {main}
thrown in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/include/SugarTheme/getImage.php on line 82
[19-Jul-2020 17:53:50 Europe/Berlin] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/cache/smarty/templates_c/%%F5^F56^F562D944%%_headerModuleList.tpl.php on line 29
[19-Jul-2020 17:53:50 Europe/Berlin] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/cache/smarty/templates_c/%%F5^F56^F562D944%%_headerModuleList.tpl.php on line 224
[19-Jul-2020 17:53:50 Europe/Berlin] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/cache/smarty/templates_c/%%F5^F56^F562D944%%_headerModuleList.tpl.php on line 558
[19-Jul-2020 17:53:50 Europe/Berlin] PHP Warning: include_once(/usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/modules/UpgradeWizard/…/…/include/Imap/ImapHandlerFactory.php): failed to open stream: No such file or directory in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/modules/UpgradeWizard/uw_utils.php on line 45
[19-Jul-2020 17:53:50 Europe/Berlin] PHP Warning: include_once(): Failed opening ‘/usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/modules/UpgradeWizard/…/…/include/Imap/ImapHandlerFactory.php’ for inclusion (include_path=’/usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622:/usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/include/HTMLPurifier/standalone:/usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/include/…:.:/usr/local/lib/php/’) in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/modules/UpgradeWizard/uw_utils.php on line 45
[19-Jul-2020 17:53:50 Europe/Berlin] -1
[19-Jul-2020 17:53:50 Europe/Berlin] -1
[19-Jul-2020 17:53:50 Europe/Berlin] PHP Fatal error: Uncaught Error: Call to undefined method SugarTheme::getMimeType() in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/include/SugarTheme/getImage.php:82
Stack trace:
#0 /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/include/MVC/preDispatch.php(52): include()
#1 /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/index.php(45): include(’/usr/www/users/…’)
#2 {main}
thrown in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/include/SugarTheme/getImage.php on line 82
[19-Jul-2020 17:53:51 Europe/Berlin] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/cache/smarty/templates_c/%%F5^F56^F562D944%%_headerModuleList.tpl.php on line 29
[19-Jul-2020 17:53:51 Europe/Berlin] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/cache/smarty/templates_c/%%F5^F56^F562D944%%_headerModuleList.tpl.php on line 224
[19-Jul-2020 17:53:51 Europe/Berlin] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/cache/smarty/templates_c/%%F5^F56^F562D944%%_headerModuleList.tpl.php on line 558
[19-Jul-2020 17:53:51 Europe/Berlin] PHP Warning: include_once(/usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/modules/UpgradeWizard/…/…/include/Imap/ImapHandlerFactory.php): failed to open stream: No such file or directory in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/modules/UpgradeWizard/uw_utils.php on line 45
[19-Jul-2020 17:53:51 Europe/Berlin] PHP Warning: include_once(): Failed opening ‘/usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/modules/UpgradeWizard/…/…/include/Imap/ImapHandlerFactory.php’ for inclusion (include_path=’/usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622:/usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/include/HTMLPurifier/standalone:/usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/include/…:.:/usr/local/lib/php/’) in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/modules/UpgradeWizard/uw_utils.php on line 45
[19-Jul-2020 17:53:53 Europe/Berlin] PHP Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/data/SugarBean.php on line 2058
[19-Jul-2020 17:53:53 Europe/Berlin] PHP Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/data/SugarBean.php on line 2072
[19-Jul-2020 17:53:57 Europe/Berlin] PHP Fatal error: Uncaught Error: Class ‘ImapHandlerFactory’ not found in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/modules/UpgradeWizard/uw_utils.php:1175
Stack trace:
#0 /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/modules/UpgradeWizard/systemCheck.php(202): checkSystemCompliance()
#1 /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/modules/UpgradeWizard/index.php(292): require(’/usr/www/users/…’)
#2 /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/include/MVC/View/SugarView.php(777): include_once(’/usr/www/users/…’)
#3 /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/include/MVC/View/views/view.classic.php(74): SugarView->includeClassicFile(‘modules/Upgrade…’)
#4 /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/include/MVC/View/SugarView.php(196): ViewClassic- in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/modules/UpgradeWizard/uw_utils.php on line 1175
[19-Jul-2020 17:53:57 Europe/Berlin] -1
[19-Jul-2020 17:53:57 Europe/Berlin] PHP Fatal error: Uncaught Error: Call to undefined method SugarTheme::getMimeType() in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/include/SugarTheme/getImage.php:82
Stack trace:
#0 /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/include/MVC/preDispatch.php(52): include()
#1 /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/index.php(45): include(’/usr/www/users/…’)
#2 {main}
thrown in /usr/www/users/abiria/besprechungspause.de/public_html/suite_double/suite/sugar/SugarCE622/include/SugarTheme/getImage.php on line 82

I would focus on this message if I were you :point_up:

You can try applying this fix manually

although it should already be included with the package.

If you keep getting problems please state exactly which package you’re trying to apply.

I made the changes proposed by the github post.
However now I pass the system check but then the “next” button is missing

the only thing I could find about this was this post:


so I set all permissions again. However I don’t understand what is meant by resetting ownership to apache in this post since I don’t use apache. All my files are owner by the ftp user that I have from hetzner. It’s the same user that owns all files from the original suite installation that runs well (I obviously try to upgrade on a clone installation)

I think your owner is probably already correct.

We know there is a bug with the missing “Next” button in the Wizard, lots of people are getting it, but we stlll don’t know hoe to reproduce it. I think we need some more technical user to get the but so he/he can diagnose it fully.

Well my installation is doing this. How could I help doing some progress here?

Regarding my problem: Is there a way to get a fresh install of the newest version and feed it with all modules/settings/data that I’m using now?

Somebody (a developer) with Windows, a PHP debugger and getting this bug in a reproducible manner, needs to go through this and get to a more precise diagnosis. Other than that, I don’t have many ideas… :frowning: sorry

alright, thanks for your help so far :slight_smile: