-
Upgrade
media_entityto version 8.x-2.0-beta2 (supports drupal 5.x) -
Apply the patch undefined_function-2925498-2.patch found on https://www.drupal.org/project/media_entity/issues/2925498
-
Apply the patch core fails on absent column revision_uid found on https://www.drupal.org/project/media_entity/issues/2918172
-
Add the modules
media_entity_actions,media_entity_generic -
Run
drush mecuto find out if your installation is ready to migrate themediamodule (hint: it is not) -
Upgrade the modules as requested. In my case I upgreaded:
config_perms,video_embed_field,varbase_media,varbase_core,varbase_bootstrap_paragraphsandvarbase_carouselsi downloaded the newest 8.6x version of the varbase modules -
Update to the newest version of
varbase:8.6x -
Modify the file
docroot/modules/contrib/varbase_media/varbase_media.moduleby commenting line 275:Override::pluginClass($sources['oembed:video'], VarbaseMediaRemoteVideo::class); -
Run
drush cr -
Run
drush updb, and your project will be migrated frommedia_entitytomediacore! (I did not lose any data/configuration on first inspection). 10b. (Optional) If you are running a local instance with defaults you might exaust your memory. Go to yoursettins.phpand add:ini_set('memory_limit', '-1'); -
Run a full upgrade by updating your
composer.jsonand runningcomposer update(deletevendorandcomposer.lock) -
Re-install
panelizermodule -
Run
drush cr -
Run
drush updb -
Run test to make sure everything is working and all your patches are migrated (
acquia_searchfor me) . Disablemedia_entity,memedia_entity_actions,media_entity_genericandpanelizer -
Get yourself a 🍺👍
Congratz you should be running on your new and shinning installation using Media core.