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
1
vote
0 answers

Installing drush on Mac

I Want to install Drush on my MAC, I followed these steps: "https://www.drupal.org/node/1674222" only I got an error when I run "composer install" in the Drush directory. I downloaded Drush from the Drush Github…
legend27
  • 11
  • 1
1
vote
1 answer

Cannot update to Drupal 8.7.1 because of taxonomy_post_update_make_taxonomy_term_revisionable

After running composer update drupal/core webflo/drupal-core-require-dev --with-dependencies to update to v8.7.1, and then running drush updb, the update fails here: [notice] Update started: taxonomy_post_update_make_taxonomy_term_revisionable [4.77…
mydoglixu
  • 934
  • 1
  • 7
  • 25
1
vote
1 answer

how to revert drush version in ddev Drupal 8 recipe?

I've been asked, by my remote host, to develop with drush 8, rather than drush 9. I need to revert my D8 ddev container from drush 9 to drush 8. I'm using ddev out-of-the-box Drupal 8 recipe which gives .ddev/config.yaml of: APIVersion: v1.6.0 name:…
nigelwhite
  • 15
  • 7
1
vote
1 answer

How to export config files in Drupal 7 with Lando

I've tried running lando drush cex or lando drush config-export but both give me this error: Command config-export requires Drupal core version 8+ to run. [error] The drush command 'cex' could not be…
Lee Wise
  • 902
  • 7
  • 16
1
vote
3 answers

drush orphaned actions drupal error

when i run drush sometimes i get: "2 orphaned actions (comment_publish_action, comment_unpublish_action) exist in the actions[warning] table. Remove orphaned actions" or somthing like that, is that critial error? or i should ignore it? what is that…
amirash
  • 2,419
  • 5
  • 24
  • 26
1
vote
0 answers

How to get my composer working with Drupal 8

After a lot of effort I finally managed to get my composer (with drush) working with Drupal 8.5.3 However I would like to update Drupal to latest version with composer. Updating composer with sudo doesnt gives me errors but doesnt update my…
Maikel
  • 11
  • 1
1
vote
2 answers

How to upgrade drush version in linux mint?

In NAME="Linux Mint" VERSION="18.1 (Serena)" sudo apt-get install drush to install the drush in my system. when I use drush version I still getting version 5.10.0 Even I tried composer also composer global require drush/drush composer…
vijay
  • 329
  • 2
  • 8
1
vote
1 answer

How can I get my drush aliases into the ddev web container?

I use drush rsync and other things that interact with my drush aliases, and so need to have my drush aliases in the ddev web container. How can I do that? It would be a shame to copy them all in there or have them in my project.
rfay
  • 9,963
  • 1
  • 47
  • 89
1
vote
1 answer

Drush workflow with git

I've read that when updating Drupal modules with Drush you should first delete the module so that there aren't any orphaned files that could end up causing problems. Is there an automated way to do this with some of the Drush command arguments? I…
Christian Schlensker
  • 21,708
  • 19
  • 73
  • 121
1
vote
1 answer

Getting /bin/bash: -c: line 0: unexpected EOF while looking for matching `''

I have a problem with my Gitbash. whenever I am running below drush command I am getting error command : drush @site sqlq "select * from tablename" error : /bin/bash: -c: line 0: unexpected EOF while looking for matching `'' /bin/bash: -c: line 1:…
Prachit Patil
  • 413
  • 5
  • 9
1
vote
7 answers

Drupal 8.5.1 Upgrade Errors - Where to Look for Troubleshooting?

I am in the process of upgrading a site from 8.3.5 to 8.5.1 I have the codebase updated, I have the modules configured through composer, and upgraded my drush installation with cgr and am running drush 9 within the installation. I have this site…
1
vote
2 answers

Drush silently fails to update core Drupal 7 installation - why?

For some reason, drush is reporting successful upgrade of a core Drupal installation from version 7.56 to 7.58, however it is only partially doing the job! See below. Only updates a few files, should be a lot more than this as in all core modules/…
ajmedway
  • 1,492
  • 14
  • 28
1
vote
1 answer

Packages.json could not be downloaded, SSL Operation timed out (Composer)

I'm currently downloading drush using Composer on my Drupal 8 Project and I'm having some issues during download as shown in the screenshot below. I have already installed composer globally and I'm not sure what else I'm missing
clestcruz
  • 1,081
  • 3
  • 31
  • 75
1
vote
2 answers

Does drush commands cause outage?

With our CD process, we have configured the following drush commands to be executed after code sync on the servers - drush @hostname rr drush @hostname cc all drush @hostname fra -y drush @hostname updb -y Now I want to know if execution of the…
Shuchi Sethi
  • 683
  • 7
  • 13
1
vote
1 answer

Pantheon and Drupal: terminus/drush update --security-only

I'm using Drush over Pantheons terminus command-line tool, and trying to update my dev environment. This command works just fine: terminus drush [sitename].dev "pm-update" However, I can't seem to pass the --security-only tag to drush in a way…
Daggar
  • 144
  • 4