Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [drush]

Use it for questions about the command line shell and Unix scripting interface for Drupal (a.k.a. Drush).

Filter by
Sorted by
Tagged with
0
votes
1answer
347 views

How to configure drush with Acquia DevDesktop on Windows to access through proxy?

There are some answers to similar questions using WAMP, but now drush is not recommended under Windows (unless using DevDesktop, which I am). And this is seriously frustrating. I followed the ...
0
votes
1answer
116 views

Error messages when running “drush verify-makefile” on a generated make file

When running the following command, Drush is printing a number of error messages: drush verify-makefile There is only one make file in document root and it was created with: drush generate-makefile ...
0
votes
1answer
138 views

How can I download code from Github?

I'm still running some Drupal 6 sites (because I'm waiting for the Migrate module to work properly in Drupal 8), and I notice that there are some modules in rupal D6 (like Views) which are still ...
0
votes
1answer
15 views

Drush and web front end reporting strange updates?

Is anybody else seeing this: root@dev:/etc/apache2/htdocs/drupal-7/sites/tpppdonate.org.uk# drush pm-update --pipe imagecache_token 7.x-1.0-rc2 7.x-1.x-dev Update-available uuid 7.x-1.0-beta1 7.x-1.x-...
0
votes
1answer
153 views

Fluch cache on all sites in multisite platform

Is there a way to clear cache on all sites in platform by using platform alias? For example, drush @platform_name cc all ? (its multisite setup via aegir). The problem I am facing with is, when I run ...
0
votes
1answer
142 views

How to override logic of specific drush command? [duplicate]

I'm aware of validate/pre/post COMMAND hooks and I would like to replace the logic of the existing drush command on specific condition using policy commandfile with something else, e.g. /** * ...
0
votes
1answer
149 views

drush sql-sync doesnt extract gzipped sql

I run the following command from a script: drush -v sql-sync @tmp.stage @tmp.coe | tee ./sql-sync.log My @tmp.stage server is Drush 7.0 and @tmp.coe servers is Drush 6.2.0 An SQL dumpfile is ...
0
votes
1answer
165 views

Drush does not work after I sudo su to another user

