Drush 8.1.11 incompatibilities with Drupal 8.4.x as of 02.05.2017 - Symfony components updated from 2.8 to 3.2.6 #2738

Closed
hchonov opened this Issue May 3, 2017 · 9 comments

Comments

Projects
None yet
5 participants
@hchonov

hchonov commented May 3, 2017

All Symfony components in Drupal 8.4.x have been updated from 2.8 to 3.2.6.

@see https://www.drupal.org/node/2743809

There are some API changes that have to be made to drush as well, because drush is extending from some Symfony classes.

An example where drush is not working anymore is site install:

hchonov:drupal hchonov$ drush --version
Drush Version : 8.1.11

hchonov:drupal hchonov$ drush si standard

Fatal error: Declaration of Drush\Command\DrushInputAdapter::hasParameterOption($values) must be compatible with Symfony\Component\Console\Input\InputInterface::hasParameterOption($values, $onlyParams = false)

@weitzman

This comment has been minimized.

Show comment
Hide comment
@weitzman

weitzman May 3, 2017

Member

Please use Drush9 for Drupal 8.4.x.

Member

weitzman commented May 3, 2017

Please use Drush9 for Drupal 8.4.x.

@weitzman weitzman closed this May 3, 2017

@wturrell

This comment has been minimized.

Show comment
Hide comment
@wturrell

wturrell May 14, 2017

For the benefit of others who might arrive here, the following should work:

composer require drush/drush:9.*

…and will give you Drush 9.0.0-alpha1 and symfony-console 3.2.8.

(Don't attempt to install 9.0.0-beta1 as I first did.)

For the benefit of others who might arrive here, the following should work:

composer require drush/drush:9.*

…and will give you Drush 9.0.0-alpha1 and symfony-console 3.2.8.

(Don't attempt to install 9.0.0-beta1 as I first did.)

@NiklasBr

This comment has been minimized.

Show comment
Hide comment
@NiklasBr

NiklasBr May 29, 2017

Will Drush8 ever support Drupal 8.4?

Will Drush8 ever support Drupal 8.4?

@weitzman

This comment has been minimized.

Show comment
Hide comment
@weitzman

weitzman May 29, 2017

Member

Drush8 will never support Drupal 8.4. Its not possible sine Drupal decided to upgrade its Symfony components.

Just get the most recent release of Drush9 and you should be fine. See Drush install instructions.

Member

weitzman commented May 29, 2017

Drush8 will never support Drupal 8.4. Its not possible sine Drupal decided to upgrade its Symfony components.

Just get the most recent release of Drush9 and you should be fine. See Drush install instructions.

@NiklasBr

This comment has been minimized.

Show comment
Hide comment
@NiklasBr

NiklasBr May 29, 2017

Ok, I'll hope Drush 9 supports Drupal 6 because we are waiting for a handful och blocking issues which we need to be fixed for our migration from D6 to D8. Thanks!

Ok, I'll hope Drush 9 supports Drupal 6 because we are waiting for a handful och blocking issues which we need to be fixed for our migration from D6 to D8. Thanks!

@hchonov

This comment has been minimized.

Show comment
Hide comment

hchonov commented May 29, 2017

Drush 9 supports only Drupal 8 according to https://github.com/drush-ops/drush/blob/master/docs/install.md

@NiklasBr

This comment has been minimized.

Show comment
Hide comment
@NiklasBr

NiklasBr May 29, 2017

Can I sponsor or set a bounty for Drush 8 to support Drupal 8.4 or Drush 9 to support Drupal 6?

Can I sponsor or set a bounty for Drush 8 to support Drupal 8.4 or Drush 9 to support Drupal 6?

@weitzman

This comment has been minimized.

Show comment
Hide comment
@weitzman

weitzman May 29, 2017

Member

For your migration, use Drush9. You dont have to load up Drupal 6 you just have to query its database. Should work fine AFAIK.

Member

weitzman commented May 29, 2017

For your migration, use Drush9. You dont have to load up Drupal 6 you just have to query its database. Should work fine AFAIK.

@generalredneck

This comment has been minimized.

Show comment
Hide comment
@generalredneck

generalredneck Aug 22, 2017

This is only a problem if you have drush installed via the site's composer.json along side the site correct. If you install drush outside of the dependencies of the site... (say globally) they shouldn't be sharing requirements.

This is only a problem if you have drush installed via the site's composer.json along side the site correct. If you install drush outside of the dependencies of the site... (say globally) they shouldn't be sharing requirements.

@bbujisic bbujisic referenced this issue in platformsh/platformsh-example-drupal8 Oct 6, 2017

Merged

Update Drupal Core to 8.4 #41

@ccania ccania referenced this issue in chapter-three/drupal-8-theming Feb 6, 2018

Closed

Drush fix for Acquia Dev Desktop Drupal 7 legacy #4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment