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

learn more… | top users | synonyms

0
votes
0answers
39 views

Can't update drupal core to 7.27

I'm tring to update using drush, with the command drush up, but core is not updating. it says on the drush output: Project drupal was updated successfully. Installed version is now 7.27. but it's ...
1
vote
1answer
15 views

drush 7 won't take a command without a site alias?

I just installed drush 7.0-dev and with it all the composer and bash-completion goodness. The installation went well and in a new shell it (drush 7) is now my default drush. However it doesn't seem ...
1
vote
1answer
11 views

Drush field-create with specified label

I would like to add multiple existing fields to a content type using drush. Right now I'm using the following to create the fields: drush field-create [content-type] ...
0
votes
0answers
21 views

Drush: immediately exit without error

I have a drush script. This script processes ~10000 drupal commerce products and after that it shows "Command dispatch complete", hangs and finally dies because of lack of memory. I want to exit from ...
1
vote
1answer
28 views

Drush crashes after “command dispatch complete”

I have a custom drush script. This script loads, changes and saves ~10000 drupal commerce products. After that I get the message Command dispatch complete [1140.43 sec, 663.25 МБ] ...
0
votes
1answer
19 views

drush cc all giving me an unlink error

I found a similar issue but it will not help me since I have not changed permissions. I am running drush cc all and getting this error... I have logged out and back in and nothing. I have not ...
0
votes
1answer
16 views

drush make files can not be found

I have created a drush make file through drushmake.me created a file my.make in public_html folder and run the following command drush make my.make it shows all the files downloading ok but when I ...
-1
votes
0answers
18 views

Drupal drush site-upgrade “sh: hostname: command not found”

I have my basic setup in the drush aliases to start the drush site upgrade (test.aliases.drushrc.php) : $aliases['old'] = array( 'root' => '/path/to/old/folder', 'uri' => 'example.com/old', ...
0
votes
1answer
13 views

Error line appears when using drush 7.x.5.9 — 32-bit executable?

I keep getting the line "/[~]/drush/drush: line 49: /sw/bin/tput: Bad CPU type in executable" in drush 7.x.5.9 on OS X 10.9.2 Core 2 Duo. I think it's related to a 32-bit executable running on a ...
0
votes
1answer
16 views

drush cannot find omega help commands

I've installed Omega 4 but drush cannot find the omega help set or the omega command set -- nor can I. Where are these supposed to be located? Without them, I cannot easily create a subtheme with ...
0
votes
2answers
15 views

drush sql-sync tries to rsync unknown dump file

Since I upgraded drush 5.10 -> 7.0-dev today, sql-sync fails to work with my existing alias file. Using the command drush sql-sync @limelive @limedev fails. The %dump-dir paths on both local and ...
1
vote
0answers
19 views

Aegir tasks not running, after accidentally upgrading drush

I have a BOA installation where I accidentally run the command drush self-update. This overrided the aegir-comparible drush with a newer version. When I realized the issue, two days later, I replaced ...
0
votes
1answer
22 views

Weird bug after syncing site with drush sql-sync

I'm encountering a really weird bug with Drupal. I'm running Debian's Drupal in a multisite configuration: on the same host, I have both the dev and live websites. I know it's not ideal but this is a ...
0
votes
0answers
25 views

Running multiple drush commands in one batch file.

I have created a deploy.bat file containing the following 1. drush vset --exact --yes service_url %1/service 2. drush vset --exact --yes file_private_path %2 3. drush cc all When I invoke the ...
0
votes
1answer
23 views

openssl key for drush

My server does not allow passwords and requires me to setup an openssl key for access. Drush however requires the server to be more open and I wonder how to setup an openssl key or some other option ...
1
vote
0answers
12 views

error_get_last() returns NULL after valid error in Drush

I have the following command callback function defined in my .drush.inc file: function drush_bv_ftp_products() { echo $aadfadf; var_dump(error_get_last()); } Assume hook_drush_command() is ...
0
votes
1answer
28 views

Drush update: How to keep file permissions?

Following scenario happens to be in place. There is a server administrator (root) who doesn't know a thing about Drupal. Then, there two (or more) web developers (userA, userB), who do not have root ...
0
votes
1answer
57 views

after installing drush with composer, “command not found” when issue drush command (Ubuntu 12.04 LTS)

When installing drush with composer, I get "command not found" when running drush command itself, on Ubuntu 12.04 LTS 1) I attempted to follow the instructions for installing drush using Composer, ...
0
votes
1answer
23 views