I have a CentOS 6 server with WHM/cPanel. I installed a global Drush as root using the instructions here (http://docs.drush.org/en/master/install/). Drush works fine for any user I ssh in as. However ...
0
votes
1answer
85 views

Some drupal database operations won't complete

On a development server (and it's sister staging server), I'm not sure how I got myself into this situation. When running drush updatedb I get this error below. $ drush updatedb The following ...
0
votes
1answer
58 views

“COPY_ERROR: Unable to copy” while using drush make with download type “copy”

Here is my module structure: . |-- mymodule.make |-- mymodule.info |-- mymodule.module |-- mymodule.install `-- sub1 |-- sub1.make |-- sub1.info |-- sub1.module `-- sub1.install I ...
0
votes
0answers
655 views

Drush is not able to bootstrap on Windows

I'm having problems getting drush to bootstrap my site. My problems are similar to the one at "Drush is not able to bootstrap". I asked this question once and it was put on hold, I guess because ...
0
votes
0answers
183 views

Problems with composer manager on windows

I'm trying to use the dev version of openlayers which requires composer mananger. I can successfully install the module, and the module creates a json file with my packages inside my sites/default/...
0
votes
1answer
117 views

How to overwrite modules by default with DRUSH?

I am using a module list from Drupal 7 to populate a Drupal 8 site. Some modules are now included in core, so there are a lot of confirm overwrite messages like this: Install location C:\drupal-8.0....
0
votes
0answers
17 views

need to clear fire cc all 2 times to get cache cleared

On my Mac I need to cc all 2 times to get cache cleared. The first try end up after a few seconds with no message and cache isn't cleared. The second try need some more time and I get the "success" ...
0
votes
1answer
240 views

How to set configuration value for drush site install?

I have set a central translations directory(sites/all/translations) for my multisite installation profile so that each site does not have to download translations that were already downloaded. I have ...
0
votes
2answers
21 views

Know field type usage

I need to know if a field type is used on a website in a content type. How can I know that with Drush or Drupal BO?
0
votes
0answers
50 views

Why do I need to rebuild registry over and over again?

A while back I moved a module from the /sites/all/modules/contrib directory to /sites/all/modules/patched It was no surprise I had to rebuild the registry (using registry rebuild) after that so it ...
0
votes
2answers
118 views

How to do core update with drush [duplicate]

With which drush command can I update my Drupal 7.36 to 7.41? I have tried so far the followings: drush up drupal drush pm-updatecode But nothings has changed in either the code nor when I look at ...
0
votes
1answer
2k views

Command entity-updates needs a higher bootstrap level to run

I am trying to make drush work on Debian 8 with Drupal 8. Unluckily, executing drush entity-updates returns the following error messages: Command entity-updates needs a higher bootstrap level to ...
0
votes
0answers
230 views

Install Drush error on bluehost

I am following instructions at https://www.drupal.org/node/2366283 to install Drush at bluehost.com using PuTTY. I'm stuck at the install composer step. I tried the curl -sS https://getcomposer.org/...
0
votes
2answers
398 views

Translate untranslated strings

I downloaded and enabled translations for my Drupal core and modules using these Drush commands: drush dl l10n_update && drush en -y $_ drush language-add lt && drush language-enable $...
0
votes
0answers
68 views

Problems installing drush 7.0 on Windows

I've been using drush 6 quite happily on a Windows machine (where I'm testing Drupal 7 sites) for some time, installed if I remember rightly using an MSI installer, under "Program Files". I'm working ...
0
votes
1answer
8 views

how to fetch user related tables from live sever with drush sql-sync

If you have a live server where some people have registered to your iste and you push new content from your dev,server regularly. What is the best workflow to fetch user related data from the server ...
0
votes
0answers
299 views

How to get Drush to find my site files?

I am currently sucking at getting Drush working on my site. I've been through the basic composer install process, and have Drush 7 installed and running. It even basically works: [root@linux2 ...
0
votes
1answer
109 views

Core image module not found

Some how it seems like the core image module is missing from the module list. Here is the screenshot of the module list: Also I tried fetching the list using drush. $ drush pml | grep image Image ...
0
votes
1answer
76 views

How to group drush command sets together in sequence?

For example, when installing a drupal site, there are 3 sets of commands: drush dl drupal-7.x drush site-install standard --account-name=admin --account-pass=admin --db- url=mysql://YourMySQLUser:...
0
votes
1answer
155 views

How to copy current directory into Drupal profile folder via drush?

I've this yml file in my current folder: $ cat profile.yml api: 2 core: 7.x projects: drupal7: type: "copy" download: url: "file://." and 3 empty files (just for now): drupal7.info, ...
0
votes
0answers
77 views

Drush command l10n_update could not be found, but is present in Drupal site

Installed Drush 6.6.0 using composer following instructions on drush.org. Works fine. I have a set of site aliases in ~/.drush/mysite.aliases.drushrc.php: mysite.dev, mysite.stage, mysite.prod All ...
0
votes
3answers
166 views

How to get into a Drupal 7 site using only Drush without touching code or anything else?

I'm working on a acquia site and right now the dev environment is replicated from the prod. I want to be able to get in as admin on the dev site, but every time i hit the /user path it redirects me ...
0
votes
1answer
102 views

Drush Remote Alias Fails with No Drupal Site Found

This is incredibly frustrating. Here's the deal. I have a drush alias defined for a server I'm working with. No matter what command it is, if it needs to bootstrap Drupal it fails with no drupal site ...
0
votes
0answers
206 views

drush archive-restore fails with DRUSH_UNKNOWN_OPTION“:[”Unknown options: --e, --g

Here's what I input at the command line: drush arr /var/backups/backup_migrate/scheduled/[archive name].tar.gz/var/www/vhosts/[sitename] --overwrite It didn't restore either the code or database ...
0
votes
1answer
47 views

How do I include coffeescript and sass compilation steps into managing Aegir platforms?

By providing a drush make file, Aegir will create a new platfrom but sites cannot be created or migrated to it until coffeescript and sass files have been compiled. Generated javascript and css are ...
0
votes
1answer
119 views

Enabling XML under PHP in windows - import_html module not working

So I'm having a problem with import_html. Basically, when I run the import from the sight, all of the content I wanted (except for xml files) get imported but I get these errors and warnings ...
0
votes
1answer
115 views

drush update - php.ini problem

I am trying to update drupal using drush from Version 7.36 to 7.38 with >drush up drupal the process finishes in 2-3 seconds stating update has successfully finished and a backup has been created. As ...
0
votes
3answers
395 views

drush sql-sync fails with PHP Fatal Error

drush sql-sync @devyau @stageyau returns: Unable to load class Drupal\Driver\Database\Drush PHP Fatal error: Call to a member function dump() on a non-object in /root/.composer/vendor/drush/...
0
votes
1answer
127 views

Cannot run drush rsync - PHP Fatal error in sitealias.inc [closed]

drush rsync @ dev @stage PHP Fatal error: Unsupported operand types in /usr/local/share/drush/includes/sitealias.inc on line 1468 Drush command terminated abnormally due to an unrecoverable ...
0
votes
1answer
27 views

Features, Drush and Drupal 6

I'm using drush on D6 websites and i would to create and manage my features via drush.So i patched the 1.2 version like in this post : Then i get an error when i try to create a feature for content ...
0
votes
3answers
367 views

Drush can't DL modules - xml error

I'm working in a Linux server with PHP 5.3.3 installed along with Drush 6.2 (?) I'm unable to dl modules to the server. When I add --verbose to the command, I see the following. Executing: wget --...
0
votes
0answers
530 views

Drush won't use password for DB connection; how to set it to use password and define password?

I can't figure out why and where Drush is set/configured not to use password when connecting DB. For instance I was trying setup a quick site e.g. command drush qd which gives: PDOException: ...
0
votes
1answer
384 views

Run a drush script from php system()

I have a Drupal module with a function that runs a system(“myscript.drush”); function _deploy_monitor_stream($submission_id) { header("Content-type: text/plain"); disable_ob(); // Outputs to ...
0
votes
1answer
60 views

Working on Drupal and Drush with teammates

I'm currently working on a website using Drupal 8, with 3 other members in my team. We use git as a versioning system, and we very often work at the same time on different branches. Here is the ...
0
votes
1answer
62 views

Enable CSS files in Omega 3 sub theme with Drush?

Is it possible to enable CSS files in an Omega 3 sub theme with Drush? Im working locally and regularly importing the latest database from live. I have a build script that I run to clear cache, ...
0
votes
1answer
337 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
115 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
64 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
50 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 ...
0
votes
1answer
96 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 5....
0
votes
1answer
2k 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 /home/sam/....
0
votes
1answer
62 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] = "git://...
0
votes
1answer
1k 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, ...