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

learn more… | top users | synonyms

2
votes
2answers
54 views

Drush installation - setting symlink to /usr/local/bin/drush is a must?

Refering to https://www.drupal.org/node/2132447, I would like to install Drush in /usr/slocal/abc directory, and I tried the following steps: $ cd /usr/slocal/abc $ wget --quiet -O - ...
0
votes
1answer
29 views

Can't update Drupal core to 7.34

I am trying to update Drupal core from 7.32 to 7.34 using drush. It initially appears to be sucessful, however the status report and /modules/system/system.info still show the version number as 7.32. ...
0
votes
1answer
20 views

Decoupling Drupal 7 from Ubuntu/Debian package management

I'd like to decouple my Drupal 7 installation from the OS package management. This is because Ubuntu's current LTS version (14.04) has Drupal 7.26, imported from the Debian packages at the time of ...
0
votes
0answers
11 views

Drush site-upgrade target database

When using the drush site-upgrade (drush sup) to do a D6 to D7 upgrade, does the target database need to be pre-filled with D6 tables? Or can it be completely empty? Thanks
3
votes
1answer
44 views

Drush site-upgrade : “Unknown option: --uninstall”

I'm trying to upgrade a Drupal site from 6.34 to 7.x using Drush. When I run drush site-upgrade @alias, everything goes well until step 12-a where it ends up throwing this error : Unknown option: ...
0
votes
2answers
17 views

How to create Subtheme of Omega while Omega Tools and Drush both has some disclaimer and Moved to Github?

I am a beginner in Drupal. I am using Drupal 7. I wanted to create Subtheme in Omega. Theses are the methods to create subtheme (With Omega Tools, Drush and Manually)in Omega. I have install new ...
0
votes
1answer
26 views

drush rsync among sites

