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
3 answers

Drupal: updating with Drush doesn't change update status

I've updated my drupal installation and drupal modules, but admin/reports/updates says that Drupal version is still 6.12. To update drupal I ran - drush updatecode - drush updatedb (this updated only modules and said code still needs to be updated…
AlexA
  • 4,028
  • 8
  • 51
  • 84
0
votes
2 answers

Running a bash command from a directory

I'm encountering an issue where a command (a drush profile, to be exact) needs to be run within a created directory automatically. I can't find much advisement within the script itself running it as an argument, and the logic i've been instructed by…
Cameron Kilgore
  • 383
  • 7
  • 25
0
votes
0 answers

Drupal provision module and drush?

I'm trying to automate the use of the provision drush extension. Mostly that works well, but I can't make a custom drush extension perform a provision-install command, unless I manually use proc_open to call drush again directly. To keep my code…
killbill
  • 149
  • 3
  • 11
0
votes
2 answers

Writing a CLI for a php-based CMS (Similar to Drush)

I've been working on a CMS for a few years and I actually implemented a jquery-based console in the admin area, where you could do some handy things like enable/disable modules and so on. I recently fiddled around with drupal and decided to install…
0
votes
1 answer

Aegir-up (Aegir+Vagrant+Drush) setup

I am trying to establish a proper Drupal development environment by using Aegir-up (Vagrant-based Aegir virtual machine). I will illustrate how I follow the following "Quick start" steps and fail: Install dependencies, including drush-vagrant and…
Dominykas Mostauskis
  • 7,797
  • 3
  • 48
  • 67
0
votes
1 answer

How to create script with Drush commands?

Is it possible to create file with sequence of drush commands to be executed? In particular, I would like to write script, that would download and enable more Drupal modules for example script with these lines (pseudocode). $modules = {"pathauto",…
tomas.teicher
  • 913
  • 3
  • 13
  • 26
0
votes
1 answer

Getting nodes to update with content type changes in Drupal 7

I have a local build of Drupal 7 with Xampp on windows. When I add a field to a node's content type, I see the field appear last, no matter what order I put the field in Content types > [myType] > Manage fields. I would tend to think this is a…
ansorensen
  • 1,276
  • 1
  • 14
  • 29
0
votes
1 answer

"Drush up" runs updates automatically

In a Drupal site, I ran "Drush up" to upgrade some modules though I didn't want to upgrade all so I chose to back out of it. However, Drush still ran the databases updates automatically. Is this usual behavior? When it came to Do you wish to run all…
Allan Thomas
  • 3,481
  • 5
  • 26
  • 29
-1
votes
0 answers

"Command theme:uninstall was not found. Pass --root or a @siteAlias in order to run Drupal-specific commands."

When I try to install or uninstall the theme via command, I am presented with the following error message. Command theme:uninstall was not found. Please provide the --root or a @siteAlias to execute Drupal-specific commands. I am using Drupal…
-1
votes
1 answer

Unexplained behavior of Drupal site after drush cr, between browser and cURL load times

After I perform drush cr on my Drupal site, I open the site via browser and it takes 52 seconds to load, the first time. But if I perform drush cr and then curl https://example.com -from within the site's server- and then I open the site via…
Tasos
  • 1,575
  • 5
  • 18
  • 44
-1
votes
1 answer

getting command cim not found error in drupal while using drush commands

drush cim error and also database is not shown to be connected when running drush st. https://i.stack.imgur.com/Wnzgh.png
-1
votes
1 answer

Could not find package drush/drush

I'm facing a problem while I'm running this commmand composer require drush/drush but it didn't work for me and I got this error message: [InvalidArgumentException] Could not find package drush/drush. It was however found via repository search,…
joes
  • 137
  • 1
  • 1
  • 7
-1
votes
1 answer

How can I use Drush 9 (instead of Drush 10) in my Drupal 8 DDEV-Local project?

Using ddev I created a webserver locally and I have a Drupal 8 project with drush 10, but I need drush 9. How can I change the version of drush in the project? Thanks so much
AndreaAmb
  • 1
  • 1
-1
votes
1 answer

How to use drush which is installed by composer as project dependency (Drupal 8)

I have drush added to composer.json file and I do see drush folder inside root of my drupal 8 project but I don't know how to call it?
MilanG
  • 6,994
  • 2
  • 35
  • 64
-1
votes
1 answer

Drush rsync code 23 error

I have a path issue. I can't seem to figure out why I am getting this code 23 error. Here is the complete error message: I am guessing that rsync cant write to my local /private/tmp directory. Here is the output: ``` Do you really want to continue?…
daveferrara1
  • 87
  • 1
  • 11
1 2 3
23
24