Fixed elasticsearch8 composer command for 4.6#3239
Merged
Conversation
Preview of modified filesPreview of modified Markdown: |
`ibexa/elasticsearch8:4.6.30` will respond with: ``` - ibexa/elasticsearch8[v4.0.0, ..., v4.6.26, v5.0.0, ..., v5.0.5] cannot be installed as that would require removing ibexa/elasticsearch[v4.6.30]. They all replace ezsystems/ezplatform-elastic-search-engine and thus cannot coexist ```
038a4bb to
7c8688d
Compare
adriendupuis
approved these changes
Jun 2, 2026
Contributor
adriendupuis
left a comment
There was a problem hiding this comment.
Definitively needed!
Your requirements could not be resolved to an installable set of packages.
Problem 1
- ibexa/commerce is locked to version v4.6.30 and an update of this package was not requested.
- Root composer.json requires ibexa/elasticsearch8 * -> satisfiable by ibexa/elasticsearch8[v4.0.0, ..., v4.6.30, v5.0.0, ..., v5.0.5].
- ibexa/commerce v4.6.30 requires ibexa/experience 4.6.30 -> satisfiable by ibexa/experience[v4.6.30].
- ibexa/elasticsearch8[v4.0.4, ..., v4.0.8] require ibexa/core ~4.0.0 -> found ibexa/core[v4.0.0, ..., v4.0.8] but the package is fixed to v4.6.30 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- ibexa/elasticsearch8[v4.1.0, ..., v4.1.5] require ibexa/core ~4.1.0 -> found ibexa/core[v4.1.0, ..., v4.1.5] but the package is fixed to v4.6.30 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- ibexa/elasticsearch8[v4.2.0, ..., v4.2.4] require ibexa/core ~4.2.0 -> found ibexa/core[v4.2.0, ..., v4.2.4] but the package is fixed to v4.6.30 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- ibexa/elasticsearch8[v4.3.0, ..., v4.3.5] require ibexa/core ~4.3.0 -> found ibexa/core[v4.3.0, ..., v4.3.5] but the package is fixed to v4.6.30 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- ibexa/elasticsearch8[v4.4.0, ..., v4.4.4] require ibexa/core ~4.4.0 -> found ibexa/core[v4.4.0, ..., v4.4.4] but the package is fixed to v4.6.30 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- ibexa/elasticsearch8[v4.5.0, ..., v4.5.7] require ibexa/core ~4.5.0 -> found ibexa/core[v4.5.0, ..., v4.5.7] but the package is fixed to v4.6.30 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- ibexa/elasticsearch8[v4.6.27, ..., v4.6.30, v5.0.5] require elasticsearch/elasticsearch ^8.19 -> found elasticsearch/elasticsearch[v8.19.0] but the package is fixed to v7.17.3 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- ibexa/elasticsearch8[v5.0.0, ..., v5.0.4] require ibexa/core ~5.0 -> found ibexa/core[v5.0.0, ..., v5.0.8] but the package is fixed to v4.6.30 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- ibexa/experience v4.6.30 requires ibexa/headless 4.6.30 -> satisfiable by ibexa/headless[v4.6.30].
- ibexa/headless v4.6.30 requires ibexa/elasticsearch 4.6.30 -> satisfiable by ibexa/elasticsearch[v4.6.30], ibexa/elasticsearch8[v4.6.30].
- ibexa/elasticsearch8[v4.0.0, ..., v4.6.26, v5.0.0, ..., v5.0.5] cannot be installed as that would require removing ibexa/elasticsearch[v4.6.30]. They all replace ezsystems/ezplatform-elastic-search-engine and thus cannot coexist.
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require ibexa/elasticsearch8:*" to figure out if any version is installable, or "composer require ibexa/elasticsearch8:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Composer [require ibexa/elasticsearch8 --no-interaction --no-scripts] failed, composer command failed: exit status 2. stderr=
adriendupuis
pushed a commit
that referenced
this pull request
Jun 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
composer require ibexa/elasticsearch8:4.6.30will respond with: