The app breaks completely after upgrading a working 2.4.0 to 2.4.1 using instructions from https://devdocs.magento.com/guides/v2.4/comp-mgr/cli/cli-upgrade.html.
Steps:
composer require magento/product-community-edition 2.4.1 --no-update
composer update
rm -rf var/cache/*
rm -rf var/page_cache/*
rm -rf generated/code/*
bin/magento setup:upgrade
setup:upgrade
errors out with the following message, and the entire M2 instance (web and CLI) is broken.
Fatal error: Uncaught Error: Cannot instantiate interface Magento\MediaContentSynchronizationApi\Model\GetEntitiesInterface in /var/www/html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:50
Upon inspecting app/etc/di.xml
, I see no mapping for Magento\MediaContentSynchronizationApi\Model\GetEntitiesInterface
.
It seems to me the composer require and update does not update di.xml
correctly, but I'm not sure. Any idea how to upgrade to 2.4.1?