Update fails in Drush: The service "config_sync.commands" has a dependency on a non-existent service "config_sync.lister"

Created on 6 November 2018, almost 6 years ago
Updated 27 March 2024, 6 months ago

Problem/Motivation

Further to #3011089: Sites cannot update from prior to 8.x-2.0-beta2 β†’ , there's a remaining problem with Drush:

In CheckExceptionOnInvalidReferenceBehaviorPass.php line 31:

The service "config_sync.commands" has a dependency on a non-existent service "config_sync.lister".

Workarounds

Either of the following workarounds should work:

  1. Ahead of doing a code update to the new version of Configuration Synchronizer, install the Configuration Normalizer module.
  2. When first updating to the new version of Configuration Synchronizer, visit the update.php page rather than using Drush to run database updates.

Proposed resolution

Conditionally remove this service if the one it depends on is not available.

Remaining tasks

Current patch generates the error:

The service "drush.command.services" has a dependency on a non-existent service "config_sync.commands".

Determine if/how we can remove config_sync.commands from the list of commands referenced by drush.command.services.

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: outdated

Version

3.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada nedjo

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.

Production build 0.71.5 2024