I am suspecting this is due to the installation of upgrade patch in Module Loader. This is because initially I started the upgrade wizard and did the system check. I remembered seeing the Next button. Then I recall that I need to install the patch first.
After installing the patch, I started the upgrade wizard again. Now, the Next button is missing after system check.
There is no error message in suitecrm.log, php error_log and web server log.
Tue, 16 Jun 2020 10:08:34 +0000 [UpgradeWizard] - setting session variables...
Tue, 16 Jun 2020 10:08:34 +0000 [UpgradeWizard] - -----------------------------------------------------------------------------
Tue, 16 Jun 2020 10:08:34 +0000 [UpgradeWizard] - Upgrade started. At start.php
Tue, 16 Jun 2020 10:08:34 +0000 [UpgradeWizard] - at unlinkUWTempFiles()
Tue, 16 Jun 2020 10:08:34 +0000 [UpgradeWizard] - finished!
Tue, 16 Jun 2020 10:08:34 +0000 [UpgradeWizard] - resetting $_SESSION
Tue, 16 Jun 2020 10:08:36 +0000 [UpgradeWizard] - setting session variables...
Tue, 16 Jun 2020 10:08:36 +0000 [UpgradeWizard] - [At systemCheck.php]
Tue, 16 Jun 2020 10:08:36 +0000 [UpgradeWizard] - Starting file permission check...
Tue, 16 Jun 2020 10:08:38 +0000 [UpgradeWizard] - Finished file permission check.
Tue, 16 Jun 2020 10:08:38 +0000 [UpgradeWizard] - Starting database permissions check...
Tue, 16 Jun 2020 10:08:38 +0000 [UpgradeWizard] - Checking CREATE TABLE permissions...
Tue, 16 Jun 2020 10:08:38 +0000 [UpgradeWizard] - Checking INSERT INTO permissions...
Tue, 16 Jun 2020 10:08:38 +0000 [UpgradeWizard] - Checking UPDATE TABLE permissions...
Tue, 16 Jun 2020 10:08:38 +0000 [UpgradeWizard] - Checking SELECT permissions...
Tue, 16 Jun 2020 10:08:38 +0000 [UpgradeWizard] - Checking DELETE FROM permissions...
Tue, 16 Jun 2020 10:08:38 +0000 [UpgradeWizard] - Checking ALTER TABLE ADD COLUMN permissions...
Tue, 16 Jun 2020 10:08:38 +0000 [UpgradeWizard] - Checking ALTER TABLE CHANGE COLUMN permissions...
Tue, 16 Jun 2020 10:08:38 +0000 [UpgradeWizard] - Checking ALTER TABLE DROP COLUMN permissions...
Tue, 16 Jun 2020 10:08:38 +0000 [UpgradeWizard] - Checking DROP TABLE permissions...
Tue, 16 Jun 2020 10:08:38 +0000 [UpgradeWizard] - No permissions errors found!
Tue, 16 Jun 2020 10:08:38 +0000 [UpgradeWizard] - Finished database permissions check.
The log looks OK. I have also tried setting the permissions for the files and folders again by executing these commands. The outcome is still the same.
I also tried to upgrade without installing the patch. But the upgrade process did not complete and jumped to home page after executing preflight check. Second attempt stopped at a blank page.
So I definitely need the patch for fixing the upgrade process.
Make sure you clear cache/upgrades/temp every single attempt you make at the upgrade.
The patch only does one thing: it replaces a bunch of files in modules/UpgradeWizard. if you open the patch file in a ZIP extractor you can see the files there:
I don’t know what the bug is, but you could experiment by passing those files along one by one, to see which one causes the bug…
If for whatever reason you get the blank page, check if the reload button is spinning, if so leave it be. When the spinning stops or you get an error, if not redirected, press home, admin and try to reenter the upgrade wizard, you may get stuck on loading the page. Leave it to load as when it does you may have successfully completed the upgrade
I’m afraid I can’t reproduce the bug here. It works fine for me.
I’ve been looking at the code and I can’t see a way for the message “All files writable” to appear, while simultaneously not activating the Next button…
It’s a simple patch, you can replace the 6 files with previous versions. You can get them from one of your backups, or from GitHub, or from a previous SuiteCRM package.