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

learn more… | top users | synonyms

0
votes
0answers
9 views

drush has no connection to mysql

i have a problem with drush to enable or disable module. Download Modules works perfect! but i want to use drush in its full range. Yesterday, i see my drush will not connect to the database. i ...
0
votes
0answers
7 views

drush sql-sync error: [mysqldump: command not found]

I have a production server set up in my drush aliases as @prod, and a UAT server set up as @uat. I am using MySQL as the database of my Drupal sites. I can successfully execute drush command like ...
0
votes
3answers
21 views

Drush not working properly on Ubuntu

I am using Ubuntu 14.04 . When I try to download, enable, disable any module drush gives the following error: Additional uncaught exception thrown while handling ...
0
votes
0answers
8 views

memcache in XAMPP windows system problem with Drush

Why I'm getting below error while using any drush command? Using windows system with XAMPP & Drush. Had below entries in my php.ini file & installed memcahe Drupal module: ...
1
vote
2answers
44 views

How to get list of module folders which can be deleted safely?

I've uninstalled a lot of unnecessary modules recently through admin/modules/uninstall. Now I want to understand what folders of the modules can be deleted from sites/all/modules. I've tried drush ...
0
votes
1answer
25 views

setting up drush AFTER drupal multisite installed

new to drupal and even newer to drush. godaddy shared hosting, I manually setup drupal 8.x multisite where one site is the host account and the rest are subdomains to it. (I didn't use the cpanel ...
0
votes
0answers
23 views

Drupal with drush and puppet automated deployment

I am not very experienced with drush but I have done a lot of research about it but I am not getting the exactly what I need. So my scenario is that I have to automate a deployment of drupal on the ...
2
votes
1answer
35 views

Can drush return if site is in maintenance_mode?

To work in parallel with another team, I've copied via ftp the working Drupal 7 app and mysql database and am trying to get it to run. I've cleared the cache and drush happily reports connecting to ...
0
votes
0answers
9 views

error: “hw.ncpu” is an unknown key [closed]

I am using omega 4 theme. When I running guard through drush omega-guard it gives an error error: "hw.ncpu" is an unknown key beside this it works absolutely fine. 14:12:38 - INFO - ...
-1
votes
0answers
21 views

Is there a drush command to litter my sites/all/modules folders with random .tar.gz files? [closed]

I'm getting lonely and miss them. Those .tar.gz use to hang around for weeks or months keeping me company.
0
votes
1answer
24 views

Drush with multiple sites (all/modules)

I've searched around but found no satisfying answer yet. I have all modules in sites/all/modules, so no site specific modules are present. I'm working on a VM. First problem - creating a dump file ...
5
votes
1answer
71 views

how to install package via composer?

I would like to add library to my drupal 7 custom module. Library can be installed via composer, but i can't find a solution for install? How can i install this library? I have installed "composer ...
0
votes
1answer
17 views

drush cannot update commerce kickstart

I just installed Commerce Kickstart and got a prompt to upgrade from 7.x-2.20 to 7.x-2.21. drush cannot update throws error: The commerce_kickstart directory could not be found within the modules ...
0
votes
1answer
30 views

Drush unable to bootstrap to database

I am not able to get drush to work properly: 1) I can download modules & themes through drush but I cannot enable them (more details below). 2) Also I cannot use the omega commands even though ...
0
votes
0answers
21 views

Install drush on 1 and 1 linux hosting [duplicate]

How to install drush on 1 and 1 linux hosting for creating sub-theme for ZEN?
1
vote
1answer
27 views

Drush 6 on Windows not doing anything

I've installed Drush 6 on Windows using this installation package and have ensured that the following is in my PATH variable: C:\ProgramData\Drush\;C:\Program Files ...
1
vote
1answer
27 views

Multisite setup with drush

Is it possible to set up multisite with drush including folder creation and database setup?
0
votes
1answer
27 views

Using Features with an existing content type?

