by eggsurplus

Control what your users can access and save time, money, and frustrations. Lock down sensitive data in SugarCRM or 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.

Free Trial

By clicking you consent to share your profile with the developer

#3073 - Module Loader shows second Security Suite module!

Closed Bug? created by it12 7 years ago
Dear Sirs, I have recently upgraded SuiteCRM to version 7.8.2 and noticed that there are 2 modules of SuiteCRM inside of Module Loader. I upgraded the system to version 2.9.6 and the one instance is showing with proper buttons for Uninstall and Disable and the other one is showing 2.9.4 without buttons to remove or disable it. Now, it appears that Security Suite is working, I did all 'Repair rebuild and repair roles features" but there is annoying message that "Security Suite will not work correctly until updated to 6.5.24" in the top corner. How can I fix this? Thank you very much.
  1. it12 member avatar

    it12

    7 years ago

    Additionaly, this is error I get when I turn on display errors in php.ini:

    ups_acl_rolesMetaData.php): failed to open stream: No such file or directory in D:\inetpub\wwwroot\suitecrm1\modules\TableDictionary.php on line 125
    
    Warning: include(): Failed opening 'metadata/securitygroups_acl_rolesMetaData.php' for inclusion (include_path='D:\inetpub\wwwroot\suitecrm1\include\HTMLPurifier/standalone;D:\inetpub\wwwroot\suitecrm1\include/..;.;C:\php\pear') in D:\inetpub\wwwroot\suitecrm1\modules\TableDictionary.php on line 125
    
    Warning: include(metadata/securitygroups_defaultsMetaData.php): failed to open stream: No such file or directory in D:\inetpub\wwwroot\suitecrm1\modules\TableDictionary.php on line 126
    
    Warning: include(): Failed opening 'metadata/securitygroups_defaultsMetaData.php' for inclusion (include_path='D:\inetpub\wwwroot\suitecrm1\include\HTMLPurifier/standalone;D:\inetpub\wwwroot\suitecrm1\include/..;.;C:\php\pear') in D:\inetpub\wwwroot\suitecrm1\modules\TableDictionary.php on line 126
    
    Warning: include(metadata/securitygroups_recordsMetaData.php): failed to open stream: No such file or directory in D:\inetpub\wwwroot\suitecrm1\modules\TableDictionary.php on line 127
    
    Warning: include(): Failed opening 'metadata/securitygroups_recordsMetaData.php' for inclusion (include_path='D:\inetpub\wwwroot\suitecrm1\include\HTMLPurifier/standalone;D:\inetpub\wwwroot\suitecrm1\include/..;.;C:\php\pear') in D:\inetpub\wwwroot\suitecrm1\modules\TableDictionary.php on line 127
    
    Warning: include(metadata/securitygroups_usersMetaData.php): failed to open stream: No such file or directory in D:\inetpub\wwwroot\suitecrm1\modules\TableDictionary.php on line 128
    
    Warning: include(): Failed opening 'metadata/securitygroups_usersMetaData.php' for inclusion (include_path='D:\inetpub\wwwroot\suitecrm1\include\HTMLPurifier/standalone;D:\inetpub\wwwroot\suitecrm1\include/..;.;C:\php\pear') in D:\inetpub\wwwroot\suitecrm1\modules\TableDictionary.php on line 128
    
  2. eggsurplus member avatar

    eggsurplus Provider Affiliate

    7 years ago

    The warnings lead me to believe that you have file permission issues since the upgrade. Especially if those files in the error in fact do exist. This script can be a useful guide: https://shanedowling.com/sugarcrm-permissions-script

    As far as your "Security Suite will not work correctly until updated to 6.5.24" message, have you installed the 7.8.2 version of SecuritySuite yet since the upgrade? If not, please do that as a new version of SecuritySuite must be installed after every SuiteCRM upgrade. This download will be available in your purchases here: https://www.sugaroutfitters.com/orders. If you have installed it already then permissions caused the config.php or config_override.php to not write correctly. Please update the securitysuite_version in config_override.php to 6.5.24:

    $sugar_config['securitysuite_version'] = '6.5.24';
    
  3. it12 member avatar

    it12

    7 years ago

    Hello,

    Thank you for your input. Line that I've added in config_override.php removed the message, but still there is a problem with file permissions as you said. I can't seem to uninstall Security Suite, even though button is there.

    Error code:

    Specified directory '' for zip file 'upload/upgrades/module/SuiteCRM_7.8.2_SecuritySuite_Full-Edition_v2.9.6.zip' extraction does not exist.
    

    Since this copy is running on IIS Server, I have added complete permissions for user "IUSR_[computerName]" at the root of the main SuiteCRM folder or "d:\inetpub\wwwroot\suitecrm" to be more precise. I went also to advanced permission settings and set that all child object inherit new permissions from IUSR_[computerName] for files and folders. Nothing works, tried to disable Windows firewall, still no results. This is all after upgrade to 7.8.2

    The other steps that I've did were to rebuild config.php, set upload folder in "php.ini" to folder outside of CRM and still nothing, I can't uninstall and cannot upload new module.

    Best Regards,

    Slaven.

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      7 years ago

      I would suggest not uninstalling and focus on getting the 7.8.2 package of SecuritySuite to upload. Does the /upload/upgrades/module directory exist? If so, permissions is preventing Module Loader from being able to upload the zip to that directory or it is getting to that directory, but cannot unzip the package once uploaded.

    • it12 member avatar

      it12

      7 years ago

      Hi Jason,

      I managed to fix permission problem. Under IIS web server 7.0 you have to create additional user, add it to a group IIS_IUSRS and then set application pool for particular web site to login as specific user instead of pass through user (service).

      However, small issue still exists, Security Suite 2.9.6 is installed now and roles are repaired, but 2.9.4a still exists as second module and I can't removed it at all. There are no uninstall or disable buttons.

      Best Regards,

      Slaven.

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      7 years ago

      That's great! Nice find.

      Not much can be done about the 2nd installation in Module Loader without going to the code and data for how Module Installer works when this happens. It won't harm anything to have it display in Module Loader. I suggest just leaving it be.

      I'll close this case out for now. Great find and thanks for sharing the solution.

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
Rating
  • "I can say that it has been one of the best modules within our SugarCRM CE instance!"

    Read More Reviews