When updating with drush from 8.2.7 to 8.3.0 I get the following error;

Failed: Drupal\Component\Plugin\Exception\PluginNotFoundException: The "entity_reference_image" plugin does not exist. i                               
Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 52 of
/home/<sitename>/public_html/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).

Does any one else get the same error?
I've tried to update it multiple times, but I get the same error all the time.
I updated all the modules from within drupal first, then ran the following:

  • drush sset system.maintenance_mode 1 drush cr
  • drush pm-update drupal

and then I get the error stated above. Extremely annoying.

Files: 
CommentFileSizeAuthor
#7 core.extension.yml2.38 KB5to1
#7 drush_debug.txt47.07 KB5to1

Comments

b0red created an issue. See original summary.

xjm’s picture

Hi b0red,

  • Are you running Drush 8.1.10? Earlier versions of drush have known bugs with updating Drupal 8 to 8.3.0. I'd update drush, restore your backup, and then try the update again.
  • Other users have also reported that they needed to run database updates more than once.
  • To help us debug this further, please provide your full list of installed modules by exporting your core.extension cofiguration, and also provide the full backtrace for the error message.

It sounds like something providing the entity_reference_image plugin in a previous release is not being found.

xjm’s picture

Status: Active » Postponed (maintainer needs more info)
Issue tags: -updating core, -8.2.7 to 8.3.0

Postponing on details from the reporter.

alexpott’s picture

It looks like the site had an early version of the File Browser module - it had an entity_reference_image plugin but has removed it. See http://cgit.drupalcode.org/file_browser/commit/?id=6e2e140 - Unfortunately it looks like they removed it and didn't provide an update path (as far as I can see).

@b0red - as @xjm points out - if you have a full stack trace of the error so we can see where in the update path you've crashed. Thanks

b0red’s picture

Drush Version : 8.1.10