I'm trying to use features to deploy some changes from a local development site to a staging site on a seperate server, the problem is that I've got an existing content type on my dev and staging ...
0
votes
0answers
15 views

Calling HttpRequest with Drush produce PHP fatal error

I created a drush command which call a function which send emails. When I'm calling this method with the devel help module, the function is called correctly and my emails are sent. But when I tried to ...
0
votes
1answer
26 views

Drush clear cache without the codebase

Is possible to clear the cache using drush (or else?) when I don't have the codebase anymore. Here is the use case: I deleted the codebases of a lot of sites with backing up. Now I'm going to backup ...
0
votes
1answer
21 views

Drush Update to a patched module?

What happen when you drush up update a module with Drush because of security issue and the module contain few patches for other features? The reason why I'm asking is because I have patched few ...
0
votes
2answers
80 views

Command pm-enable needs a higher bootstrap level to run

i've been scouting the forums for the past two days trying to get an answer to my problem, i'm new to Drush but pretty good with Drupal. my environment is as follows: - centos 6 - php 5.3.3 - drupal ...
0
votes
1answer
31 views

Find drupal site root directory path

We have hosted one of our Drupal 7 site at Acquia. How do I find site root directory - /mnt/www/html/mysite/docroot/? I'm using dpr(shell_exec("drush status")); command in devel/php Is there ...
0
votes
2answers
38 views

Drush dl not working on Ubuntu with postgresql backend

