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

learn more… | top users | synonyms

0
votes
0answers
5 views

Prevent Apache Solr from holding up mass user deletion

We have a very large number of users that we need to delete out of a Drupal 6 instance. We are using a script to get all the relevant users (by ID) out of the database and then deleting them using ...
0
votes
1answer
14 views

Drush not updating Drupal core

I've been wrestling with this since yesterday and have reinstalled drush 3 times, rebooted, restarted mysql(mariaDB) and a few other things but nothing works. I'm trying to update my core from 7.14 to ...
4
votes
2answers
90 views

What is the easiest way to install clean Drupal from scratch? [on hold]

What is the easiest/quickest way to install clean Drupal from scratch on empty folder for testing purposes by using drush (without resorting to shell scripts or aliases).
3
votes
1answer
36 views

Drush updates core successfully to 7.32 but is still 7.31

I'm developing a site on Drupal 7 and using drush 7.0-dev to keep the core and modules up to date. I've run drush pm-update several times successfully in the past, until Drupal core version 7.32 came ...
3
votes
1answer
15 views

How to best handle “sudo: no tty present and no askpass program specified”

Mac 10.9, Drush Version : 7.0-dev I have custom Drush commands that contain shell commands with 'sudo' included. This results in an error when calling with remote alias to execute on remote ...
0
votes
1answer
9 views

How to make custom Drush commands to work on remote instance

I have developed custom Drush commands that includes some shell commands all which work locally. I would like them to work also on the remote instance with aliases that have the remote settings. Here ...
2
votes
3answers
16 views

Is it possible to do a drush sql-sync of only certain tables?

I have 4 environments between my local, dev, staging, and production. A large amount of content is published to the staging environment on a daily basis, so that is the center of my workflow. Once ...
0
votes
0answers
23 views

Drush 7.0-dev not able to pm-updatecode

I am using a site-alias with Drush 7.0-dev and I can download modules but I can't update the code. I keep getting the following error: Command pm-updatecode needs a higher bootstrap level to run - ...
0
votes
1answer
23 views

How to force a running migration to stop

I created a migration with a query that seems to have broken my migration. I added two groupBy on a query, instead of two orderBys. As a result, running drush mi MyMigration got stuck in what appeared ...
0
votes
0answers
9 views

The drush command 'import' could not be found

I am connecting to two sites via SSH I used Drush 4.4 export on a D6 site to export a node type. I now want to import that onto a D7 site (running Commerce Kickstart2) which contains a newer version ...
0
votes
1answer
32 views

drush inheritance, site-ssh and site-list

It's possible I'm going about this all wrong, and I should be setting up my aliases file differently. We have a set up with 4 load-balanced production servers running the same code and accessing the ...
0
votes
1answer
8 views

Drupal Quickstart / Drupalpro - mysql misconfigured to “drupalpro” user

I've been trying to do a drupal quickstart-create database and its creating the database, but it only shows up on the root account, but its not creating it on the current user's account "drupalpro" ...
1
vote
1answer
48 views

drush up need to be maintenance mode?

I'm not asking if I can update my website with drush. I'm not asking if Drush can make it in maintenance mode. My question is ... if I'm using the command drush up to update my Drupal core or a ...
-1
votes
0answers
13 views

Error: drush_bootstrap_prepare() in console

i get this Error if i type in a Command: why i get this Error? can someone Help me? thanks
0
votes
0answers
26 views

Drush - nothing happens

if i'm in my drush console at my drupal dir /xampp/htdocs/drupal and type in something like "drush en color" nothing happens. why? @tunic same again
2
votes
2answers
114 views

Drush does not acknowledge release of new core update

I am trying to update my drupal 7.31 core to 7.32 via Drush. I ran the following commands $ drush pm-releases Project Release Date Status drupal 7.x-dev ...
0
votes
1answer
23 views

How to skip “Checked available update data for” all modules when I just want to update core or a specific module?

I'm upgrading a lot of my Drupal sites to 7.32. Unfortunately it takes a lot of time for each site because of some update check that I don't need. On How to upgrade only core with drush? I learned I ...
7
votes
3answers
250 views

