Skip to content

Fixed elasticsearch8 composer command for 4.6#3239

Merged
adriendupuis merged 1 commit into
5.0from
fixed-elasticsearch8-install
Jun 2, 2026
Merged

Fixed elasticsearch8 composer command for 4.6#3239
adriendupuis merged 1 commit into
5.0from
fixed-elasticsearch8-install

Conversation

@reithor
Copy link
Copy Markdown
Contributor

@reithor reithor commented Jun 2, 2026

composer require 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

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2026

Preview of modified files

Preview 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
```
Copy link
Copy Markdown
Contributor

@adriendupuis adriendupuis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 adriendupuis merged commit 21b474c into 5.0 Jun 2, 2026
11 checks passed
@adriendupuis adriendupuis deleted the fixed-elasticsearch8-install branch June 2, 2026 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants