Questions tagged [drush]

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

400 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
320 views

Commands don't work anymore on a site running on a virtual machine

To explain in specifics, when I run any drush command like drush en, drush fl or drush fra or any similar site specific commands, they don't get executed and I get the following output: The drush ...
1
vote
1answer
186 views

Why are `drush pm-list` & `drush pm-updatestatus` disabling the default theme?

I have a Drupal 7 site with 3 themes enabled: Foo Adminimal Shiny Foo is a custom theme for the front-end, located in /sites/foo/themes/ and set as the default. Adminimal and Shiny are both ...
1
vote
0answers
59 views

Does running `drush rf` detect needed updates by look at the version of files on disk or by an entry in the database?

Does running drush rf detected needed updates by looking at the version of files on disk or by an entry in the database? We run in a load balancer, fail over situations on a some production server. ...
1
vote
3answers
91 views

Numerous dependencies don't get installed with “drush en -y” command for rooms module

I tried to install the rooms module, obviously a very complex module with lots of dependencies, I tried with drush: drush en rooms -y This is the module: https://www.drupal.org/project/rooms But ...
1
vote
0answers
126 views

Create a .make file task in Bamboo by using Drush for a Drupal project

I'm setting up a CI system by using Bamboo. My aim: As soon as a change is pushed to the bitbucket server, the next task will create a ".make" file using Drush. Bamboo is also found on the same ...
1
vote
0answers
94 views

Libraries not found when installing from custom profile

I've created a custom Drupal installation profile which has the epsacrop project included in the makefile and as a requirement in the .info file. Also, the epsascrop project requires two libraries: ...
1
vote
0answers
1k views

Drush 8 / Drupal 8 fatal error class not found exception AccountInterface

I have a Windows 10 PC, using git-bash as terminal window to run drush. Drush is installed in c:\users\myname\appdata\roaming\composer\vendor\drush\drush. My apache server (using xampp) is on the d ...
1
vote
0answers
178 views

Drush hangs only when executing a command on a remote machine

I am trying to use Drush to synchronise a local dev version of my Drupal site and I've set up the following alias file (spc.aliases.drushrc.php) in my .drush directory to allow Drush to connect ...
1
vote
1answer
60 views

Can I deploy my Content on drupal using scripts?

If suppose I have a drupal application in Github and I have automated drupal installation using chef. Now I want to deploy that application content such that i can see it on my content page. I am ...
1
vote
1answer
138 views

How to drush rsync and sql-sync on windows with Acquia-Dev?

Answer (just to share some hours of experience): To get rsync and sql-sync to work on remote server using Windows (w/Aquia) it is necessary to make changes to 2 files filesystem.inc and SqlBase.php ...
1
vote
1answer
25 views

css errors main menu

I have this error with my css, what drush commands I can use to fix this? is it a permissions fix? please guide me step by step
1
vote
0answers
490 views

Drush isn't able to download updates

My sys admin hasn't made any changes to dir permissions, but lately whenever I run DRUSH UP I get the following error: [error] Unable to download drupal-7.43.tar.gz to /srv/www/htdocs from ...
1
vote
0answers
590 views

Drush 8.0.3 Failed to get available update data and simplexml_load_file warning