How to upgrade only core with drush?

There's a huge security leak in <7.32. So I want to upgrade all my Drupal sites asap without too much worrying about breaking stuff. But... $ drush dl drupal-7.32 It's forbidden to download ...
0
votes
1answer
28 views

Omega 4 without Drush [on hold]

Hi [still new to Drupal] Due to certain constraints I can't install drush. Am I able to work on Omega 4 without Drush? Does anyone have a good place to start. Please can you assist?
0
votes
1answer
23 views

How can I invoke a drush hook on a remote alias?

I have a local dev environment and a test server environment. Both are running the exact same code. In a custom module, I added a drush hook to extend the sql_sanitize command in order to ensure all ...
0
votes
1answer
17 views

Drush aliases and Permission denied (publickey,password) problem

Im trying to use Drush Aliases but getting Permission denied (publickey,password) error. I can login to server using publickey without password but Drush can not. I've read the solution mentioned ...
1
vote
2answers
38 views

Drush cc all doesn't flush and rebuild templates?

I am trying to clear the cache using Drush cc all because I deleted a function in the module/theme files and the site won't render... I always have to login in as admin, performance > Clear all ...
1
vote
2answers
60 views

Drush command needs higher bootstrap level - Pantheon Drush Alias Setup

I just setup pantheon for one of my websites. So far I've done the following and the site works fine: Version Drush: 5.3 Local Dev: Ubuntu 12.04 Git clone the repo to my local desktop Copy the ...
1
vote
0answers
17 views

How check drupal distribution vesrion from CLI

I have OpenAtrium2 instance and I want to check it version from CLI. How can I do it?
0
votes
0answers
24 views

how to use drush commands for a live site? [duplicate]

I am using drush in my localhost. I am new to drupal and i want to execute some commands in drush for a live site. can anyone know how to use drush for a live site...?
0
votes
1answer
14 views

Drush - How to install a specific core base (language)

What is the syntax to download and install the French version of core? https://localize.drupal.org/translate/languages/fr
0
votes
0answers
12 views

How to write Drush script for retrive data?

I want to retrieve a field value by given nodes.node has a field 'promo code'. How can I retrieve 'imageurl' value by giving 'promo code' field using Drush script? What is the better way to do it? I ...
1
vote
1answer
30 views

Safely remove drush 5 and then use composer to install drush 7

I have drush 5 installed on my VPS running CentOS 6. Drush was installed using PEAR. Can I just remove the drush directory and the simlinks and then install drush 7 using composer? I have been ...
0
votes
1answer
23 views

How to use drush site-lists alias?

I several folders containing symlinks to my drupal sites. I'd like to use this folder structure to create an alias so I can run commands on each group of sites. I'm trying to do what "drush @sites ...
0
votes
0answers
21 views

How to override ssh-option for rsync?

I've the following aliases.drushrc.php sample configuration (you can place it in empty folder for testing): <?php $aliases['local'] = array( 'remote-host' => 'localhost', 'ssh-options' ...
1
vote
2answers
16 views

How to pass wildcard via drush exec?

How to pass wildcard via drush exec on remote host (via ssh)? I've tried already: $ drush @foo exec 'ls -al *' $ drush @foo exec "ls -al *" sh: 1: ls -al *: not found Command 'ls -al *' failed. $ ...
0
votes
0answers
7 views

How to ask drush to add timestamps to output?

Some of the steps in our drush-make process take a while and having timestamps in the build-log would be useful -- for every line. Is there a way to do this already, perhaps? The DRUSH_BACKEND pieces ...
3
votes
1answer
45 views

How to capture git's output in drush make?

We use drush to clone a number of git-repositories during build. Most of the time this "just works", but on (a rare) occasion, a cloning fails. Unfortunately, all that we get from drush in such cases ...
0
votes
2answers
57 views

Drush pm-disable needs a higher bootstrap level to run

I keep having this periodic issue with the pm-disable (amongst other) commands in Drush. I have kicked the tires on configuring Drush -- I have the datbase connect set to 127.0.0.1, have php.ini in ...
-1
votes
1answer
15 views

