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

learn more… | top users | synonyms

0
votes
0answers
19 views

Can Drush 7 be installed in Windows?

Has anyone had any luck upgrading from Drush 6 to 7 on a windows machine? I feel like I'm beating my head against a wall trying to get this done. I want/need to use Omega 4 and I need Drush 7 to do ...
0
votes
1answer
12 views

Drush downloading to an old version of Drupal

I am new to Drupal/Drush. I tried to learn Drupal last year with tutorial that was based on Acquia-drupal (which I downloaded and was using drush there). Now, i decided to give it another go by ...
0
votes
2answers
24 views

How can I apply changes to user permissions across several sites?

I am using Drupal 7, we have a total of 99 different instances of pretty much the same site. All sites have the user roles of adm_core and mgr_center. We are currently using drush and puppet to ...
0
votes
0answers
8 views

Structure menu link is wrong after use command “drush rr”

I changed structure some folder module then use command "drush rr" to registry rebuild modules but get a trouble look like picture: - Link "add new view","import" and "settings" not inside link ...
0
votes
1answer
13 views

drush make build script tries to download project itself from drupal.org

I use a drush make build script to install a profile. Just started that install profile project. https://raw.githubusercontent.com/groovehunter/releasemanager/master/build-releasemanager.make When ...
0
votes
0answers
7 views

What's the right way to have Drush make automatically add version numbers to my info files?

Everything I read says Drush should be able to automatically rewrite my info files to add version numbers (and the only switch I see is the switch to disable this, --no-gitinfofile), yet nothing I am ...
4
votes
2answers
198 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
28 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
12 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
23 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
29 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
14 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
21 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
17 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
20 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
23 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
26 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
27 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
13 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
30 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
63 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
24 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
28 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
144 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
21 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
47 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
28 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
31 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
38 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
30 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
27 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
16 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
24 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
105 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
38 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
17 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
19 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
67 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
145 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 ...