trying to upgrade Sugarcrm Pro from v10.0.4 to v11.0.0. Failed opening URIScheme.php

I did

composer dump-autoload

composer install

before running CliUpgrader.php, but still getting this error


[Upgrader] - Add new OOTB scheduler job 'class::SugarJobProcessTimeAwareSchedules'

[Upgrader] - PHP: [2] include(/home/temp/code/sugarcrm11/sugarcrm/SugarPro/vendor/composer/../ezyang/
htmlpurifier/library/HTMLPurifier/URIScheme.php): failed to open stream: No such file or directory in
/home/temp/code/sugarcrm11/sugarcrm/SugarPro/vendor/composer/ClassLoader.php at 480

[Upgrader] - PHP: [2] include(): Failed opening '/home/temp/code/sugarcrm11/sugarcrm/SugarPro/vendor/
composer/../ezyang/htmlpurifier/library/HTMLPurifier/URIScheme.php' for inclusion (include_path='/home/
temp/code/sugarcrm11/sugarcrm/SugarPro:/home/temp/code/sugarcrm11/sugarcrm/SugarPro/vendor:.:/usr/share/php')
in /home/temp/code/sugarcrm11/sugarcrm/SugarPro/vendor/composer/ClassLoader.php at 480


Any ideas would be appreciated.
Thank you.
Parents
  • after copy all missing files in vendor and src, finally can make the upgrade to v11.0.0 success.

    But the problem is now all custom modular is gone, how can I fix it?



  • If you upgraded a copy of your SugarCRM with all your customizations in it, and your customizations were done following the upgrade safe rules, your custom modules should all still be there. I'm not sure why you would ever go back to the Module Loader after an Upgrade.

  • Hi Francesca,

    Thank you for your reply.

    Because it's my first time to do upgrade, so I am not sure if the custom module not showing in the module loader mean something go wrong on my upgrade.

    This is our custom module and our previous developer do the upgrade last year, all these custom module is still showing in the module loader.

    Anyway I can add these module back in the module loader?

    Thank you.

  • Since this is a onpremise by the looks of it can you verify the contents of the upgrade_history table in the database? If the table is empty verify in a backup if something got deleted between upgrades.

Reply
  • Since this is a onpremise by the looks of it can you verify the contents of the upgrade_history table in the database? If the table is empty verify in a backup if something got deleted between upgrades.

Children