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

learn more… | top users | synonyms

0
votes
1answer
6 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
12 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
13 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
10 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
21 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
15 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
20 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
10 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
0answers
11 views

Error due to missing version_major on module update check [closed]

I use drush to update modules, Wordfilter is updated to latest dev version because it's the only version available. I also found an older thread about that at drupal.org: ...
0
votes
1answer
28 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
61 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 ...
-2
votes
0answers
27 views

drush vset file_public_path not working

the access to http://myproject/admin/config/media/file-system is not working after site migration. i am trying to set the variables file_public_path with my new local domain name using drush ...
0
votes
0answers
9 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
21 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
31 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 ...
1
vote
1answer
13 views

drush sql-dump gives warning

When I ran drush sql-dump --result-file, it came back with a warning and a success message. system(): Cannot execute a blank command exec.inc:36 [warning] Database dump saved to ...
0
votes
2answers
19 views

Merge Users from Prod to Staging/Dev

I have users registering on my prod environment, but I also have accounts created internally on my staging environment. Is there a drush command similar to sql-sync or Drupal module that will simply ...
0
votes
0answers
23 views

Cygwin Drush throws error in Drupal folders

In my Windows machine I have installed Drush using Cygwin & PEAR. Though it runs fine when I run drush; shows me all the available commands but when I run any drush command inside a Drupal folder ...
1
vote
1answer
26 views

Run a drush command via module

Is there a way to run a Drush command using a module? I tried exec("drush ..."); but I have found out it is not recommended. Is there any other command I could use?
-1
votes
0answers
14 views

Integration Windows version of Acquia Dev Desktop 2' drush 7 with git shell or git bash

Thanks in advance for your help! We have just installed Acquia Dev Desktop 2 for Windows 8.1. As you know Acquia Dev Desktop 2 comes with drush 7 preinstalled and drush can be used via windows ...
0
votes
0answers
19 views

Run drush make outside install map

Whenever I try to run this command for a second time I get an error. drush -v make /home/testdev/xipdrupalbasic.make /home/testdev/drupal Loading release_info engine. ...
2
votes
1answer
77 views

After installing composer: “The drush command X could not be found”

Edit: re-wrote intro paragraph to highlight the installation of composer - I suspect composer may have broken drush. I want to test out elastic search with D7. I used drush to install a fresh D7 ...
1
vote
1answer
21 views

Advantages of running cron via drush rather than via curl?

Are there any major advantages of triggering Drupal's cron tasks via Drush rather than via a curl call to the site? The main thing I can think of is that no web server process would be needed, when ...
0
votes
0answers
30 views

Drush install in Cygwin windows 8.1

I am trying to install Drush in my machine running Windows 8.1 using Cygwin. I followed the tutorial here to set up the environment and everything went smooth. But in the end when I hit drush it ...
0
votes
1answer
25 views

Importing existing users into a new Drupal site

We have an existing Drupal site that has a requirement to inherit about 10k users into, and we've been able to gather most of this data through CSV exports on the Database, and Views Export/VBO. What ...
1
vote
1answer
50 views

Cannot start Drupal

I am getting this error from drush: Fatal error: Call to undefined function ctools_include() in /home/upgrade6/democratsabroad/drupal/sites/all/modules/contrib/message_notify/message_not ...
1
vote
1answer
29 views

Creating specific taxonomy terms the Drush way

is there a way to create specific taxonomy terms the drush way? the docs mention only a number argument to generate dummy terms. http://www.drushcommands.com/drush-7x/devel-generate/generate-terms ...
0
votes
1answer
22 views

Drush sql-sync failing with Ubuntu 14.04

I'm having no luck with sql-sync, there's two seemingly unrelated errors it's throwing at me which I'll detail below. I've been successfully sql-sync'ing the same site to another server, so I'm ...
2
votes
1answer
61 views

New Drush install instructions use Composer for install, even on Drupal 7?

