POST UPGRADE FAILED from 9.0.2 to 9.0.3

Hi All, 

I've recently upgraded my onsite installation SugarPRO from 9.0.2 to 9.0.3. I've tested the upgrade in a dev env and everything works fine. 

In production environment the post upgrade failed with a Notice php error and stopped the upgrade process. So I tried to rebuil config.php and did a quick rebuild and repair. 
The platform seems stable but non admin users could not log into anymore. Apache error log tells "Failed opening required 'modules/pmse_Inbox/engine/PMSEEngineUtils.php'" called by include/utils/autoloader.php on line 355,

It seems that this reuired is related to class-map and even clearing cache by deleting the class-map.php file doesn't solve the problem.

Any suggestion? Pmse module is related to workflof that are deprecated so i tried to delete the only one workflow present in the system but it doesn't work yet. 

Any suggestion?

Thanks in advance.

Regards,

Parents
  • Check your file permissions on the file it failed to open.

    I often use the following three commands from Sugar Root to set all directories to 775 and all files to 664 and give ownership to apache.

    sudo chown -R  apache:apache *

    sudo find . -type d -exec chmod 775 {} \;

    sudo find . -type f -exec chmod 664 {} \;

  • Hi Francesca, 

    thank you for your reply. The problem is not in file permissions because the file Sugar look for doesn't exists. The module involved, pmse_Inbox, is related to Process Management module that is not present in PRO version. 

    The issue is related to the type of sugar user: single users have problems to log into the platform, admin users have not.

    It seems like there are a currupted class_map file that require this module even if there isn't any file il place. 
    I think that the problem is related to the error I had upgrading the system that doesn't clean well the configuration file after upgrading, but I don't know how to manually clean and how to manually complete the post install phase.

    Regards,

Reply
  • Hi Francesca, 

    thank you for your reply. The problem is not in file permissions because the file Sugar look for doesn't exists. The module involved, pmse_Inbox, is related to Process Management module that is not present in PRO version. 

    The issue is related to the type of sugar user: single users have problems to log into the platform, admin users have not.

    It seems like there are a currupted class_map file that require this module even if there isn't any file il place. 
    I think that the problem is related to the error I had upgrading the system that doesn't clean well the configuration file after upgrading, but I don't know how to manually clean and how to manually complete the post install phase.

    Regards,

Children
  • Sorry for misunderstanding the issue Federico.

    It looks like the classmap you see in your cache comes from: 

    vendor/composer/autoload_classmap.php

     

    I would compare the vendor/composer/autoload_classmap.php in your development and production environment and see if there are any differences.
    If all else fails try to comment out the entry for the PMSEEngineUtils.php and see if that works.

    Then report your findings to Sugar Support.

     

    Sorry I'm not much help on this, good luck!

    Francesca