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

Upgrading XCache on MAMP

While trying to compile Xcache version 3.x for MAMP, phpize looks for a previous version of PHP which comes with Xcache 2.x pwd: /Applications/MAMP/bin/php/php5.5.3/xcache-3.1.0 $ phpize grep:…
staminna
  • 468
  • 1
  • 5
  • 26
1
vote
1 answer

Is there a way to install Drupal from bash script without using Drush?

Looking for relatively easy way to install Drupal instance from command line without using Drush. I want just to use installing script and archive of custom modules to install Drupal on customer's server (it may not have Drush installed).
Jokerius
  • 1,310
  • 1
  • 14
  • 22
1
vote
0 answers

drush is not making a sub theme

my command vishal@vishal-linux:~/Dropbox/sites/residen$ drush zen "residen theme" --path=sites/all/themes/ the output : Source directory /home/vishal/Dropbox/sites/residen//STARTERKIT is not readable or does not exist. …
Vishal Khialani
  • 2,557
  • 6
  • 38
  • 49
1
vote
1 answer

Version control with hooks, migration and bash

I'm trying to find a fine solution for migration control betweem local wamp and server lamp involving git and Drupal. I've already found a nice solution for migration control with CodeIgniter thanks to the Migration class. Then I can utilize the…
Robin Castlin
  • 10,956
  • 1
  • 28
  • 44
1
vote
1 answer

Should I enable exec(), use php safe mode or change php.ini?

I would like to use drush on my VPS for drupal maintenance tasks. However I've disallowed exec() from php at the suggestion of the self-test results from my installed firewall. Drush apparently wants this privilege and I've seen three options to…
dimmech
  • 827
  • 9
  • 19
1
vote
1 answer

Installing Drupal with Drush make and install profile and using a bash script - how to answer yes/no?

I have a bash script and when I run it, I'm asked the question: "You are about to create a sites/default/files directory and create a sites/default/settings.php file and DROP all tables in your 'geo_test' database. Do you want to continue?…
weaveoftheride
  • 4,092
  • 8
  • 35
  • 53
1
vote
1 answer

Drush (or equivalent) on windows azure for drupal automation?

I am setting up a drupal multi-site environment on windows-azure (webrole/cloud service). Drush is a great command-line tool and necessary for maintaining several multi-sites at once. Windows Azure integration for Drupal is quite good, but I haven't…
larrydahooster
  • 4,114
  • 4
  • 40
  • 47
1
vote
1 answer

How can i setup Drush to use a proxy server to access internet on Windows7?

i am using WAMP for Drupal development. I have installed drush and it works fine when using home network without any proxy. When i am at work, the network setting uses a proxy to access internet and hence any drush command which need internet, eg.…
Ranjan
  • 448
  • 3
  • 13
1
vote
1 answer

Using Drush Site-Install in C#

I'm trying to do a Drupal site install using Drush in C# as part of a full Windows Server site installation using MSI. The Drush commmand I am using is the following one. C:\ProgramData\Drush\Drush.bat -y si application_name…
1
vote
0 answers

executing drush site install in c#

Possible Duplicate: Using Drush Site-Install in C# I'm trying to do a Drupal site install using Drush in C# as part of a full Windows Server site installation using MSI. The Drush Commmand I am using is C:\ProgramData\Drush\Drush.bat -y si…
1
vote
5 answers

How to create a Drupal role from the command line?There is no role named: organizer

I can create a user and add a user to a role from the command line: $ drush user-create organizer1 $ drush user-add-role organizer organizer1 There is no role named: organizer However, I don't know how to create a role from the command line. I…
Freeman
  • 5,810
  • 3
  • 47
  • 48
1
vote
1 answer

drush fails to clear cache: Fatal error: Call to undefined function lock_acquire()

I have installed Drush 5.6 on my ubuntu machine, and I am now working on a Drupal theme, so I need to clear the cache frequently, but I cannot seem to do it with drush... When I run the drush cc all inside my drupal site folder, I get the message…
Jason Blade
  • 373
  • 2
  • 4
  • 17
1
vote
1 answer

`drush up` Eventually Asks For a Password. Why?

I am new to using drush's fancier features. Today I was hoping to make my life easy for a core update by using the all inclusive drush up command. While logged in via ssh, the terminal displays that server's user like the following…
Wray Bowling
  • 99
  • 1
  • 11
1
vote
2 answers

bootstrap error trying to enable drupal module with drush

Trying to install my first drupal module. Following the book did not work because of an "FTP" error so I installed drush. Download seemed to work now the enable command gives me this error. I'm a noob with ubuntu and every part of drupal. Help.…
0
votes
0 answers

How to run drush cim command for importing all the configurations

I cloned the drupal project on my local. I have a Docker desktop app. so I run docker-compose up -d on command prompt. docker-compose.yml: services: mariadb: image: wodby/mariadb:$MARIADB_TAG container_name: "${PROJECT_NAME}_mariadb" …
Bohdan V.
  • 115
  • 1
  • 11