Read Drush config file

I am creting a module with Drush integration. My challenge now is how to read the Drush config file in ~/.drush/myconfig.drushrc.php. I tried drush_load_config_file but it is not working. ...
0
votes
1answer
17 views

Using drush @self alias returns nothing

According to the documentation for drush (version 5.9) it has a built in alias called @self. When I attempt to use the @self alias in a command such as: drush site-alias @self Nothing is returned. ...
0
votes
0answers
25 views

Call to undefined function lock_acquire with Drush on Drupal 7

I’m running my local development sites on a Windows machine with Uniserver. I have them all set up as vhosts. Most of them are Drupal 7, but a couple are Drupal 6. I installed Drush for Windows ...
1
vote
1answer
16 views

Version 5.9: Which components does “drush site-alias --local” look for in ~/aliases.drushrc.php?

In version 5.9, "drush site-alias --local" returns what I consider to be non-local sites, because they each have a remote-host and a remote-user component set in ~/aliases.drushrc.php. I don't ...
-1
votes
1answer
40 views

Drush Open-Source License

What open-source license is Drush licensed under? I've checked GitHub including the README (https://github.com/drush-ops/drush/blob/master/README.md) and it isn't stated anywhere.
4
votes
1answer
141 views

Do I need to install Drupal using Drush in order to use Drush?

I installed Drush and then I installed Drupal using the regular installer/method. When I type drush cc all on my terminal I get No Drupal site found, only 'drush' cache was cleared.
0
votes
0answers
19 views

Unable to debug drush command using xdebug with batch api

I have been debugging drush commands with xdebug and my IDE (currently PHPStorm 7) for a while, but I have been noticing that there are certain commands that die whenever I have the dubegger enabled ...
0
votes
0answers
44 views

Drush “unable to fork” on CentOS 6

On a Centos 6.5 box, I'm having difficulty with drush dl, the following errors are presented: $ drush dl profile2 exec(): Unable to fork [wget --version 2>&1] exec.inc:150 ...
0
votes
0answers
25 views

Drush Clear Cache with Pantheon

I am trying to clear all caches on a local install of Drupal (using pantheon aliases): drush @self cc all However, when the menu caches are cleared I get this error: WD pantheon_apachesolr: Error ...
1
vote
2answers
28 views

Is it possible to publish from my local computer a node in my drupal page remotely?

I wonder if it is possible from a SH script on my local computer, publishing content on a remote installation of drupal. Why have a gammu sms gateway and when a new sms on my local computer I want to ...
2
votes
1answer
37 views

How to handle DB updates when my Drupal source is in git?

I've put my Drupal installation in Git so that it is easier to replicate the production site on my development system. Then I discovered drush and I think it's way cool. But then it occurred to me: ...
0
votes
2answers
28 views

Drush up error - unable to untar - Destination already exsists

I have verified that the directory does not exist before attempting an update. The error I get is as follows. Do you really want to continue? (y/n): y Executing: svn info ...
1
vote
1answer
26 views

Run “git” on remote server with drush alias

I would like to launch git commands, on my production server, from my pc. The document root of the production application is a clone of the git repository. On prod, on sites/all/drush/drushrc.php ...
0
votes
0answers
14 views

Why does Drush Make usually skip large sections of my .make file with no errors or explanation?

This felt like a bug to me, but I was told it was technical support, so I'm asking here. Running Drush 6.2 on OSX Mavericks, drush make usually skips most of our .make file for some unknown reason. ...
2
votes
0answers
27 views

Does hook_drush_exit() get called for disabled modules?

I have a module that exposes a drush file that contains an implementation of hook_drush_exit(). This function gets called at each drush command, even though the module is disabled. Is this behaviour ...
0
votes
0answers
23 views

