by eggsurplus

Control what your users can access and save time, money, and frustrations. Lock down sensitive data in SuiteCRM to specific groups or teams. Supports unlimited assigned users, unlimited group assignments to records, custom layouts for each group, login/sudo capabilities and much more.

Cancel at any time!
Free Trial

#460 - Install Error

Closed Bug? created by drichardson Verified Purchase 7 years ago

I just installed SecuritySuite 7.9.1 and it will not allow me to log into my site. Error http 500.

  1. eggsurplus member avatar

    eggsurplus Provider Affiliate

    7 years ago

    Hello,

    When this happens it means that file permissions caused the SuiteCRM installer to not be able to copy the files over as needed. First step is to get those files over manually in this case. First, correct the file permissions. This is a helpful script to do so: https://shanedowling.com/sugarcrm-permissions-script/. You may also need to tweak your server's default permission config depending on your OS. If you have a backup of your CRM I would suggest rolling back. If not, unzip the SecuritySuite installer and copy over the /install_dir/notupgradesafe files into your root SuiteCRM directory.

    You may need to reset permissions again after doing that. After all this is set run in the SecuritySuite install again so that all scripts run as needed and all other files are copied over.

  2. miklospal member avatar

    miklospal

    7 years ago

    Same here, nothing works, crm is dead. Thank you, eggsurplus

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      7 years ago

      This is never fun when it happens. I've been there in the past myself and know how that feels to be in that position when SuiteCRM crashes after an install. To be clear, this isn't SecuritySuite at fault. This is a shortcoming of SuiteCRM installations in general.

      When Module Loader goes to install a module it attempts to upload the zip file. This is the first point of potential failure. If your permissions aren't set correctly on the server the zip won't upload properly, but Module Loader will think it has.

      The second point of failure is when Module Loader copy files from that zip to the correct spot in SuiteCRM. This is where the 500 errors come in. If Module Loader cannot copy the files due to permissions or it copies them, but they inherit the wrong permissions then SuiteCRM fails.

      And it fails miserably.

      However, it is all recoverable. To get back up immediately take a fresh SuiteCRM copy that is the same version of your SuiteCRM. Then copy the following directories over to your live install:

      • /data
      • /include
      • /jssource
      • /modules
      • /soap

      This should get you back from 500. If not, do the following step (which you should do even if it is working again).

      Fix the permissions on the server. There is a nice script here that can help with that: http://shanedowling.com/sugarcrm-permissions-script/.

      If you get it back working you MAY STILL have issues if you install via Module Loader. The reason could be due to certain operating systems that just won't inherit permissions as needed. In that case, there is a default_permissions configuration in your SuiteCRM's config.php. There is info on the web on how to set that if you are in that case.

      I hope all of this helps. It's never fun to deal with.

    • miklospal member avatar

      miklospal

      7 years ago

      Hi! Thanks for quick answer. It worked. Sorry, i am new to this stuff (scrm and all the zend framework), so i did not know, how to restore it. I set the permissions. I tried the newest version, but did not work again. So i tried the latest full edition and everything went ok.

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      7 years ago

      Not a problem! One thing to note that is specific to SecuritySuite, be sure to install the zip file that contains the version of SuiteCRM that you are currently on. Also, whenever you upgrade SuiteCRM be sure to then install the matching SecuritySuite version immediately after.

      I'll close this case out for now, but feel free to follow up if anything else arises.

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
  • "The add-on itself was already a must for my SuiteCRM, which was missing this very important security feature. However, what surprised me the most was ..." - Davint

    Read More Reviews