500 error on Upgrade- commit upgrade step

I had a Installation of SuiteCRM version 7.6.9

I have a shared hosting so i cant use sudo commands, lets say my hosting login provided is “xxxx”

my CRM is unzipped inside a folder so destination of the file is “public_html/crm/SuiteCRM” (SuiteCRM being the unzipped folder)

I went into crm folder and used the following commands while installing

  1. chgrp xxxx SuiteCRM -R
  2. chown -R xxxx:xxxx SuiteCRM
  3. chmod -R 755

after this i went into the SuiteCRM folder and used the final command.
4. chmod -R 775 cache custom modules themes data upload config_override.php

All Permissions were correct (had double checked) then i had installed.

Now after some time i decided to upgrade this to version 7.7.7

i went into the upgrade wizard and uploaded the correct upgrade zip file.
It performed a check and then on clicking next copied new filed.

When it was turn to commit upgrades. I clicked next it took about 30 seconds and then showed 500 Error.
After this i reloaded the page. It loaded to my home page(index.php)

Now when i go to upgrade wizard it does not open and shows 500 Internal Error directly.

Please guide on what i did wrong as it shows my version is now 7.7.7 but future upgrade is not possible anymore and i am not sure if all the features of the upgrade were installed properly.

try to reapply the permissions

Hello,

The re-assigning of Permissions did not help at all. Its still the same problem.

try to ask your hosting company to share with your your weberver’s logs, and also you can check at SuiteCRM’s logs

best regards

Hello,

Thanks for your reply, i checked my error logs as soon as i clicked on Upgrade Wizard to see what the error is being generated.

I noticed that 2 error lines were generated as posted below.

[15-Nov-2016 10:33:34 UTC] PHP Notice: Undefined index: current_db_version in /home/xxxxxxxx/public_html/crm/SuiteCRM/modules/UpgradeWizard/end.php on line 197
[15-Nov-2016 10:33:34 UTC] PHP Notice: Undefined index: current_db_version in /home/xxxxxxxx/public_html/crm/SuiteCRM/modules/UpgradeWizard/end.php on line 207

So it seems due to these errors i am not able to move ahead with the Upgrade Process and cant complete it. All my Permissions are either 755 or 775 as needed leaving the 2755 or 2775 at places which is by default and the 2 should not make a difference as far as i know.

Kindly advice as to what should be done.

Normally, simple “PHP Notice” errors are a cause of concern. Maybe that’s not such a good clue (or maybe it is).

Upgrades sometimes fail simply because they run out of memory or because they exceed the maximum script execution time. This is especially true with shared hosting because these limits are usually stricter. You would need to ask them about this.

Thanks, it worked just fine and all worked well during upgrade.

I had a Installation of SugarCE Migration 6.x to Suite 7.6.6

After installation UpgradeWizard it show 500: Internal Error

Hi Darky, what did you do that fixed the 500 error and get back into the software? I am having the same issue after upgrading. Your feedback would be appreciated. Thanbks

HI Jess,

If i remember correctly i had renamed the temp Upgrade file which deletes it and creates a new one.
That way i was able to resume it. The solution was found in another thread Online but alas its been too long, but i will still try to find it for you.

https://suitecrm.com/forum/installation-upgrade-help/2332-upgrade-wizard-problem

This thread solves your problem, ultimately its a issue with permissions