I updated my codebase to Lightning 2.2.7 (Drupal 8.4.4) and now when I run drush updb -y I get the following error:

Before continuing, please make sure all modules that provide plugins for Media Entity (or depend on it) have their code updated to their respective 2.x branches. Note that you will probably need to revert to the 1.x branch of the Media Entity module if you want to uninstall existing plugin modules. The following modules depend on media entity and need to be either upgraded or uninstalled: lightning_media.

I just checked another site that I upgraded a couple weeks ago and I had Lightning Media at 8.x-1.0-alpha1 and I didn't run into this (I had different errors). I did try to composer update acquia/lightning and then composer update drupal/core but I'm still seeing this issue.

Do I have to uninstall the lightning_media module?

Comments

albertski created an issue. See original summary.

albertski’s picture

Issue summary: View changes
albertski’s picture

Issue summary: View changes
albertski’s picture

Status: Active » Closed (works as designed)

I was able to figure out the issue.

I had lighting in the following locations:

web/profiles/lightning
web/profiles/contrib/lightning

Turns out the one at web/profiles/lightningwas an older version. Not sure how it was there. Perhaps because I started in the early release candidates.

I deleted the lightning located at web/profiles/lightning.