Cannot change Drush version from 6.1.0 to 7.0

I am trying to update my version of Drush to include the Omega commands. For this I think I need 7.0. I have run composer global require drush/drush:7.0.0-alpha5 and this installs the package but when ...
0
votes
0answers
16 views

Upgrading to Drupal 7 from Drupal 6 - Drush command terminated abnormally due to an unrecoverable error

When upgrading locally via Drush site-upgrade @alias, I receive an unrecoverable error on step, "Major Upgrade 12-a". Just before the error, the html markup for garland Site off-line is printed. My ...
0
votes
0answers
56 views

Unable to load autoload.php

I've looked through all similar issues reported but none of them solves my problem. I always install drush with composer and installing 6.4.0 is working just fine, but when I install dev-master then I ...
0
votes
0answers
69 views

How do you install Drush 7 for Drupal 8? Installed composer and still doesnt work.

I'm trying to install drush 7 for drupal 8, but im hitting a snag. I installed composer and now i downloaded drush 7 and unzipped it to /opt/drush7 I get the follow error when running drush even ...
0
votes
1answer
17 views

Drush 6 installed on a centos server. How do i find out where its installed and upgrade it?

how do i find where is drush installed? its currently on drush 6 and looking to update it to drush 7 for drupal 8. Whats an easy way to find where its installed and update it?
0
votes
0answers
12 views

drush pm-updatecode hangs

I have a strange problem with Drush. My environment is CentOS release 6.5 (Final) PHP 5.4.32 (cli) (built: Aug 22 2014 07:07:38) Zend Engine v2.4.0 Xdebug v2.2.5 Composer version ...
1
vote
1answer
34 views

Drush hangs while executing any command

I am experiencing a strange problem while running drush commands on newly installed server and newly installed drush(it's been installed with composer). Exact the same configuration works fine on my ...
6
votes
1answer
84 views

How do you Drush download Drupal 8 Alpha via the command line?

I usually download the latest drupal 7 using the command: "drush dl drupal --select" But drupal 8 isn't listed there. What are some nice and quick ways of download the latest version of Drupal 8 even ...
1
vote
1answer
47 views

Drush 7 site-upgrade

I'm trying to determine if I can migrate a site from 6 to 7 with Drush 7. I get this, "Error: Call to undefined function drush_sql_empty_db()", and I did some searching and this function does not seem ...
1
vote
3answers
42 views

Executing multiple drush commands

I manage a lot of Drupal sites and drush is a lifesaver. I usually script what I need done and then loop over all of the sites. Many times I need to execute several Drush commands on the same site. ...
1
vote
1answer
22 views

drush coder-review in specified folder [duplicate]

How can i perform code review with coder_review command in a specified folder? I see that i can give it contrib or core directives, but i would like to only check a folder in my modules folder like ...
0
votes
0answers
29 views

Database issue with Drush aliases on Windows

I'm having issues getting the drush sql-sync command working, and it seems to be related to how my site aliases are set up. When I try to run the sql-sync command with my local and production aliases, ...
0
votes
2answers
54 views

Drush can't connect to local MySQL through socket on WAMP

Trying to set up Drush with in a local dev environment on Windows 7 and can't get MySQL properly configured. A test command I've been running via Cygwin, with the resulting error, is as follows: $ ...
0
votes
1answer
42 views

How to pass custom variables into drush site-install?

I'm installing drush profile via: drush site-install my_profile --db-url=db.url --account-name=admin --account-mail="admin@example.com" --site-mail="admin@example.com" --site-name="My Site" But how ...
1
vote
2answers
60 views

Drush returns “sh: php: command not found, code: 127”

Drush returns "sh: php: command not found, code: 127" I just managed to get Drush working finally on my MacBook-Pro (2008). For the longest time Drush would not interact with the Drupal ...
0
votes
1answer
56 views

Unable to install drush on mac 10.9.2

Lately I was trying to install drush for the first time. This is what I did.. Installed the drush tool manually Extracted and renamed the tool to /Library/Drush Gave the /Library/Drush/drush tool ...