Drush is a command line shell and scripting interface for Drupal.

learn more… | top users | synonyms

0
votes
1answer
22 views

Drush: how to set access to MySQL

When I run command "drush status" I cannot see any MySQL settings (user, password or database). I cannot use commands like "core-quick-drupal" because it requires access to MySQL, before ...
0
votes
1answer
11 views

drush sql-sanitize: exclude user #1?

When I run drush sql-sanitize, is there a way to exclude user #1 (or specific other users, for that matter) so his email address and password are not changed?
1
vote
2answers
21 views

Drush within Multisites

I am using drush on ubuntu 14.04. I have more than 20 site on my localhost /var/www with virtualHost setting. I have a question that whenever i go to /var/www/site1 and run drush dl module_name. It ...
0
votes
1answer
20 views

How can I restart the PHP environment installed with Drush for Windows?

I have installed Drush for Windows, works great, but it installs its own version of PHP in a subdir of the install directory. I've increased the memory limit and execution times in that ini but how ...
0
votes
1answer
12 views

Drush version component error

I am trying to enable drush aliases in linux so that I can use Acquia, but I am getting the following error when I run: drush @dev status Drush command terminated abnormally due to an unrecoverable ...
0
votes
1answer
19 views

Drush issue: Cannot enable modules on new drupal installation

I've been using Drupal for 8 months and Drush for the past 3.In short, I have Drush installed on a vagrant VM and it works with one of my dev sites and partially with my new dev site. I am able to ...
0
votes
0answers
11 views

Can I use drush to add an html file as content type “Blog entry”?

My site is endlessly attacked by hackers and spambots. This year they have been successful but I believe I am now holding them back with Mollom, HoneyPot and ZBblock. I now try to use Drush in ...
0
votes
1answer
10 views

How do I prevent Drupal raising a segmentation fault when using a Node.js theming workflow?

Symptoms: Some drush commands fail; Some Drupal pages are blank. The failing drush commands report "Segmentation fault: 11" The Apache log (e.g. php-error.log in MAMP) also shows the same error. ...
0
votes
1answer
9 views

drush -v @live status can't find remote php

I can't seem to get drush to execute fully using ssh. If I try: drush -v @live status The resulting error message is: /usr/bin/env: php: No such file or directory I can explicitly execute php ...
1
vote
1answer
36 views

How to configure drush command-specific archive-dump --tar-options in a site alias

The following command does exactly what I want — It dumps an archive, excluding all of the files and directories that I don't want: $ drush archive-dump --tar-options="--exclude=.git --exclude=*.psd ...
0
votes
1answer
21 views

Drush error on Mac

I installed Drush using Composer globally but when I try to clear the cache I get the following: No Drupal site found, only 'drush' cache was cleared. [warning] 'all' cache was ...
0
votes
0answers
12 views

Problems with additional trailing slash in when using drush rsync

If I use drush rsync the output is as follows: user@drupal:~/html$ drush rsync @live @local You will destroy data from var/www/ and replace with data from root@eso- ...
0
votes
1answer
22 views

Drush ard is working for DR6, not for DR7 > bootstrap error