Please, can someone offer help with this error: drush dl simplexml_load_file(): I/O warning : failed to load external entity [warning] "" Project.php:74 Failed to get available update data from [...
1
vote
0answers
696 views

Drush make: external command could not be executed

OS: Ubuntu 14.04 php: PHP 5.5.9-1ubuntu4.14 (cli) (built: Oct 28 2015 01:34:46) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies with Zend ...
1
vote
1answer
36 views

How can I set an API key, which contains equal sign set at Drush site-install?

When I use the drush site-install command and a form value contains the equal sign (an API key for example), then Drush cuts the value at the equal sign. For example: drush si -y profile_name ...
1
vote
0answers
114 views

Drush: can't change User Password?

According to http://drushcommands.com/drush-6x/user/user-password/ the command drush user-password someuser --password="correct horse battery staple" should change a user's password. I am trying ...
1
vote
1answer
185 views

Running drush site-install on Windows

I ran the following commands: drush dl drupal-8 --drupal-project-rename=drupal_8 cd drupal_8 drush site-install standard --account-name=****** --account-pass=******** --db-url=mysql://*****:******@...
1
vote
0answers
192 views

Error using Drush on Windows 7 using Cgwin & Composer for Installation - The system cannot find the path specified

I am using Windows 7 64, with WAMPServer64, with Cygwin and composer installed. C:\cygwin64 C:\wamp C:\Users\dev\AppData\Roaming\Composer I have followed all the steps required to complete a ...
1
vote
0answers
2k views

How do I run “drush sql-query”?

I am using Drush 6.0 for my Drupal 7.x site. When I run drush sqlq "select * from users where uid=1", it always shows the following error: 'mysql' is not recognized as an internal or external ...
1
vote
0answers
673 views

How do I install Drush?

I am struggling on how to install Drush. I have only seen this as a similar question which doesn't answer my question. Drush's own tutorial from here, doesn't offer much. Its a little vague ...
1
vote
1answer
135 views

Continuous migration

I would like to know what is the best way to achieve a continuous migration from external DB (via Migrate). Basically, there are several migration classes that need to be to repeatedly migrated in an ...
1
vote
0answers
333 views

Why Are we getting “WD view: View name 'XXX' is already taken” when running Drush; and how can it be fixed?

We are getting the following output whenever we run the drush script. This is problematic in logs when the drush cron is run. What is causing this and how do we fix it? This started showing up ...
1
vote
0answers
35 views

Why is omega-guard giving me an error?

I installed drush on Mac and tried running drush omega-guard from within my theme directory like I had done before on linux. However I keep getting this error: The drush command 'omega-guard' could ...
1
vote
1answer
219 views

Custom migration from external DB

I'm trying to migrate content from an Expression Engine database to Drupal 8. I set up a $databases['migrate']['default'] in settings.php and copied and modified BeerNode.php from migrate_plus ...
1
vote
0answers
60 views

Need clarification Rebuild Registry instructions

From the module page: You can just drush dl registry_rebuild and drush will download it into your .drush folder. (Alternately, you can obtain the package another way and copy the folder into .drush ...
1
vote
0answers
153 views

drush site install to a different database host

I created a new Drupal site from a PHP script on a web server. The web server and database server is on different hardware, different ip addresses. drush si --db-url=mysql://mytest:mytest@dbserver:...
1
vote
0answers
82 views

Manage multiple feeds import using cli

How can I optimize multiple feed importer from cli? Is there any way to optimize multisites using multicron for each site in drupal 7.? I want to implement like this https://www.drupal.org/node/...
1
vote
0answers
182 views

import from wordpress migrate with drush

UPDATE: I managed to import my 64MB of content!!!! I ket expecting to see something new appearing in the confirguration tab from migrate, but that's never been the case. I also kept having the AJAX ...
1
vote
0answers
65 views

drush sql-sync fails on access denied

Both dev and prod are on the same server, but not in a multi-site install. I have set up an alias file including %dump-dir path - a path that should be writeable by the account I'm doing the command ...
1
vote
0answers
45 views

Change profile makefile download location?

This is similar to Changing Drush make default subdir for install profiles, but with a twist. I'm using a set of nested profiles to inherit default modules, each with a makefile. Unfortunately, this ...
1
vote
1answer
167 views

Why didn't the Drush command bam-restore work?

I'm a new admin of a Drupal site (core 7.38 on an OpenSUSE 11 server). Yesterday I ran Drush up to update VBO to 7.x-3.3 and suddenly I could no longer access the site. The homepage displayed the site'...
1
vote
1answer
348 views

Drush not selecting database

I'm using a Vagrant environment generated from https://puphpet.com/ for a Drupal project & it is all going well except for Drush which gives me an error any time I try running "drush cc -all", see ...
1
vote
0answers
179 views

drupal issue with install profile and domain module?

I had generated the make file with the contrib module domain. When we enable the domain module, we just want to append the following code to the settings.php file. include_once DRUPAL_ROOT.'/profiles/...
1
vote
0answers
622 views

drush.bat fails with Undefined class constant 'MYSQL_ATTR_USE_BUFFERED_QUERY'

I have a production apache server (which I have limited capabilities to fix) and I'm struggling to install drush on it. It's Win 2008 R2 server, the php is 5.3.8 and the Mysql server is 5.1.60. ...
1
vote
2answers
340 views

Upgraded Drupal 7.37 to 7.38 using Drush and its not working. update needs a higher bootstrap level to run - Error

I am new to Drupal. I am reading a book called Definitive Guide to Drupal 7. I had installed Drush on Windows 7 with Git as well. It was working last week. Since 7.38 is released I tried to ...
1
vote
0answers
536 views

Database info mising from drush status

My drush isn't working as expected. I think it's because the database information isn't being read properly. There is no DB info in the status command. httpdocs]# drush st Drupal version : ...
1
vote
1answer
31 views

Save my link configuration with drush or else?

I just modified my database so I can translate 2 link from a block that I made. The translation won't show up until I go here admin/structure/menu/item/1022/edit and press Save. I would like to know ...
1
vote
0answers
773 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: ...
1
vote
1answer
40 views

“drush up” turns off all of my modules

I'm using drush to make version updates and any time a module (in todays case, recaptcha) needs to be updated, it successfully does the update. However it seems to reset the database turning off ...
1
vote
0answers
139 views

Drush 7 downloads modules in zip format

I had Drush 6 working correctly. I had been using Drush 7 on Mac working correctly but now I installed Drush 7 on Windows. Now when I download modules using drush like drush dl Panels, it downloads ...
1
vote
0answers
67 views

Automate Drupal Reindex

I wrote a ruby script to create a "Help" doc installation on a test machine (CentOS, VM). On step of the process is to reindex the data for the "Help" doc installation (5GB of data). The total amount ...
1
vote
0answers
929 views

Drush site-install fails with SQLSTATE[HY000] [2002]

I am having difficulties installing a d7 drupal site using Drush. The files downloaded fine using Drush. From within the renamed folder for the drush install I type Pauls-iMac:drush-test Trotter$ ...
1
vote
1answer
109 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 ...
1
vote
0answers
99 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 ...
1
vote
2answers
398 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' => '...
1
vote
0answers
126 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 ...
1
vote
0answers
138 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
45 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: <?php $aliases['lws'] = array( 'root' => 'domain.com:/home/user/public_html', 'uri' => 'domain.com', '...
1
vote
1answer
86 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 [...
1
vote
0answers
54 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

1 2
3
4 5
8