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
chgrp xxxx SuiteCRM -R
chown -R xxxx:xxxx SuiteCRM
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.
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.
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.
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
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.