modules can be added manually, but drush dl or drush en produce errors and will not download a module database section from settings.php $databases['default']['default'] = array( 'driver' => ...
0
votes
0answers
10 views

Drush site-upgrade always gives mysql error: Access Denied

I am trying to run "sudo drush site-upgrade @alias" however I invariably get the same large HTML output containing the error block: <p>The site is currently not available due to technical ...
0
votes
0answers
19 views

Drupal update system not detecting latest (security) releases

This morning I got e-mails about security updates and I know one of the modules, path_breadcrumb is installed on some of my sites. So I ssh into these sites, do drush pm-update --security-only and it ...
1
vote
1answer
14 views

How to run drush make on remote using relative path?

I'm writing a script where I'd like to run .make file, but it fails with the following error: $ drush @remote.test make --no-core profiles/foo/contrib.make --yes Calling proc_open(ssh drush@remote ...
0
votes
1answer
19 views

What version of Drush is compatible with Drupal 6 / PHP 5.2

Just installed drush on a system using PHP 5.2. However, when I run drush, a message is displayed saying Your command line PHP installation is too old. Drush requires atleast PHP 5.3.0. To suppress ...
2
votes
1answer
35 views

Exclude a single module from a Drush update?

Is there a way to flag a module to drush so it can be ignored when running eg 'drush up' ? I ask because Rules 2.8 is causing problems with Drupal Commerce but it would be great if everything else ...
0
votes
1answer
31 views

drush Invalid argument supplied for foreach() backend.inc:709

I have aegir setup, I'm trying to cache clear on all the sites in remote platform machine but failed with below error. drush @sites cc all You are about to execute 'cc all' non-interactively (--yes ...
0
votes
1answer
19 views

Drush: Make site alias read only

I like having site alias defined for easy Drupal management for backing up, syncing dev site with live etc. But I am afraid of having great loses if I mistyped the drush command having order of site ...
1
vote
3answers
50 views

drush sql-dump with --gzip from remote to local machine

I can use drush sql-dump to get the production db from my remote server and save it to my local machine no problem using: drush @site-live sql-dump > /home/backups/my_db_backup.sql but i want to ...
0
votes
0answers
11 views

drush make integration for vagrant-cachier ?

When developing a chef recipe we do many cycles of vagrant destroy && vagrant up ... while drush can cache stuff, it doesnt cache it outside of the virtual machine, so every time all projects ...
0
votes
1answer
17 views

Architecture Guidance: Many off-the-shelf templated sites

I typically work on larger custom projects, but have found I have a lot of requests for projects at a lower price-point. I think I can serve this audience by creating a core Drupal installation ...
1
vote
1answer
14 views

Does “drush dl” allow to download a module from a site that is not drupal.org?

I have created a Drupal test site on Openshift, and I got Drush 6.2.0 installed. Reading the online help for drush dl, I see the following: Download Drupal core or projects from drupal.org ...
0
votes
1answer
18 views

Where do pending drush database updates live?

I'm using drush to update the modules on our drupal site. I updated the video_embed_field module to the latest version. This update required 3 database updates to occur, 7006, 7007, and 7008. For ...
0
votes
1answer
34 views

Change drupal admin password for 100 sites using drush

I've a requirement to change admin password for drupal 7 sites which are over 100 and i would like to do it with drush. I know one method of doing it is updating user table with a shell script listing ...
0
votes
1answer
14 views

Updating Drush to newer version on Drupalpro VM Virtual Machine Instance

I'm setting up a new vm box with a fresh copy of Drupalpro and I need to update Drush and I'm not sure how to go about it. Any ideas would be great. The current drush version that is preinstalled is ...
0
votes
1answer
39 views

Drush crashes Call to undefined function ctype_alnum() in ubuntu

I've installed drush on ubuntu 14.04 apparently successfully but attempting to use drush within my drupal 7 app yields this: PHP Fatal error: Call to undefined function ctype_alnum() in ...
0
votes
1answer
32 views

Drush can't find php

I am on a shared server and someone else has installed Drush previously. But as of now Drush does not work and throws the following error. [root@vps1]# drush /root/.composer/vendor/bin/drush: line ...
0
votes
1answer
15 views

How to scp one file to remote using drush?

I'd like to send one file to remote host which is defined as alias in drush. The file is actually private ssh key, so it needs to be placed in ~/.ssh. I've tried the following command: drush -v ...
0
votes
0answers
33 views

Drush fails to install drupal

I have two Debian servers, the one in my local machine uses PHP Version 5.6.4-4. The one in my remote server connected to the internet uses PHP Version 5.4.36-0+deb7u3. Both fail to install drupal ...
0
votes
1answer
23 views

Drush to get and print single node data in terminal?

I want to do a raw dump of a single node's data with Drush, for testing purposes and just to inspect a node fast. Similar to getting a variable with "drush vget". Here is a PHP equivalient: drush ...
1
vote
2answers
23 views

Updating Large Number of Sites

At my current job we have a large number of Drupal installations(not multisite) and we are facing some issues regarding things like applying security updates (really any kind of update). Currently we ...
0
votes
0answers
18 views

How to print drupal module version with drush 6.5.0

Here's an example of a module in one of my make files: projects[views][version] = "3.8" projects[views][type] = "module" projects[views][subdir] = "contrib" projects[views][download][url] = ...
0
votes
1answer
64 views

Drush Aliases into Remote Hosts not Working - Tried everything

I've been struggling with a drush-related issue for awhile now and have more 'evidence' to write about. So here's what's going on: I'm trying to drush INTO two different servers (one on bluehost, ...
4
votes
1answer
80 views

Is is possible to call a function inside a .inc file of a module via drush eval?

I have a module with additional (.inc) file there are functions that I need to run via drush. I know it is possible to run drush eval on function from a module but when I try to to the same for a ...
0
votes
0answers
12 views

Cannot get images or slideshow on commerce_kickstart

I installed commerce_kickstart with drush on my localhost, already changed pass for admin, so I am there but am not getting images or slideshow. Perms were set recursively in the folder to check for a ...
1
vote
1answer
29 views

Drush installed but all commands could not be found [closed]

I have drush installed on a remote server and was able to successfully run commands this morning, however I tried executing Drush Self-Update and got a permission error probably because I don't have ...
0
votes
1answer
35 views

drush fails to install drupal properly

I installed Debian 7 in a VM, there is nothing there except for web server apache2, mysql, webmin, phpmyadmin, and drush. Drush fails to install Drupal, gives me admin and password but it fails to log ...