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

Drush failing on Vagrant with Mavericks

I've just gotten a new MacBook Pro running Mavericks. We're using Vagrant with Puppet on this project and when I do vagrant up I get this error err: /Stage[main]/Drush::Git::Drush/Exec[first drush run]: Failed to call refresh: /usr/bin/drush status…
Steven Grant
  • 1,236
  • 3
  • 15
  • 32
0
votes
1 answer

Ubuntu 13.04 Lamp and drush

I'm running Lamp stack on Ubuntu 13.04, and when I try to use drush to, for example, cache-clear, I get the following error : I know it's because of Lamp. For example when I want to connect to mysql, I have to manually specify the socket file, which…
Evaldas Raisutis
  • 1,628
  • 4
  • 18
  • 32
0
votes
1 answer

Is there a way to run `drush test-run --xml=... SomeTestCase` and display the report information on the console?

Basically, I want to avoid visiting a browser to get the detailed test results.
Favio
  • 1,009
  • 1
  • 8
  • 19
0
votes
1 answer

drush: no path to user login after archive-restore

I'm having the following issue: I backed up my Drupal7 project on my localhost via $ drush archive-dump --destination=/var/backup/example.com.tar.gz using drush 6.1.0 on my Ubuntu 12.04. (apache2/php5.3.10/mysql 5.5.34). I then tried to restore it…
queerdancer
  • 35
  • 1
  • 5
0
votes
0 answers

xcache.so issue on MAMP since Mavericks upgrade

After updating to OSX 10.9 Mavericks, MAMP stopped to work with Xcache for some reason. $ drush status Failed loading /Applications/MAMP/bin/php/php5.3.20/lib/php/extensions/no-debug-non-zts-20090626/xcache.so: …
staminna
  • 468
  • 1
  • 5
  • 26
0
votes
2 answers

Cannot use cd command to change directory in Drush (win7)

I just installed Drush 6.0 on a Win7 machine. With cd command I can move around inside of C:\ but can't change to P:. Cheers
Nicolas
  • 3
  • 3
0
votes
1 answer

Drush or bash command to turn off default Drupal cron

Is there any easy way to turn off Drupal cron like setting 'Never' in admin/config/system/cron? Need to use such command in Jenkins bash script for automatic Drupal instance spin-up
Jokerius
  • 1,310
  • 1
  • 14
  • 22
0
votes
1 answer

kraftwagen is not working

I'm trying to do setting a kraftwagen project using http://kraftwagen.org/get-started.html I can go through the document until Building topic. But after that, when I try to run drush kw-b is it give some error. $ drush kw-b Makefile generated from…
Dinuka Thilanga
  • 4,220
  • 10
  • 56
  • 93
0
votes
1 answer

Notices, exceptions and debug message make build unstable while running Drupal tests on Jenkins

Jenkins runs Drupal tests (simpletest core module) of some custom modules. Tests pass, however result considered unstable because of some warnings, notices, etc. Same 'unstable' result is when some tests fails, so I couldn't run next job if build…
Jokerius
  • 1,310
  • 1
  • 14
  • 22
0
votes
0 answers

Why does calling drush command by system() fail?

I have Drupal 7 site on IIS 7.5 server. Inside IIS Services Manager I choose user with administrator rights in anonymous authentication settings. I'm sure that drush command is in evn path. When I logged as this user (Win7) I can call this command…
Codium
  • 3,200
  • 6
  • 34
  • 60
0
votes
1 answer

Drupal module case issues in install profiles

I've been trying to create a Drupal 7 install profile, but it seems that certain modules use different case for the name verified by install_verify_requirements() and the actual module install directory (which mostly affects unix/linux installs),…
maciekrb
  • 227
  • 1
  • 11
0
votes
1 answer

How can I use drush as root user on a VPS to install drupal as a domain user?

If I am logged in as root and cd to a domain user folder such as /home/mysite/www and I then use drush as follows drush site-install standard --account-name=mysite --account-pass= "*****" --db-url=mysql://my_site_admin:"*****"@localhost/my_site It…
dimmech
  • 827
  • 9
  • 19
0
votes
1 answer

Drush install on local server error (Command pm-enable needs a higher bootstrap level)

I am getting an error message in Drush on a local mamp install PDO::__construct(): [2002] Connection refused (trying to connect via tcp://127.0.0.1:3306) [warning] environment.inc:517 Command pm-enable needs a higher bootstrap level to…
weaveoftheride
  • 4,092
  • 8
  • 35
  • 53
0
votes
3 answers

Command needs a higher bootstrap level to run

I looked allover to a resolution to this but i'm just not finding it. I am trying to use drush on my MAMP platform (I have Leopard). Installation seems to have gone well, but i get errors when i try to use it. My default shell is tcsh. I made a…
user2216249
  • 1
  • 1
  • 2
0
votes
1 answer

How to access a remote site using the command line (with drush)?

I don´t know how to use drush nor the command line, so I´ve started to read some tutorials, and watch some videos. I´ve installed the drush windows installer, because I have windows. The thing is that all examples I´ve read so far, start with…
Rosamunda
  • 14,620
  • 10
  • 40
  • 70