I have the following alias group set in the setA.aliases.drushrc.php: $aliases[‘site1'] = array( 'root' => '/var/www/site1', 'uri' => '88.88.88.11/site1', 'remote-host' ...
0
votes
0answers
12 views

Failed opening install.inc' when upgrading Drupal 7.x core with Drush 7.x

I have Drush 7.x installed and when I run 'drush up', on a Drupal 7.x codebase, I get the following error: Drush command terminated abnormally due to an unrecoverable error. [error]Error: ...
0
votes
1answer
34 views

drush site-install error: /var/www/drupal7 does not contain a valid Drupal installation

I am totally new to Drupal. I am running on Windows 7 Enterprise and have done to following to set up my site: Downloaded and installed Virtual Box VirtualBox-4.3.18-96516-Win.exe Downloaded and ...
0
votes
0answers
16 views

After drush arr - cannot login

php 5.5.x, mysql 5.5, drush 5.x, drupal 7.33, backed up drupal: 'drush ard default --destination=/manual_backup/backup_site_2014_11_15.tar' switched to new 14.04 Ubuntu server, installed drush, ...
0
votes
0answers
13 views

Problems with Terminus SSL on a Windows machine using Drush

Specs: my drupal site is hosted at pantheon (getpantheon.com), I'm using Drush on a Windows 7 x64 machine. ...I was reading this article on commands using Drush + Terminus (a special Drush extension ...
0
votes
1answer
50 views

Updating to Drush 7 on OSX

I had a working drush 5.6 (manually installed) on OSX (Yosemite) and decided I wanted to upgrade to the latest drush 7 version. I ended up with version 6.0-dev. I followed the installation ...
1
vote
1answer
18 views

“global” keyword does not work from within drush script

I have the following script: <?php $GLOBALS['foo1'] = "foobar1"; function g1() { echo "g1 " . $GLOBALS['foo1'] . "\n"; } $foo2 = "foobar2"; function g2() { global $foo2; echo "g2 " ...
3
votes
2answers
33 views

Can drush accept piped commands for aliases?

Can drush take piping commands for a multisite command using an alias? I'm trying to setup a simple refresh function from my prod to dev/staging. Any pointers or tips would be welcome. just started ...
0
votes
1answer
38 views

Running drush from a minimal shell

My goal is to pipe mail with Postfix into a drush command. I made a simple bash script that redirects stdin to the drush command, and I configured Postfix to pipe mail to the script. But executing ...
1
vote
2answers
40 views

Load Aegir's site credentials from a php function

I'm using Aegir and want to inject some data into a site's vhost. And I managed to do it thanks to this post. My problem is I can't find an Aegir function to load a site's dabase configurations from ...
0
votes
0answers
45 views

Notice: Undefined index: #ajax in ajax_form_callback() (line 391 of /var/www/html/includes/ajax.inc)

I'm having an a field set as unlimited in the options in my custom content type, whenever I'm clicking on "Add another item" the page is only loading AJAX and I'm getting this message in error log : ...
1
vote
1answer
60 views

How to uninstall drush via composer?

There is method of installing drush via composer: composer global require drush/drush:dev-master But how to uninstall it using composer?
0
votes
1answer
87 views

How to find non-existing terms based on the list?

I've few thousands terms in my vocabulary. I'd like to find out which one still are missing (without adding them) based on the list of term names. I believe this can be achieved by some anti-join sql ...
0
votes
0answers
22 views

Command […] needs the following module(s) enabled to run:

I try to make a custom command called findpath based on instructions found there (http://www.freelock.com/comment/1965#comment-1965) When I execute my script, I have an error : Command findpath needs ...
0
votes
0answers
9 views

Drush on windows xp not working, stuck with no output at all

I'm having serious trouble running drush from the command line in windows xp. Php is working fine, and execution of some test scripts work just fine. When i try to execute drush, both from the folder ...
0
votes
1answer
27 views

How to sql-sync database between two remotes which share the same host?

I've two remotes: @source and @destination. I'm trying to transfer the database from dev to test environment by using sql-sync: $ drush -vy sql-sync @source @destination But at the end drush ...
0
votes
1answer
29 views

How to exclude the user table using the drush sql-sync command

Could anyone tell me how to exclude drupal's user table from drush's sql-sync command? Thank you.
1
vote
1answer
23 views

How to rsync files between two remotes which share the same host?

I've two remotes: @remote.dev and @remote.test. I'm trying to rsync between these two remote Drupal instances by: $ drush -vy rsync @remote.dev @remote.test But rsync complains that: The ...
0
votes
1answer
42 views

Update drupal modules without updating core in one drush command

Is there a way to update all contrib modules without updating core in one drush command. For example: drush up updates all modules and core. Is there a way to ignore core and just update the ...
0
votes
1answer
28 views

Drush alias database definitions for Aegir site [closed]

I want to have a local drush site alias for a website instance in Aegir (Omega8.cc's BOA). I have this working for several non-Aegir Drupal sites just fine. When I use drush to sync a db table to the ...
1
vote
2answers
32 views

How do I get drush to run remote drush not in a path?

A remote server doesn't have drush, so I put it in my ~. Adding a $PATH works fine for myself being logged in, but since ssh [command] wont open a shell, $PATH is never picked up when I use drush ...
0
votes
1answer
28 views

How to drop all MySQL tables using drush?

Normally I could drop and create database from scratch, but what if user doesn't have permission to do that? Also I wouldn't like to specify my credentials in the command-line (1. it's hard to type, ...
5
votes
4answers
157 views

Is there any management utility for multi-site deployment?

I'm creating a multi-site instance for a client that makes heavy use of Webform. It's going to be a survey tool of sorts with a single base domain (no sub-domains) and a single SSL certificate. ...
2
votes
2answers
106 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 ...
6
votes
3answers
130 views

What is the easiest way to install clean Drupal from scratch?

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).
4
votes
2answers
125 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
32 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
12 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
39 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
34 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
49 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
26 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
40 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
0answers
20 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
80 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 ...
0
votes
1answer
37 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
3
votes
2answers
273 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
30 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 ...
8
votes
3answers
640 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
32 views

Omega 4 without Drush [closed]

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
2answers
32 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
57 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
52 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
111 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 ...