Long running Drupal Drush throws boostrap error

I have a long running drush scripts do some data process and after some time I get the below error My Drupal application is connected to an AMAZON RDS database Command queue-run needs a higher ...
1
vote
1answer
103 views

Error with drush clear-cache: Base table or view not found

There are similar questions out there, but I think this warrants a new thread. I am getting the following error when running drush clear-cache all PDOException: SQLSTATE[42S02]: Base table or view ...
1
vote
4answers
36 views

How can I tell drush to use another php.ini file?

I've gone through the setup instructions on https://github.com/drush-ops/drush, but I can't seem to get drush to use a different configuration file, very frustrating. I'm amazed no one has asked here. ...
0
votes
1answer
16 views

Rules for how Drush vset works

I want to perform some admin configurations through drush using vset the way I've used it in the past, such as the following: drush vset site_name Example; drush vset site_offline 1; drush vset ...
0
votes
0answers
37 views

MAMP and Drush Config

I have been working all day to get Drush working with MAMP on my Mac. I installed Drush manually at /usr/local/lib/drush. I've tried everything from renaming localhost to 127.0.0.1, making a symbolic ...
0
votes
1answer
17 views

Drush archive-restore not restoring database nor giving error

I have a Drupal 7 site and database in an archive created via Drush. I'm trying to restore it with Drush on a Mac running MAMP. When I tell it to restore the site it says "[ok]" afterwards and the ...
0
votes
0answers
22 views

Drush remote status on Win causes “'C:\Program' is not recognized”

I want to do "drushing" between two remote win systems. I put successfully on both drush (by using drush for win installer) and openSSH. Now I can localy or by using ssh connection I can run drush ...
0
votes
0answers
16 views

How Can I export minipanels content from Drupal 7 using Drush command

I am using mini panels and pages for creating a website. Earlier i did manually installing modules from admin central. But now i decided to rebuild site using Drush. Can you please help me with ...
1
vote
1answer
61 views

How do you write a drush alias for a local Vagrant box?

I'm trying to write a simple drush alias to connect to a Drupal site running on a local Vagrant instance. I have the following in a file called ~/.drush/l.aliases.drushrc.php: $aliases['o'] = array( ...
1
vote
1answer
28 views

How can i export single content node (or) selected content nodes using drush command

I am using drupal 7. i created three basic pages name it as node1, node2, node3 when i export node using node-export-export command all pages(node1,node2,node3) as in one xml file. my intention is to ...
1
vote
1answer
135 views

drush “The drush command 'self-update' could not be found.”

I'm trying to figure out why many drush commands aren't working. drush theme list also reports: The drush command 'theme list' could not be found. Run drush cache-clear drush to clear the ...
0
votes
1answer
52 views

Module builder as drush plugin

I thought I had installed successfully module builder as drush plugin : typing help mb returns complete help story... But when I try to use it, ie typing mb easyresponsive_panels ...
0
votes
1answer
22 views

how can I use drush in ftp host

Is this possible to use drush in dedicated host that only I can access cpanel? If yes how can I do it?
1
vote
1answer
33 views

Loading a Drupal queue using Drush?

How can I use Drush to pass data into a Drupal Queue? function hook_cron_queue_info() { $queues['my_queue_name'] = array( 'worker callback' => '_my_queue_callback', // This is the callback ...
1
vote
0answers
13 views

Checksum error while updating module

I ran pm-update with drush which is giving me this error File mediabox-7.x-1.x-dev.tar.gz_date=1393593819 is corrupt (wrong [error] md5 checksum). Updating project mediabox failed. Attempting to ...
0
votes
0answers
14 views

How to check if a module needs to updated using script/drush or can be manually updated (replacing files)

I usually prefer dursh command to update module. However due to some reason drush is unable to update the module in my production (linux) but updating in my local (windows) system. I did some ...
2
votes
1answer
520 views

Undefined error: 0 OR Unable to load autoload.php. Drush now requires Composer

I've installed drush in /usr/local/lib/drush/drush and composer in /usr/local/bin/composer. When I try to run drush /usr/local/lib/drush/drush I get the following: /usr/local/lib/drush/drush: ...