Call to undefined service on cron run

Created on 1 October 2022, over 1 year ago
Updated 8 January 2024, 6 months ago

Problem/Motivation

When I run cron I receive the following error:
[error] Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "elasticsearch_search_api.sync". in Drupal\Component\DependencyInjection\Container->get() (line 156 of /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php).

Steps to reproduce

Install the module and elastic connector. Run cron.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States nicxvan

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.

  • πŸ‡¨πŸ‡­Switzerland sir_squall

    Hi,

    i got the same error, but I have php-curl enabled:
    Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "elasticsearch_search_api.sync". in Drupal\Component\DependencyInjection\Container->get() (line 157 of /home/clients/xxx/sites/xxx/web/core/lib/Drupal/Component/DependencyInjection/Container.php).

  • πŸ‡¨πŸ‡­Switzerland sir_squall

    I still have the error, but elasticsearch is working fine, i have this error only when the cron run don't know why

  • πŸ‡ΊπŸ‡ΈUnited States sassafrass

    I have the same issue.

Production build 0.69.0 2024