-
Upgrade
media_entity
to 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 mecu
to find out if your installation is ready to migrate themedia
module (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_paragraphs
andvarbase_carousels
i 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.module
by commenting line 275:Override::pluginClass($sources['oembed:video'], VarbaseMediaRemoteVideo::class);
-
Run
drush cr
-
Run
drush updb
, and your project will be migrated frommedia_entity
tomedia
core! (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.php
and add:ini_set('memory_limit', '-1');
-
Run a full upgrade by updating your
composer.json
and runningcomposer update
(deletevendor
andcomposer.lock
) -
Re-install
panelizer
module -
Run
drush cr
-
Run
drush updb
-
Run test to make sure everything is working and all your patches are migrated (
acquia_search
for me) . Disablemedia_entity
,memedia_entity_actions
,media_entity_generic
andpanelizer
-
Get yourself a 🍺👍
Congratz you should be running on your new and shinning installation using Media
core.