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

learn more… | top users | synonyms

0
votes
1answer
7 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
43 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
12 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
25 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
87 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
21 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 ...
6
votes
3answers
208 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
25 views

Omega 4 without Drush

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
36 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
56 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
22 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
22 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
17 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
6 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
42 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
53 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
14 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
36 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
62 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
11 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
33 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
81 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
44 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
39 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
21 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
28 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
50 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
39 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
57 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
52 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 ...
0
votes
2answers
40 views

Drush hangs when trying to bootstrap Drupal

Running Ubuntu 12.04 with the 14.04 backports for Drush (meaning we are running Drush 5.10.0) After importing the database (with drush sqlc < dump.sql), Drupal is no longer able to be bootstrapped ...
0
votes
2answers
84 views

Drush on Macbook Pro cannot read Dupal Correctly NOW RESOLVED!

Tried to get Sass & Compass working on Windows, but ran into too many problems. Now I have purchased a vintage Macbook Pro (2008). I finally got Drush working on Windows, but I can't seem to get ...
0
votes
0answers
23 views

Error after upgrading drush from version 5 to version 7

I am using Centos and I performed the following steps: Downloaded drush, uncompress and copied to /usr/local/share/ or any directory you have installed already Downloaded composer curl -sS ...
-1
votes
1answer
43 views

Drush site install without drop/crate database

I am from Ukraine, so sorry for my bad English... Please help me to fix a problem. I trying to install drupal with drush on the shared hosting. I use command drush site install. On localhost ...
0
votes
2answers
21 views

My local site directs to install.php after update from production site af drush sync

Just set up drush for a site, database and site root set up in MAMP. I've updated the local directory using these drush commands: drush rsync @alias.production @alias.local drush sql-sync ...
1
vote
2answers
47 views

To suppress this error, add the option --strict=0 Drush

My custom Drush commands use options(--ver,--env,etc). Whenever the option is used, I get message: Unknown option: --ver. See `drush help build-asset` for available options. To suppress this error, ...
0
votes
0answers
23 views

too many arguments error after updating drush to latest dev

I am getting the following error when I try to run any command in drush. Error in argument 1, char 2: option not found r /home6/whereisa/.composer/vendor/bin/drush: line 124: [: too many arguments ...
0
votes
0answers
22 views

xdebug hangs every time drush_invoke_process in Drush command

I am trying run xdebug with PHPSTorm while developing DRush commands. Everything seems to work, except it hangs whenever my custom drush command call drush_invoke_process. In drush debug mode, this is ...
0
votes
1answer
52 views

Drupal issues - DB and modules in folder that doesn't exist

Ok, so I ran into an issue today that completely baffles me... I have a staging server that I have about 30 sites on. Most are WordPress and about 5 are Drupal. Yesterday I worked on a Drupal site ...
1
vote
2answers
38 views

how to run “cd” command in drush

I like to have drush command 'go_to' that will move my shell into different directory. My custom implementation does not move the shell directory. How come? here is the script so far: #!/usr/bin/env ...
0
votes
0answers
12 views

drush ne-import doesn't import field_tags

I'm using module node_export to migrate contents from my local to live. The content type has several fields with field_tags (multi-field term reference) being one. The exported file was created just ...