Blank screen when trying the Upgrade Wizard

Hello,

When I click on the Upgrade Wizard, I am getting a blank screen. My error.log has the following entries. Any ideas? I can’t upgrade to 7.1 without this working. :frowning:

[Thu Apr 03 09:39:53 2014] [error] [client] PHP Notice: Undefined index: current_db_version in /var/www/sugarcrm/modules/UpgradeWizard/end.php on line 238, referer: https://testcrm.isis.org/index.php?module=Administration&action=index
[Thu Apr 03 09:39:53 2014] [error] [client] PHP Notice: Undefined index: current_db_version in /var/www/sugarcrm/modules/UpgradeWizard/end.php on line 247, referer: https://testcrm.isis.org/index.php?module=Administration&action=index
[Thu Apr 03 09:39:58 2014] [error] [client] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 30720 bytes) in /var/www/sugarcrm/cache/modules/Bugs/language/en_us.lang.php on line 68, referer: https://testcrm.isis.org/index.php?module=Administration&action=index

Hi there,

Please check the permissions on your SuiteCRM instance.

Thanks,

Will.

Hi,

Having same error. Migration from SugarCRM 6.5.20 to SuiteCRM 7.1.6 works fine. But Upgrade Wizard, after a while, returns a blank page. Apache error.log returns: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 30720 bytes) in /var/www/crm/cache/modules/Contacts/language/en_US.lang.php on line 68, referer: http://canopus.vectorconsulting.com.br/crm/index.php?module=Administration&action=index.

As suggested I revise all permissions as per installations instructions. Any hits to Upgrade Wizard works?

Regards,

Hello,
I had the same problem with SuiteCRM 7.2.1 and I moved the folder /var/www/[SuiteCRM folder/cache/upgrades to /var/www/[SuiteCRM folder/cache/upgradesX and now it works!
Hope it can help.
Stéphane

3 Likes

Thanks, working now!

Hello Stephan,

I have a similair problem. Also a blanc screen.
I do not understand your suggestion.
You wrote :

I had the same problem with SuiteCRM 7.2.1 and I moved the folder /var/www/[SuiteCRM folder/cache/upgrades to /var/www/[SuiteCRM folder/cache/upgradesX and now it works!

Did you make made a new folder with the name UpgradeX? of Just a rename of the old folder ? I have a blanc screen after uploading the upgrade file. Cannot fix it!

Thanx in advance.

Cees

I’ve read through this and tried all the suggestions but I still have a broken production CRM.
I upgraded from SugarCE6.5.2-> SuiteCRM 7.1
I set all permissions to 755 except cache custom modules themes data upload config_override.php to 775
I deleted everything in my upgrade directory.
I increased max_execution_time to 300

When I try to open the upgrade wizard (to upgrade SuiteCRM to the newest version) I get an Internal Server error.
:frowning:
My php error log and sugarcrm.log are empty.

Apache error_log:
mod_fcgid: read data timeout in 300 seconds, referer: https://crm.xxxxxx.com/index.php?module=Administration&action=index
Premature end of script headers: index.php, referer: https://crm.xxxxxx.com/index.php?module=Administration&action=index
File does not exist: /home/xxxxxx/public_html/crm/500.shtml, referer: https://crm.xxxxxx.com/index.php?module=Administration&action=index

Nothing should take 300 seconds.

In the install log:
Query Failed:
…Table ‘xxxxxx_sugar.aos_pdf_templates’ doesn’t exist
… Table ‘xxxxxx_sugar.securitygroups_users’ doesn’t exist
… Table ‘xxxxxx_sugar.aor_fields’ doesn’t exist
…Missing relationship definition fp_events_leads_1. skipping fp_events_leads_1 subpanel
…Missing relationship definition securitygroups_leads. skipping securitygroups subpanel

In my case it worked by setting permissions - sudo chmod -R 755 /var/www/directoryofthefile

I renamed the upgrade_progress.php file in the cache upgrades directory and this solved my problem.

1 Like

for me
[Wed Jul 28 13:33:17.382444 2021] [php7:error] [pid 29775] [client 37.173.XX.XX:6572] PHP Fatal error: Cannot use result of built-in function in write context in /var/www/html/sugarsuite/include/pclzip/pclzip.lib.php on line 475, referer: http://51.158.XX.XX/sugarsuite/index.php?module=Administration&action=index

so install

apt install php7.3-zip