Package Name Type Status Version
@font-your-face @fontyourface (fontyourface) Module Enabled 8.x-3.1
@font-your-face @fontyourface - Adobe Edge Fonts (adobe_edge_fonts) Module Not installed 8.x-3.1
@font-your-face @fontyourface - Font Squirrel (fontsquirrel_api) Module Not installed 8.x-3.1
@font-your-face @fontyourface - Fonts.com (fontscom_api) Module Not installed 8.x-3.1
@font-your-face @fontyourface - Google Fonts (google_fonts_api) Module Enabled 8.x-3.1
@font-your-face @fontyourface - Local Fonts (local_fonts) Module Not installed 8.x-3.1
@font-your-face @fontyourface - Typekit (typekit_api) Module Not installed 8.x-3.1
Acquia Mollom (mollom) Module Enabled 8.x-1.2
Administration Admin Toolbar (admin_toolbar) Module Not installed 8.x-1.19
Administration Admin Toolbar Extra Tools (admin_toolbar_tools) Module Not installed 8.x-1.19
Administration Adminimal Admin Toolbar (adminimal_admin_toolbar) Module Enabled 8.x-1.3
Administration Better Module Dependencies (better_module_dependencies) Module Enabled 8.x-1.2
Administration PatchInfo (patchinfo) Module Enabled 8.x-1.1
Advanced CSS/JS Aggregation AdvAgg Bundler (advagg_bundler) Module Enabled 8.x-2.3
Advanced CSS/JS Aggregation AdvAgg CDN (advagg_cdn) Module Not installed 8.x-2.3
Advanced CSS/JS Aggregation AdvAgg CSS/JS Validator (advagg_validator) Module Enabled 8.x-2.3
Advanced CSS/JS Aggregation AdvAgg External Minification (advagg_ext_minify) Module Not installed 8.x-2.3
Advanced CSS/JS Aggregation AdvAgg Minify CSS (advagg_css_minify) Module Enabled 8.x-2.3
Advanced CSS/JS Aggregation AdvAgg Minify JavaScript (advagg_js_minify) Module Not installed 8.x-2.3
Advanced CSS/JS Aggregation AdvAgg Modifier (advagg_mod) Module Not installed 8.x-2.3
Advanced CSS/JS Aggregation Advanced CSS/JS Aggregation (advagg) Module Enabled 8.x-2.3
Blazy Blazy (blazy) Module Enabled 8.x-1.0-rc1
Blazy Blazy UI (blazy_ui) Module Enabled 8.x-1.0-rc1
Blazy GridStack (gridstack) Module Enabled 8.x-1.0-beta4
Blazy GridStack example (gridstack_example) Module Enabled 8.x-1.0-beta4
Blazy GridStack UI (gridstack_ui) Module Enabled 8.x-1.0-beta4
Chaos tool suite Chaos tools (ctools) Module Enabled 8.x-3.0-beta1
Chaos tool suite (Experimental) Chaos tools blocks (ctools_block) Module Enabled 8.x-3.0-beta1
Chaos tool suite (Experimental) Chaos tools Views (ctools_views) Module Enabled 8.x-3.0-beta1
Core Actions (action) Module Enabled 8.2.7
Core Activity Tracker (tracker) Module Not installed 8.2.7
Core Aggregator (aggregator) Module Not installed 8.2.7
Core Automated Cron (automated_cron) Module Enabled 8.2.7
Core Ban (ban) Module Not installed 8.2.7
Core Block (block) Module Enabled 8.2.7
Core Book (book) Module Not installed 8.2.7
Core Breakpoint (breakpoint) Module Enabled 8.2.7
Core CKEditor (ckeditor) Module Enabled 8.2.7
Core Color (color) Module Enabled 8.2.7
Core Comment (comment) Module Enabled 8.2.7
Core Configuration Manager (config) Module Enabled 8.2.7
Core Contact (contact) Module Enabled 8.2.7
Core Contextual Links (contextual) Module Enabled 8.2.7
Core Custom Block (block_content) Module Enabled 8.2.7
Core Custom Menu Links (menu_link_content) Module Enabled 8.2.7
Core Database Logging (dblog) Module Enabled 8.2.7
Core Field (field) Module Enabled 8.2.7
Core Field UI (field_ui) Module Enabled 8.2.7
Core Filter (filter) Module Enabled 8.2.7
Core Forum (forum) Module Not installed 8.2.7
Core Help (help) Module Enabled 8.2.7
Core History (history) Module Enabled 8.2.7
Core Internal Dynamic Page Cache (dynamic_page_cache) Module Enabled 8.2.7
Core Internal Page Cache (page_cache) Module Enabled 8.2.7
Core Menu UI (menu_ui) Module Enabled 8.2.7
Core Node (node) Module Enabled 8.2.7
Core Path (path) Module Enabled 8.2.7
Core Quick Edit (quickedit) Module Enabled 8.2.7
Core RDF (rdf) Module Enabled 8.2.7
Core Responsive Image (responsive_image) Module Enabled 8.2.7
Core Search (search) Module Enabled 8.2.7
Core Shortcut (shortcut) Module Enabled 8.2.7
Core Statistics (statistics) Module Not installed 8.2.7
Core Syslog (syslog) Module Enabled 8.2.7
Core System (system) Module Enabled 8.2.7
Core Taxonomy (taxonomy) Module Enabled 8.2.7
Core Testing (simpletest) Module Not installed 8.2.7
Core Text Editor (editor) Module Enabled 8.2.7
Core Toolbar (toolbar) Module Enabled 8.2.7
Core Tour (tour) Module Enabled 8.2.7
Core Update Manager (update) Module Enabled 8.2.7
Core User (user) Module Enabled 8.2.7
Core Views (views) Module Enabled 8.2.7
Core Views UI (views_ui) Module Enabled 8.2.7
Core (Experimental) BigPipe (big_pipe) Module Enabled 8.2.7
Core (Experimental) Content Moderation (content_moderation) Module Not installed 8.2.7
Core (Experimental) Datetime Range (datetime_range) Module Not installed 8.2.7
Core (Experimental) Inline Form Errors (inline_form_errors) Module Not installed 8.2.7
Core (Experimental) Migrate (migrate) Module Not installed 8.2.7
Core (Experimental) Migrate Drupal (migrate_drupal) Module Not installed 8.2.7
Core (Experimental) Migrate Drupal UI (migrate_drupal_ui) Module Not installed 8.2.7
Core (Experimental) Place Blocks (block_place) Module Not installed 8.2.7
Core (Experimental) Settings Tray (outside_in) Module Not installed 8.2.7
Custom Linkit (linkit) Module Enabled 8.x-5.0-beta5
Development Be Sure (be_sure) Module Enabled 8.x-1.2
Development Be sure: Git (bs_git) Module Not installed 8.x-1.2
Development Be sure: Performance (bs_performance) Module Enabled 8.x-1.2
Development Be sure: Security (bs_security) Module Enabled 8.x-1.2
Development Be sure: SEO (bs_seo) Module Enabled 8.x-1.2
Development Hacked! (hacked) Module Enabled 8.x-2.0-beta1
Display Suite Display Suite (ds) Module Enabled 8.x-2.6
Display Suite Display Suite Devel (ds_devel) Module Not installed 8.x-2.6
Display Suite Display Suite Extras (ds_extras) Module Not installed 8.x-2.6
Display Suite Display Suite Switch View Mode (ds_switch_view_mode) Module Not installed 8.x-2.6
Encryption Encrypt (encrypt) Module Enabled 8.x-3.0-alpha2
FB Likebox Facebook Likebox (fb_likebox) Module Enabled 8.x-2.0
Field types Datetime (datetime) Module Enabled 8.2.7
Field types File (file) Module Enabled 8.2.7
Field types Image (image) Module Enabled 8.2.7
Field types Link (link) Module Enabled 8.2.7
Field types Options (options) Module Enabled 8.2.7
Field types Telephone (telephone) Module Enabled 8.2.7
Field types Text (text) Module Enabled 8.2.7
Fields File Field Sources (filefield_sources) Module Enabled 8.x-1.x-dev
Filters Entity Embed (entity_embed) Module Enabled 8.x-1.0-beta2
Finn Twitter Feed (twitter_feed) Module Not installed
FlexSlider FlexSlider (flexslider) Module Enabled 8.x-2.0-alpha2
FlexSlider FlexSlider Example (flexslider_example) Module Enabled 8.x-2.0-alpha2
FlexSlider FlexSlider Fields (flexslider_fields) Module Enabled 8.x-2.0-alpha2
FlexSlider FlexSlider Views Style (flexslider_views) Module Enabled 8.x-2.0-alpha2
Images Focal Point (focal_point) Module Enabled 8.x-1.0-beta4
Layout Layout Plugin (layout_plugin) Module Enabled 8.x-1.0-alpha23
MailChimp MailChimp (mailchimp) Module Enabled 8.x-1.2
MailChimp MailChimp Campaign (mailchimp_campaign) Module Not installed 8.x-1.2
MailChimp MailChimp Lists (mailchimp_lists) Module Enabled 8.x-1.2
MailChimp MailChimp Signup (mailchimp_signup) Module Enabled 8.x-1.2
Media Crop API (crop) Module Enabled 8.x-1.2
Media dropzonejs (dropzonejs) Module Enabled 8.x-1.0-alpha6
Media DropzoneJS entity browser widget (dropzonejs_eb_widget) Module Enabled 8.x-1.0-alpha6
Media Entity Browser (entity_browser) Module Enabled 8.x-1.0-rc2
Media Entity Browser example (entity_browser_example) Module Not installed 8.x-1.0-rc2
Media Entity Browser IEF (entity_browser_entity_form) Module Not installed 8.x-1.0-rc2
Media Exif (exif) Module Enabled 8.x-1.0
Media File entity (file_entity) Module Enabled 8.x-2.0-beta3
Media Juicebox (juicebox) Module Enabled 8.x-2.0-beta3
Media Media entity (media_entity) Module Enabled 8.x-1.6
Media Media entity crop (crop_media_entity) Module Not installed 8.x-1.2
Media Media entity image (media_entity_image) Module Enabled 8.x-1.2
Media Media entity Instagram (media_entity_instagram) Module Enabled 8.x-1.2
Media Media entity Twitter (media_entity_twitter) Module Enabled 8.x-1.3
Multilingual Configuration Translation (config_translation) Module Not installed 8.2.7
Multilingual Content Translation (content_translation) Module Not installed 8.2.7
Multilingual Interface Translation (locale) Module Enabled 8.2.7
Multilingual Language (language) Module Enabled 8.2.7
Other AddToAny (addtoany) Module Enabled 8.x-1.7
Other Automated Logout (autologout) Module Enabled 8.x-1.0-rc2
Other Backup and Migrate (backup_migrate) Module Enabled 8.x-4.0-alpha2
Other Block Class (block_class) Module Enabled 8.x-1.0-alpha1
Other Blog (blog) Module Enabled 8.x-2.x-dev
Other Cleaner (cleaner) Module Enabled 8.x-1.0
Other Configuration Update Base (config_update) Module Enabled 8.x-1.3
Other Configuration Update Reports (config_update_ui) Module Enabled 8.x-1.3
Other Content Browser (content_browser) Module Enabled 8.x-1.0-alpha4
Other CookieConsent (cookieconsent) Module Enabled 8.x-1.1
Other D8 Editor file upload (editor_file) Module Enabled 8.x-1.2
Other Easy Breadcrumb (easy_breadcrumb) Module Enabled 8.x-1.6
Other Embed (embed) Module Enabled 8.x-1.0
Other Entity (entity) Module Enabled 8.x-1.0-alpha4
Other Entity Reference Formatter (entity_reference_formatter) Module Not installed 8.x-1.x-dev
Other Favicon (favicon) Module Enabled 8.2.7
Other File Browser (file_browser) Module Enabled 8.x-1.0-alpha4
Other File Browser Example (file_browser_example) Module Enabled 8.x-1.0-alpha4
Other Image Formatter for File Entity References (file_entity_reference_image_formatter) Module Not installed 8.x-1.0-beta1
Other Image Optimize (or ImageAPI Optimize) (imageapi_optimize) Module Enabled 8.x-2.0-alpha2
Other Libraries (libraries) Module Enabled 8.x-3.x-dev
Other Masquerade (masquerade) Module Enabled 8.x-1.0-beta1
Other Pathauto (pathauto) Module Enabled 8.x-1.0-rc1
Other Redirect (redirect) Module Enabled 8.x-1.0-alpha4
Other Redirect 404 (redirect_404) Module Enabled 8.x-1.0-alpha4
Other Redirect Domain (redirect_domain) Module Not installed 8.x-1.0-alpha4
Other robots.txt (robotstxt) Module Enabled 8.x-1.1
Other Scheduler (scheduler) Module Enabled 8.x-1.0-alpha2
Other Scheduler Rules Integration (scheduler_rules_integration) Module Not installed 8.x-1.0-alpha2
Other Simple Menu Icons (simple_menu_icons) Module Not installed 8.x-1.0-beta5
Other Site Verification (site_verify) Module Enabled 8.x-1.x-dev
Other Sitemap (sitemap) Module Enabled 8.x-1.3
Other Supercookie (supercookie) Module Enabled 8.x-1.2
Other Taxonomy unique (taxonomy_unique) Module Enabled 8.x-1.0
Other Token (token) Module Enabled 8.x-1.0-rc1
Other Update External Links (update_external_links) Module Enabled 8.x-1.0
Other Username Enumeration Prevention (username_enumeration_prevention) Module Enabled 8.x-1.0-beta1
Other Wunderground Weather (wunderground_weather) Module Enabled 8.x-1.2
Performance and scalability Fast 404 (fast404) Module Enabled 8.x-1.0-alpha2
Performance and scalability Memcache (memcache) Module Enabled 8.x-2.0-alpha2+2-dev
Search Search 404 (search404) Module Enabled 8.x-1.0-beta2
Security Key (key) Module Enabled 8.x-1.3
Security Security Kit (seckit) Module Enabled 8.x-1.0-alpha2
Security Security Review (security_review) Module Enabled 8.x-1.x-dev
SEO Metatag (metatag) Module Enabled 8.x-1.0
SEO Metatag: App Links (metatag_app_links) Module Not installed 8.x-1.0
SEO Metatag: Dublin Core (metatag_dc) Module Enabled 8.x-1.0
SEO Metatag: Dublin Core Advanced (metatag_dc_advanced) Module Not installed 8.x-1.0
SEO Metatag: Facebook (metatag_facebook) Module Enabled 8.x-1.0
SEO Metatag: favicons (metatag_favicons) Module Not installed 8.x-1.0
SEO Metatag: Google Custom Search Engine (CSE) (metatag_google_cse) Module Not installed 8.x-1.0
SEO Metatag: Google Plus (metatag_google_plus) Module Enabled 8.x-1.0
SEO Metatag: hreflang (metatag_hreflang) Module Not installed 8.x-1.0
SEO Metatag: Mobile & UI Adjustments (metatag_mobile) Module Not installed 8.x-1.0
SEO Metatag: Open Graph (metatag_open_graph) Module Not installed 8.x-1.0
SEO Metatag: Open Graph Products (metatag_open_graph_products) Module Not installed 8.x-1.0
SEO Metatag: Twitter Cards (metatag_twitter_cards) Module Enabled 8.x-1.0
SEO Metatag: Verification (metatag_verification) Module Enabled 8.x-1.0
Sharing Sharerich (sharerich) Module Enabled 8.x-1.0
Social Instagram Block (instagram_block) Module Enabled 8.x-2.0-beta1+2-dev
Spam control Honeypot (honeypot) Module Enabled 8.x-1.24
Statistics Google Analytics (google_analytics) Module Enabled 8.x-2.1
Taxonomy Taxonomy Manager (taxonomy_manager) Module Enabled 8.x-1.x-dev
User interface Gallery Formatter (galleryformatter) Module Enabled 8.x-1.x-dev
User interface Super Login Page (super_login) Module Enabled 8.x-1.0-beta2
Views Views Photo Grid (views_photo_grid) Module Enabled 8.x-1.0-beta1
Views Views Slideshow (views_slideshow) Module Enabled 8.x-4.4
Views Views Slideshow Cycle (views_slideshow_cycle) Module Enabled 8.x-4.4
Views Views templates (views_templates) Module Not installed 8.x-1.0-alpha1
Voting Voting API (votingapi) Module Not installed 8.x-3.0-alpha2
Web services HAL (hal) Module Not installed 8.2.7
Web services HTTP Basic Authentication (basic_auth) Module Not installed 8.2.7
Web services RESTful Web Services (rest) Module Not installed 8.2.7
Web services Serialization (serialization) Module Not installed 8.2.7
XML sitemap XML sitemap (xmlsitemap) Module Enabled 8.x-1.0-alpha2+18-dev
XML sitemap XML sitemap custom (xmlsitemap_custom) Module Enabled 8.x-1.0-alpha2+18-dev
XML sitemap XML sitemap engines (xmlsitemap_engines) Module Enabled 8.x-1.0-alpha2+18-dev
Core Bartik (bartik) Theme Enabled 8.2.7
core Drupal8 Zymphonies Theme (drupal8_zymphonies_theme) Theme Disabled 8.x-1.0
Core Fortytwo (fortytwo) Theme Disabled 8.x-1.9
Core Seven (seven) Theme Enabled 8.2.7
Core Stark (stark) Theme Disabled 8.2.7
Core Zircon (zircon) Theme Disabled 8.x-1.0-rc1
Övriga Adminimal (adminimal_theme) Theme Enabled 8.x-1.3
Övriga Aegan (aegan) Theme Enabled 8.x-1.0
Övriga Nexus Theme (nexus) Theme Disabled 8.x-1.0-beta1