The current Github install instructions for drush (http://docs.drush.org/en/master/install/#git-clone-ie-manual-install) say as the last step: From Drush root, run Composer to fetch dependencies. ...
3
votes
1answer
105 views

Drush : Missing $settings['hash_salt'] in settings.php

I just setup a new Drupal environment with Mamp. I can access my website just fine, but whenever I want to run drush cr I get the following error : exception 'RuntimeException' with message 'Missing ...
-3
votes
1answer
62 views

Drush does not support Drupal? [closed]

My Drush 5.x was working normally and then suddenly threw this message. I upgraded to Drush 6 using the Windows installer but I am getting the same message. This is a Windows 7 machined and I stress ...
3
votes
2answers
36 views

Possibility to apply a patch to a target directory with Drush make?

Is there any way to declare target directory for a patch in a Drush make file? I need to apply a patch to a subfolder of a module. The reason is that CiviCRM's project is composed from multiple ...
0
votes
1answer
20 views

user_load() and EntityFieldQuery not found when running script via Drush

I'm trying to run a php script from the command line via Drush. When I tried to use EntityFieldQuery... $query = new EntityFieldQuery; I got the error: PHP Fatal error: Class 'EntityFieldQuery' ...
0
votes
1answer
116 views

Drush commands report “hostname: Name or service not known”

Many drush commands are reporting this error once or more: hostname: Name or service not known The commands seem to run fine, but it bugs me, and I'm not sure that there may not be things that ...
6
votes
1answer
133 views

How do I disable a module when Drush or the GUI doesnt work?

My site just gives a WSOD and throws this error: Error: Unsupported operand types in sites/all/modules/rules/includes/rules.state.inc, line 620 Since I can't even get to my site now without a ...
0
votes
1answer
24 views

Drush site upgrade: Contributed extensions were not upgaraded

I am using Drush site upgrade module for D6 to D7 Upgrade. In step 15, drush asks me to update only one module i.e. path_access, and for all the modules it says "following contributed extensions were ...
0
votes
1answer
22 views

Omega Tools Transform Theme Name error

I am getting the following error when trying to create an omega-sub-theme on my local machine (OSX) using drush on Acquia Dev Desktop. PHP Fatal error: Call to undefined function ...
0
votes
0answers
13 views

Using drush into remote host is showing me local data

I have an alias setup for my remote host with the following in the script: 'domain.com:/home/user/public_html', 'uri' => 'domain.com', 'remote-user' => 'user', ); ?> But when I drush using ...
0
votes
1answer
20 views

Changing Drush make default subdir for install profiles

I have a drush make file which has a default subdir for projects: defaults[projects][subdir] = contrib This places all modules into the sites/all/modules/contrib folder, which is great. The ...
0
votes
1answer
36 views

Can I change the path to Drush?

I am trying to use omega-wizard but I think I am using the wrong version of Drush. I want to use the drush the is in Acquia Dev Desktop but when i type which drush I get the one that was last ...
0
votes
0answers
7 views

Option to make drush sql-sync us bulk inserts

Is there an option to force drush sql-sync to use bulk insert statements? I have a database several Gigs in size. The many single insert statements generated by sql-sync's dump, while wonderful for ...
0
votes
1answer
32 views

Drush command using chef causing error “Command needs a higher bootstrap level to run”

Expected process to exit with [0], but received '1' ---- Begin output of /usr/local/drush/drush -y en views ---- STDOUT: STDERR: Command pm-enable needs a higher bootstrap level to run - you will ...
2
votes
1answer
26 views

Attaching Callbacks to Standard Drush Commands

I would like to add a callback to fire after anyone runsdrush cc all. Ideally this behaviour would be enabled in a drush alias file. Is this possible? By way of example, in this particular instance I ...
0
votes
1answer
30 views

how to correctly write drush sql-sycn using drush_invoke_process()

I need to execute a drush command from a custom module, Im using drush_invoke_process() but I do not know how to write it correctly How would you write this command for use with ...
0
votes
1answer
38 views

running “drush @remote status” gives “bash: drush: command not found”

I tried to follow solution here: Why does drush say "command not found" when I try to execute remote commands? But it did not work for me, the url /usr/local/zend/bin does not exists in my ...
3
votes
2answers
129 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
323 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
38 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
18 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
80 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: ...