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
1 answer

Drush doesn't update on one of two servers

I have 2 different Windows 2016 Servers running Drupal 8 and Drush 9 is installed on both but I have a Drush verison mismatch that I'm trying to fix. I have this global composer.json file on both servers: { "require": { "drush/drush":…
mindmischief
  • 271
  • 1
  • 12
0
votes
1 answer

drush sql-sync Error no database record could be found

I tried running drush sql-sync @dev sql-conf --verbose with drush 8.1.18 and php 7.3.14 and I get this error: Begin redispatch via drush_invoke_process(). …
max
  • 9,708
  • 15
  • 89
  • 144
0
votes
0 answers

Acquia Dev Desktop uses wrong PHP for Drush

I have used Acquia Dev Desktop often. Recently, I have had a problem with Drush. Even though I selected PHP version 7.2.22 as the default version for my Drupal 8 site, I get an error message that Drush requires a higher version of PHP. I have…
0
votes
0 answers

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

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 command 'en admin_toolbar' could not be executed. Drush was not able to start…
omrmankar
  • 21
  • 1
  • 6
0
votes
0 answers

Drush Installation - consolidation/site-process

I am looking to add Drush to my $PATH variable but when I try to globally require drush in Composer I get this error. (Basically saying that I shouldn't install consolidation/site-process. Cant seem to find any answers to this(.Install error
0
votes
1 answer

How can I send Drush commands to Pantheon

I am trying to migrate my drupal 7 siteto drupal 8 site that resides on pantheon. For this purpose I have installed 3 migration modules as described in the docs. I have added my drush aliases in drush directory and I can see all my sites…
Syyam Noor
  • 474
  • 5
  • 15
0
votes
0 answers

Manage drupal 8 modules with composer and drush

I'm newcomer in drupal management with composer. As it, I need to do updates on my D8 websites (migrated from D6). And I get mismatched informations between drush and composer, like this: $ composer outdated drupal/* drupal/feeds …
webmaster pf
  • 389
  • 1
  • 5
  • 23
0
votes
2 answers

--global option does not exist while doing a composer --global require

I'm trying to set up my work environment at home. I'm developing a drupal8 project and need to run with a vagrant. So far so good, installed of vagrant composer and php went well. Now I need to use drush to be able to rebuild my cache etc. Here some…
0
votes
0 answers

I am trying to install drush using composer . But facing 'crypto failed to open stream' issue

My composer version is 1.9.0 I am trying to install drush . but got some error. composer global require drush/drush:dev-master Output : Changed current directory to /root/.config/composer [Composer\Downloader\TransportException] The …
Arif
  • 195
  • 12
0
votes
0 answers

Issue on drush 9 alias file location

According to this post and with local installation of Drush 9 as adviced by the official website (not globally installed), I put my Drush8 alias file into: ~/.drush/sites, in addition of the ~/www/domain/sited8/drush/sites default folder. And I…
webmaster pf
  • 389
  • 1
  • 5
  • 23
0
votes
0 answers

The Drupal 7 Cache seems to not be cleared as it should be

I have recently taken over the maintenance and the evolution of a Drupal 7 Website, it is due to pass over to D8 but not in the near future, I have a lot of issues with the frontal cache, Here is the list of all the modules and/or caching systems…
0
votes
1 answer

Update existing migration with CSV fails

Import products.csv with drush migrate:import products works fine. The CSV has unique values which are used as key... When a value needs to be updated in the CSV when all product nodes are imported, it fails. Was under the assumption that drush…
JohanVdR
  • 2,880
  • 1
  • 15
  • 16
0
votes
1 answer

How to properly set up drush 9.7.0 on Windows 10

I am working on trying to set up and learn drush for the first time on a Drupal 8.7.3 site on Aqui DevDesktop which i installed with composer. This is the first time I have tired composer, and drush is completely new to me. (I was really impressed…
Tone Loc
  • 1
  • 2
0
votes
0 answers

Custom Drush command to export old Drupal project settings (.yml files) to a new project

The project is about to make a custom Drush command to export old Drupal project settings (.yml files) to a new project, my question is how to make this.
legend27
  • 11
  • 1
0
votes
1 answer

How to set frontpage content on Drupal site with MAMP?

I have an existing site that uses Drupal. I am using MAMP and the document root points to the web folder where the page to be displayed is located. When I go to "my website" from the MAMP web start page I get a generic Drupal page that says no front…
bitte
  • 1