Documentation: claw-playbook: Ubuntu and CentOS Install dependencies with composer require - failed!

Created on 7 Jun 2018  路  17Comments  路  Source: Islandora/documentation

On both distros failed task on vagrant up. Cloned a claw-playbook today and vagrant up-ed Ubuntu, tried also after that a new CentOS vagrant up the same problem shown.

TASK [geerlingguy.drupal : Install dependencies with composer require (this may take a while).] *
Thursday 07 June 2018 14:01:20 +0200 (0:00:00.018) 0:04:36.619 ***

ok: [default] => (item=drupal/console:~1.0)
ok: [default] => (item=drupal/devel:^1.0@beta)
ok: [default] => (item=drupal/rdfui:1.x-dev)
ok: [default] => (item=drupal/restui:^1.13)
ok: [default] => (item=drupal/media_entity:^1.6)
ok: [default] => (item=drupal/media_entity_image:^1.2)
ok: [default] => (item=drupal/search_api_solr:1.0.0)
ok: [default] => (item=drupal/facets:1.x-dev)
ok: [default] => (item=islandora/carapace:dev-8.x-1.x)
failed: [default] (item=islandora/islandora_image:dev-8.x-1.x) => {"changed": false, "item": "islandora/islandora_image:dev-8.x-1.x", "msg": "./composer.json has been updated > DrupalProject\composer\ScriptHandler::checkComposerVersion Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages. Problem 1 - Can only install one of: drupal/search_api[1.x-dev, 1.8.0]. - Can only install one of: drupal/search_api[1.8.0, 1.x-dev]. - Can only install one of: drupal/search_api[1.x-dev, 1.8.0]. - islandora/islandora dev-8.x-1.x requires drupal/search_api 1.x-dev -> satisfiable by drupal/search_api[1.x-dev]. - islandora/islandora_image dev-8.x-1.x requires islandora/islandora dev-8.x-1.x -> satisfiable by islandora/islandora[dev-8.x-1.x]. - Installation request for islandora/islandora_image dev-8.x-1.x -> satisfiable by islandora/islandora_image[dev-8.x-1.x]. - Installation request for drupal/search_api (locked at 1.8.0) -> satisfiable by drupal/search_api[1.8.0]. Installation failed, reverting ./composer.json to its original content.", "stdout": "./composer.json has been updated\n> DrupalProject\composer\ScriptHandler::checkComposerVersion\nLoading composer repositories with package information\nUpdating dependencies (including require-dev)\nYour requirements could not be resolved to an installable set of packages.\n\n Problem 1\n - Can only install one of: drupal/search_api[1.x-dev, 1.8.0].\n - Can only install one of: drupal/search_api[1.8.0, 1.x-dev].\n - Can only install one of: drupal/search_api[1.x-dev, 1.8.0].\n - islandora/islandora dev-8.x-1.x requires drupal/search_api 1.x-dev -> satisfiable by drupal/search_api[1.x-dev].\n - islandora/islandora_image dev-8.x-1.x requires islandora/islandora dev-8.x-1.x -> satisfiable by islandora/islandora[dev-8.x-1.x].\n - Installation request for islandora/islandora_image dev-8.x-1.x -> satisfiable by islandora/islandora_image[dev-8.x-1.x].\n - Installation request for drupal/search_api (locked at 1.8.0) -> satisfiable by drupal/search_api[1.8.0].\n\n\nInstallation failed, reverting ./composer.json to its original content.\n", "stdout_lines": ["./composer.json has been updated", "> DrupalProject\composer\ScriptHandler::checkComposerVersion", "Loading composer repositories with package information", "Updating dependencies (including require-dev)", "Your requirements could not be resolved to an installable set of packages.", "", " Problem 1", " - Can only install one of: drupal/search_api[1.x-dev, 1.8.0].", " - Can only install one of: drupal/search_api[1.8.0, 1.x-dev].", " - Can only install one of: drupal/search_api[1.x-dev, 1.8.0].", " - islandora/islandora dev-8.x-1.x requires drupal/search_api 1.x-dev -> satisfiable by drupal/search_api[1.x-dev].", " - islandora/islandora_image dev-8.x-1.x requires islandora/islandora dev-8.x-1.x -> satisfiable by islandora/islandora[dev-8.x-1.x].", " - Installation request for islandora/islandora_image dev-8.x-1.x -> satisfiable by islandora/islandora_image[dev-8.x-1.x].", " - Installation request for drupal/search_api (locked at 1.8.0) -> satisfiable by drupal/search_api[1.8.0].", "", "", "Installation failed, reverting ./composer.json to its original content."]}

Ansible

Most helpful comment

It's busted right now. I've got this https://github.com/Islandora-CLAW/drupal-project/pull/20 up right now that will help, but this will likely take a series of pulls to get right. This is turning into a particularly thorny dependency issue.

@DigitLib @ajs6f When it's ready to test, I'll let you guys know.

All 17 comments

@DigitLib Ah, ok. Looks like I can resolve this via https://github.com/Islandora-Devops/claw-playbook/pull/66. Hang tight.

@dannylamb Need test?

@DigitLib I'll let you know when I push up my latest code. I'm testing it locally now.

Looks like the only way I can do this is by patching the core islandora module to have it be in line with search_api_solr. They'll have to move in lockstep for the time being, but I'm pretty sure it's a old dependency back when we were making our own content entity type. I'll plug the hole, but there's more work to do there later.

@DigitLib https://github.com/Islandora-CLAW/islandora/pull/87 will fix this... or at least we'll discover the next issue with https://github.com/Islandora-Devops/claw-playbook/pull/66.

@dannylamb OK. How can I help with CenOS?

I can also test CentOS (in Vagrant, or potentially on metal if someone can tell me how to get the right preconditions w/o blanking the box).

@ajs6f sorry for asking but what means w/o ?

@DigitLib No prob-- it's a (somewhat) common abbreviation for "without".

@ajs6f Ooooh! Tnx!

@ajs6f What specific preconditions you need?

@DigitLib I don't know-- that's why I asked. I tried to install the original content-modeling PRs on top of a working CLAW install and that simply exploded in the saddest way. I don't want to waste @dannylamb's time again, so I need to understand how I can "reset" my install enough so that I can test Islandora-Devops/claw-playbook#66 and Islandora-CLAW/islandora#87, if that is even possible.

@ajs6f I tried to test it also in vagrant all morning and can't make it work ... also started a new VM for that... if I get somewhere I let you know... is it work on ubuntu?

https://github.com/Islandora-Devops/claw-playbook/pull/66 PASS on CentOS... go further....to islandora#87
@ajs6f made a new VM with implemented PR and vagrant up and done...I misspelld wrong jwt on earlier VM...

It's busted right now. I've got this https://github.com/Islandora-CLAW/drupal-project/pull/20 up right now that will help, but this will likely take a series of pulls to get right. This is turning into a particularly thorny dependency issue.

@DigitLib @ajs6f When it's ready to test, I'll let you guys know.

Thanks @dannylamb !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

acoburn picture acoburn  路  5Comments

ruebot picture ruebot  路  3Comments

manez picture manez  路  5Comments

acoburn picture acoburn  路  5Comments

DiegoPino picture DiegoPino  路  5Comments