Noticed something strange today: drush ard @sites is working in the folder /drupal6/sites/, but not in /drupal7/sites/. When i go to a specific folder, the command runs as expected (drush ard ...
0
votes
1answer
21 views

Drush and batch

i got an array of items. On each item, a process is executed wich manipulates data, write things to the database,... When i execute my drush script (ex: drush mycommand) i start a batch process: ...
0
votes
1answer
21 views

Drush bootstrap level error

Im running onto some issues with Drush. I worked with php 5.3 and after upgrading to 5.5, i ran into some issues and decided to downgrade my PHP version back to 5.3. Now im running into the issue that ...
3
votes
2answers
56 views

Drush for Drupal 4.7

I'm trying to find a version of Drush that is compatible with Drupal 4.7. I know it's old and lame and long time ago deprecated but I really need it for a project I'm currently involved in. I've tried ...
0
votes
0answers
10 views

Shouldn't drush update --s list what would be updated and new versions?

When I run drush update --s I get this: Simulating backend invoke: ssh -p 2222 -o "AddressFamily inet" dev.cd44f1e9-a5f7 ...
0
votes
1answer
31 views

Problems to sync databases with drush

Hey drush gurus all over the stackexchange network I have some problems with drush sql sync function When the password promt comes up I've used the linux root user pass of the remoot servers root ...
1
vote
2answers
26 views

What is the drush sql-sync arguments for modules, themes, sites, but “not core”?

My live/staging Drupal site on remote host was installed without git version control (I don't even recall, but I guess I used wget). Also it has content, modules and themes I wish to keep. The new dev ...
0
votes
2answers
57 views

Drush was not able to start (bootstrap) the Drupal database - MySQL Access denied error

I've installed Drush 7 using Composer and working with Drupal 8 and 7 on Ubuntu 12.04 with PHP 5.4.31, mysql 5.5.38 Drush will dl modules and themes just fine but when I want to en a module then it ...
2
votes
4answers
165 views

Drush doesn't detect drupal installation under sites sub-directory

I have been using Drush 4 and 5 with no problem. Now that I have downloaded and installed new Drush 7.0-dev using composer, I am having problem i.e it doesn't by-default detect drupal installation ...
0
votes
0answers
10 views

how to call drupal_static_reset from drush

I have a live site that needs a variable_set run from drush. I try using devel module execute php to do a variable_get and I am sometimes getting the correct result. Sometimes not. I have cleared ...
0
votes
1answer
49 views

Drush is unable to update my site

I'm trying to update my drupal core though drush. But how hard i trie, it won't work. I''m using drush pm-update but it fails. Below the output of the drush debug. Tnx in advance Drush bootstrap ...
2
votes
1answer
43 views

How to replace text in many nodes?

We're upgrading from Bootstrap 2 to 3. Now I need to replace CSS classes in the body fields of many nodes. This needs to be done in at least 5 sites. What is a good way to replace text in all nodes of ...
0
votes
1answer
17 views

drush 6.2.0 reports no version control found for core updates, but DOES find and use svn for module updates (pm-update)

for drush 6.2.0, when running: drush pm-updatecode --version-control=svn --svnsync --svncommit on a drupal 7 site that only needs module updates, drush will properly commit the changes to svn as ...
0
votes
1answer
24 views

Drush Hangs on wget but wget Works

Every drush command I run hangs on wget. However, if I run wget outside of drush, it works just fine. I am behind an http proxy and suspect that's factoring into the problem. I don't understand why ...
0
votes
1answer
24 views

How to disable a module dependents module? Not the module but the feature

Hello I have the module BEF better exposed filters installed and enabled and together with it is the BEF Test Content module (feature of BEF better exposed filters moduke). I just enable the features ...
0
votes
2answers
40 views

Why doesn't my watchdog() function run when I execute my custom module from Drush

I have a custom module that performs an import from an xml file. It can be invoked two different ways. From a menu callback or a custom drush command. The import works fine and all of it's many ...
1
vote
0answers
43 views

How to update a library through drush or git url? what about update chosen library?

I am new with Drush and git... previously I use to work with Ftp so at the moment I would like to know How I can update a common library by using drush or by using git (library url). I know that in ...
0
votes
1answer
29 views

Using drush to install multiple sites, how?

I'm executing the following commands in /var/www/html on a clean Ubuntu 14.04 installation: drush dl --drupal-project-rename=Platform cd Platform drush site install standard -y --db-url=[mysql ...
0
votes
1answer
23 views

drush alias files aren't being found

I'm working locally on my OSX and I have my drush alias files at ~/.drush/[hostname].aliases.drushrpc.php but no matter what project I'm in, only one of the alias files are being read, as confirmed ...
0
votes
1answer
27 views

How to Retrieve Env Var in Drush

Is there a way to retrieve shell variables in Drush? I cannot find anything in Drush API docs. If there is no way, how does one handle environment (dev, staging, testing etc.) configurations? Any help ...
1
vote
3answers
56 views

MAC -> Drush higher bootstrap level?

Since a couple of days now, i switched from a ubuntu machine to a macbook pro retina for my development works. I installed XAMPP on it, without to much trouble. But I have been struggeling with drush ...
2
votes
1answer
84 views

How to download directly to ~/.drush folder?

I've created a project that is basically a drush command with a starterkit folder. I noticed the make_local project will but I haven't figured out how it does that. I've tried the approach ...
-1
votes
1answer
33 views

How do you sql-sync a site with multiple databases?

I have a site that uses two databases. I would like to sql-sync both of those databases to the development version of the site. Is this possible? // Default drush sql-sync @prod @dev // Optional? ...
3
votes
1answer
48 views

drush default site alias

Is there a way of specifying a default site alias ? couldnt find it in drushrc example nor aliases example. motivation i am sclerotic and lazy :) usually running drush from the dir where the site ...
0
votes
1answer
67 views

Drush MAMP not working

I'm running with a big problem for hours now and it's driving me crazy, maybe one of you already know the answer. Drush seems to not want to work on my OSX (10.8.5) with MAMP (3.0.5). When I execute ...
0
votes
0answers
11 views

Migrate comments from D6->D7, comments not working

I can't figure out why my comment migration isn't working - the page node and user are in the D7 database, but running drush mi on the page migration isn't adding the comment to the comments table: ...
0
votes
0answers
32 views

Debugging solr in drupal

I have configured Solr with drupal modules, now my issue is when i tried mark all content and do a reindex iam getting the following log for few content type WD Apache Solr: HTTP Status: 0; Message: ...
3
votes
1answer
31 views

Block drush rsync command when specific alias is set as destination

I already have policy.drush.inc inside my Drupal drush directory at sites/all/drush. Also, I have a policy set to prevent sql-sync if the @staging alias is set. Thus, drush sql-sync @dev @staging ...
0
votes
1answer
37 views

Where do custom Drush hooks go?

I am attempting to sanitize my database as described in this Acquia guide. For my site, I need to sanitize all the usernames as well; I would like to sanitize the usernames exactly the same as the ...
0
votes
0answers
24 views

Custom layouts in panels not allowing me to add content

I created custom layouts for panels in my theme/layouts folder which I linked up in my .info file. When I create a new one I am able to select it as a layout in panels, but when I click the content ...
2
votes
1answer
36 views

Memory Exhausted after Drush install

I've made a drush install of drupal 7.28 on my AWS server. I can confirm that the memory is set to 128M, all green on the reports -> site status page. The website will function normally and ...
0
votes
2answers
32 views

Way to Configure IP Geolocation Views & Maps Module via Script

The module IP Geolocation Views & Maps has a ton of great features. By default, the data collection option: Employ the Google Maps API to reverse-geocode HTML5 visitor locations to street ...
0
votes
0answers
21 views

How do I update a site after its installation profile is updated?

Say I decide to add a new module to an installation profile I've created and used to build a bunch of sites with. Can I easily use Drush to update all of those sites to the latest version of the ...
1
vote
1answer
50 views

Drush php-script | Drupal functions such as node_load() are not being found

I have installed drush succefully in my Ubuntu 12.04. I have created a php script containing: <?php print_r(node_load(10)); I am calling myscript.php like this: $ drush php-script ...
0
votes
1answer
25 views

Recommendation for hosting Git VCS from my drupal installation

Our community does a lot of coding work (lua, c#, php, etc) and we are looking to move away from the usual repo hosts (BitBucket/GitHub/Jenkins) and make our website more of an all-in-one experience. ...
0
votes
1answer
62 views

Stuck. Installing Drush via Composer not working

It looks like I installed Drush, following the directions in the documentation. Here's what I did. Jens-MacBook-Air:~ jensimmons$ composer --version Composer version 1.0.0-alpha8 2014-01-06 ...
0
votes
0answers
30 views

Drush can not find a migration and can not start (bootstrap) the Drupal database

I am attempting to run a migration on my test site (which is running on a VPS) I have a migration named b_customer_import_000 which I attempted to run using: drush mi b_customer_import_000 The ...
1
vote
1answer
227 views

Problem file to import not found or unreadable ../../variables/_colors.scss [closed]

I'm currently using Omega 4 with Sass, compass, breakpoint, singularity. When I run the command drush omega-guard, I have the error below. Any body know what could be the problem. It's like there is ...