The "elasticsearch_cluster" entity type does not exist

Created on 17 January 2023, almost 2 years ago
Updated 6 February 2023, almost 2 years ago

Hello everyone,

Environnement:
- Drupal 9.5.1
- PHP 8.1
- Drush 11
- Elasticsearch connector 7.0@alpha4

Full trace :
Drupal\Component\Plugin\Exception\PluginNotFoundException : The "elasticsearch_cluster" entity type does not exist. dans Drupal\Core\Entity\EntityTypeManager->getDefinition() (ligne 139 de /Users/[...]/Sites/breizhgo.bzh/web/core/lib/Drupal/Core/Entity/EntityTypeManager.php).

How to reproduce :
Download the elasticsearch_connector module with composer 2 and enable it with drush.
Load your website (any page).
The error occurs and the website is unavailable as long as the module is enabled ("The website encountered an error" white page).

Warning log when I enable the module with drush :
[notice] Message: Aucun objet de configuration n'a été mis à jour (No configuration object has been updated.)

Possible source of the issue :
In the "config/schema" folder of the module, there is 3 configuration files. For some reason these are ignored by the installation process. Did I misse a step?

What I tried so far :
Clearing cache with drush, install module again with composer and drush

Thank you for your hard work !

🐛 Bug report
Status

Closed: works as designed

Component

Elasticsearch Connector

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Status changed to Postponed: needs info almost 2 years ago
  • Status changed to Closed: works as designed almost 2 years ago
  • Hello,

    After trying (and failing) to reproduce on your repository I'm pretty sure now that the problem is drush related because the same thing happened with other modules.
    Installing it and clearing cache with Drupal admin fixed it so I guess there is nothing to fix.

    Thank you again for your quick replies

Production build 0.71.5 2024