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

learn more… | top users | synonyms

0
votes
2answers
13 views

Why don'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 ...
0
votes
0answers
11 views

Can't run Bundle install [on hold]

I'm kind of new to omega 4 and i'm workin on windows 8 and Cgywin . when i go to my sub-theme with drush or cgywin and run bundle install i get error like this : An error occurred while installing ...
1
vote
0answers
18 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
23 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
17 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
24 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
41 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
77 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
26 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
43 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
40 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
9 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
25 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
23 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
34 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
20 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
35 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
18 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
36 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
22 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
36 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
22 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 ...
0
votes
1answer
83 views

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

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 ...
1
vote
0answers
59 views

Drush installed and running; No Drupal site found even with uri specified

After much trial and tribulation, I thought I had drush all ready to roar. Much excitement. But then, no joy... Drush is working. The sites operate fine via MAMP. Regardless, a "drush cc all" command ...
0
votes
0answers
8 views

Drush won't bootstrap database in Windows

I'm using Windows IIS running under the Parallels Plesk control panel and installed Drupal 7.2.x and I also install Drush. I'm able to run basic commands but I'm unable to run any commands like SI or ...
1
vote
2answers
34 views

Improve performance by using drush functions instead of Drupal module functions

I am trying to improve the import performance of a drupal website we are working on. The site makes use of the queue api to import individual items. Currently this process is very slow. I have hear ...
0
votes
1answer
26 views

debuging drush with xdebug

I'm trying to debug a segmentation fault (11) from drush. I have xdebug installed. The command it's giving the error is the pm-disable. $ drush dis "module" --debug --verbose: ... Calling hook ...
0
votes
2answers
83 views

Install a specific version of Drush [closed]

I'm using Linux. How can I install the a specific version of Drush, for example 5.9.0?
0
votes
0answers
28 views

Drush PHP Fatal error: Call-time pass-by-reference

everytime I try to run any drush command, I get: PHP Fatal error: Call-time pass-by-reference has been removed in /usr/share/drush/commands/densite/densitein.drush.inc on line 112 Drush command ...
2
votes
1answer
36 views

Drush rsync permission woes (files directory)

I'm rsyncing just the files directory (rest of the site is done through git) from my local Ubuntu setup to my centOS server. It worked at least (thankfully), but produced a ton of errors. First it ...
2
votes
1answer
52 views

Using drush to change options of contrib module

I would like to use drush to change one of the options stored in a large options field of a contrib module configuration table. drush vset/vget, as far as I know, only work on the options that are ...
0
votes
0answers
53 views

Drush installed globally via composer as root user, but how to access Drush with ordinary user?

By following the instructions on the Drush git page: composer global require drush/drush:6.* I have Drush up and running (it seems to live in /root/.composer/vendor/drush/drush). But I imagine I ...
3
votes
3answers
70 views

Where do I input drush commands?

I am developing a Drupal 6.28 core website from a PC and was wondering where I would make drush commands to update the Drupal core to 7. I am new to Drupal and PC Development, but I assume that it ...
0
votes
1answer
44 views

Does Drupal 7 require Drush 7?

In a Drupal 7 project I'm working on I need to install Drush in order to perform a variety of operations. The only trouble I see is that the latest Drush installer for windows only goes up to version ...
0
votes
0answers
61 views

Best practice for installing Drush?

I have been a Drupal site builder for some time, but I kind of got started with it backwards. Recently, I have begun learning more server-end things like Drush, Git, etc. I'm playing around with a ...
1
vote
1answer
46 views

Issues with Drush Sql-sync . MySQL issues

I am issues trying to sync my staging server with my local server using Drush and sql-sync. I've set my aliases right and the same configuration is working with my development server and local ...
1
vote
1answer
23 views

Drush ignoring `$options['config']` statement in drushrc file from the 'drush' folder at the root of the current git repository

I'm a long-time browser, first-time poster. I have a Drupal 7 site set-up using Drupal-Boilerplate structure in a Git repository. I defined some settings in the drush/drushrc.php file. The ...
0
votes
0answers
128 views

drush cron fails: Drush command terminated abnormally due to an unrecoverable error

$ drush -v -d cron Bootstrap to phase 0. [0 sec, 1.65 MB] [bootstrap] Drush bootstrap phase : _drush_bootstrap_drush() [0 sec, 1.77 MB] [bootstrap] Cache HIT cid: ...
1
vote
2answers
38 views

Can't install Drush on FreeBSD

I'm running FreeBSD 10 with PHP5.3.28 I can't use the port or package to install Drush because it will install the default PHP (5.4) as a dependency. So I installed Drush manually. Then when I ...
0
votes
0answers
32 views

Drush, Omega 4 - Does not seem to recognize Drupal site

I've installed Drupal 7, Drush 7.0 and the Omega 4 theme. I'm using MAMP. Drush does not seem to recognize the /Applications/MAMP/htdocs/newsite/ as a Drupal folder (which it is). I'm attempting to ...
1
vote
1answer
21 views

Drush Remote Aliases Line Wrapping Different Than Local Line Wrapping

We are using Drush version 5.9 and Drupal 7.27 and 7.26. We have a variety of drush aliases, some marked specifically as REMOTE and one for the LOCAL instance. Example for REMOTE: ...
0
votes
0answers
31 views

How can I tell if I have Drush 7 on windows?

I followed the instructions for installed Composer and drush 7, which I found on https://github.com/drush-ops/drush#install---composer. I installed Composer and I was able to run: composer -V and ...
0
votes
1answer
26 views

List returned by drush site-alias is correct, but drush @sites finds an incorrect list

I'm using drush 7.x-4.5, Drupal 7.28, Apache 2.2.21, PHP 5.3.8. I have a multi-site installation, with a dozen or so sites, such as: /path/to/drupal/sites/example1.com ...
1
vote
1answer
33 views

How to use Drush with Apache Directives?

My Drupal installs are set up with apache environment variables/directives (SetEnv DB_NAME somedb) to store the database name, username and password. It appears that Drush isn't able to use these by ...
5
votes
1answer
215 views

How to dump a single table from database using drush?

I'm aware of mysqldump utility, but is there any way of dumping a single table from database using drush (e.g. for sql-dump, sql-sync)?
0
votes
0answers
20 views

windows drush archive-dump: “Source directory error”

I've run into a problem performing a routine backup on my local Drupal website. Typing in the Drush Command Prompt at my drupal directory drush archive-dump --destination=../mysite.tar.gz runs fine ...
0
votes
0answers
18 views

Remove components from a feature using Drush

Using Features UI to manage a big feature components is a tedious task. Therefore in order to add a new component I use drush fe myfeature views_view:myview1 Now how I remove the uneeded component ...
0
votes
1answer
201 views

Drush was not able to start (bootstrap) the Drupal

Installed drush 7 using Composer & working with Drupal 8 with xampp stack on Windows. H:\xampp\htdocs\d8_test is the Drupal root. Location of settings.php file is ...
1
vote
2answers
78 views

Drush not connecting with Drupal - Bootstrap error?

I've installed Drupal 7, Drush 7.0 and the Omega 4 theme. I'm using MAMP. I'm attempting to create an Omega subtheme with the command line: drush omega-wizard I then receive the following error: ...