Cant get a backtrace on the error list right now.

b0red’s picture

I can't update drush either.

5to1’s picture

FileSize
47.07 KB
2.38 KB

So yeah, I stumbled to this issue while trying to update to 8.3. I updated my drush to 8.1.12 to no avail. I've ran updb quite a few times, but always stuck with this.

I attached my updb -d output and also my core.extension.yml. Hope this helps to sort out this, it's blocking me from doing any updates to our site.

/ Janne

alexpott’s picture

@5to1 are you actually using stuff from the flie_browser_example module if not uninstall it and it might fix your problem. Alternatively you might be able to get away with deleting the File Browser block content type.

5to1’s picture

@alexpott, thanks got this working by removing file_browser_example module AND that block type.

b0red’s picture

I reverted to 8.2.7, since any tries to update to 8.3.1 always renders the site unoperable. And that took me 2 days of reinstalling old backups, new crashes and more reinstalls of old backups.

How do I do a stack trace for when I feel brave enough to retry updating to 8.3.1? Since I'm confident it will crash again.
And do I need to remove/uninstall file_browser_example and block or just keep it unactivated?

alexpott’s picture

@b0red if you're not using file_browser_example and block i'd recommend removing it. You've got a good chance of the update working if you do that.

b0red’s picture

Nope, the same result. File_browser not active, and the block is uninstalled. Annoying as hell