Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
DigitLib opened this issue Jun 7, 2018 · 17 comments

Comments

@DigitLib
Copy link

DigitLib commented Jun 7, 2018

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."]}

@dannylamb
Copy link
Contributor

@DigitLib Ah, ok. Looks like I can resolve this via Islandora-Devops/islandora-playbook#66. Hang tight.

@DigitLib
Copy link
Author

DigitLib commented Jun 7, 2018

@dannylamb Need test?

@dannylamb
Copy link
Contributor

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

@dannylamb
Copy link
Contributor

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.

@dannylamb
Copy link
Contributor

@DigitLib #87 will fix this... or at least we'll discover the next issue with Islandora-Devops/islandora-playbook#66.

@DigitLib
Copy link
Author

DigitLib commented Jun 8, 2018

@dannylamb OK. How can I help with CenOS?

@ajs6f
Copy link

ajs6f commented Jun 8, 2018

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).

@DigitLib
Copy link
Author

DigitLib commented Jun 8, 2018

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

@ajs6f
Copy link

ajs6f commented Jun 8, 2018

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

@DigitLib
Copy link
Author

DigitLib commented Jun 8, 2018

@ajs6f Ooooh! Tnx!

@DigitLib
Copy link
Author

DigitLib commented Jun 8, 2018

@ajs6f What specific preconditions you need?

@ajs6f
Copy link

ajs6f commented Jun 8, 2018

@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/islandora-playbook#66 and #87, if that is even possible.

@DigitLib
Copy link
Author

DigitLib commented Jun 8, 2018

@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?

@DigitLib
Copy link
Author

DigitLib commented Jun 8, 2018

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

@dannylamb
Copy link
Contributor

It's busted right now. I've got this islandora-deprecated/drupal-project#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.

@ajs6f
Copy link

ajs6f commented Jun 8, 2018

Thanks @dannylamb !

@dannylamb
Copy link
Contributor

resolved via Islandora-Devops/islandora-playbook@348650e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants