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

Can drush (drupal) do CVS checkout?

I'm using drush, which supposedly can be used instead of a cvs program to checkout from the drupal repository. All tutorials I've found don't mention drush, instead they start with cvs. cvs -z6…
syhuro
  • 325
  • 1
  • 3
  • 8
2
votes
3 answers

Drush fails with ReflectionException: Class Drush\Sql\Sql7 does not have a constructor

I have followed instructions on http://docs.drush.org/en/master/install/ to install Drush (tried both global and individual options). When I cd to the Drupal site root and type "drush status" I get the following: Drupal version : 7.34 …
Alexis
  • 83
  • 2
  • 11
2
votes
1 answer

How to run drush command from code

I'd like to trigger a Drush command from a Drupal function, anyone have any suggestions for how best to do it?
lazysoundsystem
  • 2,039
  • 23
  • 23
2
votes
0 answers

drupal issue with install profile and domain module?

I had generated the make file with the contrib module domain. When we enable the domain module, we just want to append the following code to the settings.php file. include_once…
John Melchior
  • 417
  • 2
  • 5
  • 22
2
votes
2 answers

Synchronize two databases in Symfony

Is there any similar tool like Drush (for Drupal) but in this case for Symfony2 To keep synchronized two or more databases for differents users in local development.
2
votes
1 answer

Having trouble authenticating in Drush with SSL

My Drupal site is hosted at Pantheon (getpantheon.com), I'm using Drush on a Windows 7 x64 machine. I was reading this article on commands using Drush + Terminus (a special Drush extension for Pantheon…
Sage
  • 200
  • 1
  • 10
2
votes
2 answers

How to intall drush on hostgator servers

I would like to have Drush on Hostgator shared hosting. I just spent 1 hour trying various outdated tutorials (Drush now requires composer). Does somebody have proved, tested and working solution how to install Drush there? I'm using PHP 5.4. My…
Jasom Dotnet
  • 1,225
  • 12
  • 17
2
votes
6 answers

Drush error after Yosemite update

I just updated to Yosemite and I keep getting this error message from drush. dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.53.dylib Referenced from: /usr/local/bin/php Reason: image not found …
blackbull77
  • 281
  • 1
  • 5
  • 14
2
votes
3 answers

How safe is it to use Drush?

Since this is a beta-1 release, Is there anything which I should especially be worried about?
Dan Albey
  • 559
  • 1
  • 8
  • 14
2
votes
2 answers

Drush fails with "No release history was found for the requested project ..."

I am new to Drupal and I have a problem with installing Drupal using Drush (at the command prompt). After I generate a Drush make file named test.make, using http://drushmake.me/ , I wonder how I can install Drupal using this Drush make file in…
Jurgen Kruja
  • 57
  • 1
  • 11
2
votes
1 answer

Is it possible to use drush to rsync files to the drush dump directory for MySQL dumps?

I want to use the drush rsync command to transfer files from a remote server to the local Drush, using the Drush dump-directory on both servers. In my mind it would look something like this: $ drush rsync @remote$dump-dir/drup.sql.gz…
Slam
  • 3,125
  • 1
  • 15
  • 24
2
votes
1 answer

Drush on Cygwin setup

I followed the instructions here to install pear and download drush in usr/local/src folder and create the symlink in usr/bin/drush At the end of the instructions is says you can test by running drush. I get this output: -bash:…
AlxVallejo
  • 3,066
  • 6
  • 50
  • 74
2
votes
2 answers

is there a drush command to call a method from a custom class?

Is there a way to call methods from custom classes using drush? In the same vein, is there a way to instantiate the objects from drupal custom classes in the command line (and have all the drupal_specific functionality that was used in the class…
Eric P
  • 31
  • 5
2
votes
2 answers

Drupal 7 Login can't view admin bar, Fresh Install via Drush on CentOS 6.3

I've spent quite a few hours trying to figure out what the problem is. The issue is: Login works but the page doesn't change once I log in as admin. I know that the login works because wrong credentials generate an error. I do not even see the…
not_this_again
  • 187
  • 2
  • 9
2
votes
1 answer

Drush make - errors unzipping and distinguishing mime times

I've installed Drush 5.8 on Windows 2008 R2 Enterprise, with all the options included except Remote Management. Whenever I run drush make I get errors about it not being able to unzip a github archive file, and unable to determine mime type for a js…
Matt
  • 1,897
  • 4
  • 28
  • 49