Questions tagged [drush]

drush is a command line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those of us who spend some of our working hours hacking away at the command prompt.

See http://drush.ws, the homepage for the drush project. It contains many important resources for drush users.

[A list of modules that include Drush integration.][3]

(drush is not a module)

[3]: http://A list of modules that include Drush integration.

346 questions
0
votes
4 answers

Drush 9: "Command pm:enable is not defined."

I'm trying to enable the module Elasticsearch connector on Drupal test site (hosted on pantheon.io) and here is what happens: Drush 9 error: command pm:enable is not defined This error seems not to be frequent since I'm unable to find how to resolve…
alch3mist
  • 1
  • 2
0
votes
1 answer

drush not able to download and enable modules whenever executing drush en

I keep getting this pop-up screen that tries to locate an app to open .launcher files whenever I try to execute drush en commands to download and enable a module on Drupal 8. On mac nothing like this happens, I'm not sure what needs to…
clestcruz
  • 1,081
  • 3
  • 31
  • 75
0
votes
0 answers

Not able to run drush in drupal 8 ubuntu

I am try to run drush in drupal 8 . I am using LAMPP in my ubuntu system . Current drush version is 8.1.15 . When I run drush cr in my root dir it showing me error Please help out to solve this error . Thankyou
Pankaj Yogi
  • 207
  • 1
  • 5
  • 17
0
votes
0 answers

Updating drush that comes with AcquiaDevDesktop2

Drush that comes with AcquiaDevDesktop2 (Apr 13, 2017 release) is unusable with drupal 8.4 as it uses symfony 3 components unlike earlier versions of Drupal 8. For you to use drush with Drupal 8.4 and upcoming version you will need to update drush…
Nicholas
  • 77
  • 10
0
votes
1 answer

MacOS High Sierra Drush only gives 2 options

So today I was installing Drush via Composer. it was completely installed according to terminal but in /usr/local/bin there is no Drush folder. I tried before and then I tried with Composer as well, but since that failed I tried via Homebrew but…
Ditger
  • 29
  • 8
0
votes
1 answer

Drush ARD returning Some site subdirectories are not valid Drupal sites:

I have a drupal 7 site that I am trying to migrate to Pantheon. I have done this in the past by using the drush ard command to archive the site. I am trying to do this now and I am getting an error. It does create an archive file, but the file does…
0
votes
1 answer

how to import menu and menu translation of different language in drupal 8 using drush

I have added menus in main menu and did translation in two languages that is in French and German, now my problem is while importing menu and its configuration through Drush , those translation configuration is not imported as i noticed while…
0
votes
1 answer

How to enable terminus command in linux (Windows)

I'm trying to use terminus for my pantheon Drupal site operations. which is in dev stage. I installed terminus in my local system with the help of bash on Ubuntu on windows10. but after installation, I got the message like this.... Terminus was…
user7736883
0
votes
1 answer

Drush module could not be downloaded

I'm trying to do a simple drush dl drupal but I got this error: ➜ drush dl drupal copy(/tmp/drush_tmp_1499421442_595f5b0280292/tar: Failed to set default locale): failed to open stream: No such file or directory filesystem.inc:268…
Tib
  • 2,553
  • 1
  • 27
  • 46
0
votes
2 answers

by using drush7 how to install a contributed module

But my teriminal is showing the error below... what is the solution for this... [error] Command pm-enable needs a higher bootstrap level to run - you will need to invoke drush from a more functional Drupal environment to run this command. The drush…
user7736883
0
votes
1 answer

Drush install giving php error

[bootstrap.inc][1] [1]: https://i.stack.imgur.com/cnbLZ.png Not sure what is going on here. It looks as if AccountInterface is already included in the boostrap.inc. I tried updating the drush globaly and did get the latest version. In the local…
ZST
  • 39
  • 1
  • 6
0
votes
0 answers

Use drush 8 in windows

I install drush8 using composer in windows, But I can not use drush 8 because its depends on php posix (http://php.net/manual/en/book.posix.php) which does not have windows dll. Is there any way to install drush 8 on windows ?
Chamil Sanjeewa
  • 319
  • 1
  • 4
  • 12
0
votes
1 answer

Git will not commit files created by Composer in Drupal

I have installed a Drupal Module using Composer. when I add and commit using Git, the folder is committed, but no contents. Here is the output of git commit create mode 160000 modules/contrib/backup_migrate Here are the permissions on that…
themetman
  • 51
  • 6
0
votes
1 answer

In drupal, do I need to update after "site install"ing using drush?

When I use drush to site install (drush si profileName), do I need to run an update so all the modules will run what they need as part as their update methods, or does a fresh "site install" doesn't require an update ? If it matters, I'm talking…
Doron
  • 3,176
  • 7
  • 35
  • 60
0
votes
0 answers

Update Drush 6.0.2. to v. 7 or 8

So I have some Drupal Webportals based on the Drupal 7.x version. I also have on mine server, Drush installed. When I do on Drush an version check. It's show's me that I have version 6.0.2. How can I upgrade/update to the version 7 or 8 of…