We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [drush]

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

372 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
1answer
158 views

drush 6.2.0 reports no version control found for core updates, but DOES find and use svn for module updates (pm-update)

for drush 6.2.0, when running: drush pm-updatecode --version-control=svn --svnsync --svncommit on a drupal 7 site that only needs module updates, drush will properly commit the changes to svn as ...
1
vote
1answer
274 views

Using drush to install multiple sites, how?

I'm executing the following commands in /var/www/html on a clean Ubuntu 14.04 installation: drush dl --drupal-project-rename=Platform cd Platform drush site install standard -y --db-url=[mysql ...
1
vote
0answers
126 views

Custom layouts in panels not allowing me to add content

I created custom layouts for panels in my theme/layouts folder which I linked up in my .info file. When I create a new one I am able to select it as a layout in panels, but when I click the content ...
1
vote
1answer
49 views

How do I update a site after its installation profile is updated?

Say I decide to add a new module to an installation profile I've created and used to build a bunch of sites with. Can I easily use Drush to update all of those sites to the latest version of the ...
1
vote
1answer
98 views

List returned by drush site-alias is correct, but drush @sites finds an incorrect list

I'm using drush 7.x-4.5, Drupal 7.28, Apache 2.2.21, PHP 5.3.8. I have a multi-site installation, with a dozen or so sites, such as: /path/to/drupal/sites/example1.com /path/to/drupal/sites/example2....
1
vote
1answer
315 views

Drush Bootstrap Error on Multi-Site Install

I'm getting the "needs a higher bootstrap level to run - you will need to invoke drush from a more functional Drupal environment to run this command." error. I know this means that Drush is not able ...
1
vote
2answers
52 views

How can I apply changes to user permissions across several sites?

I am using Drupal 7, we have a total of 99 different instances of pretty much the same site. All sites have the user roles of adm_core and mgr_center. We are currently using drush and puppet to ...
1
vote
1answer
201 views

openssl key for drush

My server does not allow passwords and requires me to setup an openssl key for access. Drush however requires the server to be more open and I wonder how to setup an openssl key or some other option ...
1
vote
0answers
583 views

Drush Clear Cache with Pantheon

I am trying to clear all caches on a local install of Drupal (using pantheon aliases): drush @self cc all However, when the menu caches are cleared I get this error: WD pantheon_apachesolr: Error ...
1
vote
1answer
657 views

How to install a drupal distribution using Drush quickstart command?

What is the command for drush qc to install a drupal distribution? I'm trying to install this one: https://drupal.org/project/onepagecv
1
vote
0answers
503 views

Drush archive-dump database dump failed on XAMPP

I want to import my local drupal site in another machine. This is what I ran from DOS from drupal root folder to get my site archive drush archive-dump --destination=mysite.com.tar.gz After few ...
1
vote
0answers
355 views

Certain Drush commands not available

I'm no newbie to using Drush, but I'm working on a "legacy" install that I have a feeling hasn't been set up right. This is the relevant (my purposes) part of the drush output. I can see the commands ...
1
vote
0answers
232 views

Drush not working on PHP 5.4.23

My Drush was installed on /usr/local/lib/php/drush; I have now removed it from there, and installed it on /usr/share/drush. I run the following commands. chmod u+x /usr/share/drush/drush ln -s /usr/...
1
vote
0answers
1k views

Update install profile- with or without drush

I'm fairly new to drupal and I'm getting used to drush. I'm trying to update my site with drush up and it seems to update core, contrib modules and the database okay. However, I have several modules ...
1
vote
0answers
752 views

drush Destination directory already exists

I am currently running Drush on windows via cygwin. $ drush --version drush version 5.9 Now when I am trying to do a $drush up; I am getting the following error : $ drush up Checking available ...
1
vote
1answer
59 views

Has anyone worked on a built-in CLI terminal [w/ drush]?

What would make my experience with clients/end-users easier is if there was a self-contained GUI-like terminal that would be exclusive to their drupal 7 subsite in a multi-site configuration. This ...
1
vote
1answer
135 views

Drush - /usr/bin/drush: line 129: /usr/bin/php: Success

When I run any drush command I am getting this line: /usr/bin/drush: line 129: /usr/bin/php: Success For example: [root@061889 ~]# drush /usr/bin/drush: line 129: /usr/bin/php: Success [root@061889 ...
1
vote
0answers
620 views

Can't specify a configuration(drush.ini) for Drush

I put my drush.ini into the ~/.drush/ and Drush can find it.But when I type command 'drush status' it show Drush did't use the drush.ini.But PHP application use it.Below are my drush status. /////////...
1
vote
0answers
105 views

No chance to run drush on php 5.3.2?

I have php 5.3.2 installed, which I need for Plesk11 on a virtual Server. Unfortunately drush needs 5.3.3. Is there no way to run it with 5.3.2? Otherwise I have to compile a second php especially ...
1
vote
0answers
662 views

drush make fails on patch download

drush make unsuccessful, because download of patch fails - I have (apparently equal) boxes, on one my drush make fails, on the other it's fine. Unable to download ...
1
vote
0answers
57 views

How to create database for testing

I'm implementing http://phactory.org/ to get away from the heavier aspects of test data creation. One of the prerequisite items for this is to start with an empty database, with proper schema. I ...
1
vote
0answers
386 views

drush aliases.drushrc.php file place and content

I need to upgrade a drupal 6.20 site to drupal 7 using drush sup Installed drush using apt-get install. Upgraded it to the last version using drush self-update command and downloded the site-upgrade ...
1
vote
1answer
54 views

Using Drush with ENVVARS

I use EnvVars (vhost) to set my MySQL settings so I can have cross-server settings.php file without having to update it 3 different times. I am wondering if there is a way to get drush to do one of ...
1
vote
0answers
129 views

Config of Drupal site using drush make and install profile

I am getting started with using drush make and install profiles. I have been able to successfully have my site in a git repo and rebuild and install the site using drush. I have also been able to run ...
1
vote
0answers
49 views

Drush - module/feature changes — dev --> qa --> staging --> prod

Is Drush make file and install profile used for the initial set up only? We are in very early stages of development and trying to figure out the best approaches to transfer changes across environments:...
1
vote
0answers
167 views

how to change the weight of the node to be the last one

i created aview that list all photos orderd by weight to be draggable , when i add new anode it take arandom weight but i want it to be the last one . i thought to set static weight using hook_insert ...
1
vote
1answer
138 views

Segmentation fault at search_cron()

Whenever I try to run cron on the search, using drush php-eval 'search_cron();' I get 'Segmentation fault' error. I have not this problem for any other tables. The site contains hundreds of text-...
1
vote
1answer
1k views

drush @sites command doesn't work

The command drush @sites status doesn't do anything. The full command obtained for the process is: /usr/bin/php /home/myuser/.config/composer/vendor/drush/drush/drush.php --php=/usr/bin/php --php-...
1
vote
1answer
2k views

Unable to upgrade from Drush 5.10.0 to Drush 8

I try to upgrade from drush 5.10.0 to 8 by using the following command: sudo composer global require drush/drush:~8 And it returns: Changed current directory to /home/lupiyardo/.composer Running ...
1
vote
1answer
364 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 ify....
0
votes
0answers
42 views

Drush output comes with color in a directory root while it comes without color in another

I have set up two drupal virtualhosts in a VPS server under two different users. I had installed these at two different times so am not too sure about the specific install steps for Drush that I used. ...
0
votes
0answers
15 views

Drush Connects to Wrong Database in Nested Site Directories

Drush is not connecting to the correct database in a nested site structure. What can I do to debug and fix? We have a website that consists of several nested Drupal installs/sites. I.E. The domain ...
0
votes
0answers
17 views

Back Up Migrate hangs and never completes

I am running into an issue where running drush bam-backup is never completing. It ran for about 18 hours and nothing happened.. The command works and completed on our staging server within about 45 ...
0
votes
0answers
26 views

drush cex re-creates files in config/sync while they already exist in module config folder

Having a config split which says that the location/configuration of the split/module is located under /sites/all/modules/custom/module/config/optional After it got imported with drush csim our_split ...
0
votes
0answers
30 views

Installing modules using UI vs Drush

I've been having quite a time trying to install Drupal Commerce using the UI on my Drupal 8 project. Lots of WSoD errors. I decided to try again installing using Drush and everything worked like a ...
0
votes
0answers
42 views

Drush fails on D8 sites but works on D7 sites - PHP Version Issue?

We have a CentOS Linux 7 server with Plesk running several Drupal 7 and a few Drupal 8 sites. Drush commands work fine on all D7 sites, but on all D8 sites any Drush command returns: PHP Parse ...
0
votes
0answers
47 views

How do I fix this version error?

I have a Drupal 8 site that has been installed with Composer. Last week, I updated Search API 1.14 and Search API Solr 3.7. The module are in the good version, but when I run drush updatedb, the ...
0
votes
0answers
26 views

Drupal Commerce Post Update Error using Drush updb

Just update drupal and am trying to run drush updb but getting commerce post update errors. Module Update ID Type Description commerce_order 10 post-update ...
0
votes
0answers
18 views

Drush migrate can't find database

I am running a local Drupal 8 site via Aquia DevDesktop. I enabled the Migrate modules: Migrate, Migrate Drupal, Migrate Drupal IU, Migrate Plus and Migrate Tools. When I run a migrate command in ...
0
votes
0answers
25 views

D7 to D8 site migration and location of migration log

I'm using drush to migrate a D7 site to D8. I'm getting several errors in the drush migrate-import --all step. D8 site is installed using a bash script that executes: drush site-install standard -...
0
votes
0answers
114 views

How do I uninstall Drush 9 and install Drush 8?

I take it I can't manage Drupal 7 sites with drush 9 so I'm trying to install Drush 8. But first I have to remove 9. I tried composer global remove drush/drush but it gives errors: drush is not ...
0
votes
0answers
33 views

Drush isn't connecting to my database

I have a Drupal install on a CentOS development server. Running drush from outside my web directory returns as you'd expect (a list of Drush commands). Running drush from inside my web directory ...
0
votes
0answers
25 views

Make Drush 9 @self path include full site

I've just upgraded to Drush 9 and I'm the root path for @self is only the web-folder and therefore not the full drupal site. That behaviour isn't intended, right? The result is that changes within the ...
0
votes
0answers
27 views

How can I create a user with a term reference field in a Behat test when using the Drush Driver

My Behat test has the following Given statement. (field_regions is a taxonomy reference field) Given users: | name | mail | roles | field_regions | | Joe User | joe@...
0
votes
0answers
70 views

What does “The Language field needs to be updated.” mean?

It may be a stupid question, but I don't quite understand how to go around drush entity-updates from Drupal Version 8.7 on. For example on /admin/reports/status, it says: Textbox The ...
0
votes
0answers
21 views

The drush command 'variable-get' could not be executed

Command variable-get requires Drupal core version 6 or 7 to run. The drush command 'variable-get' could not be executed. drush st Drupal version : 8.7.3 Site URI ...
0
votes
0answers
21 views

Ubercart 7x Migration to Commerce 8.x with Drush?

I've been experimenting with upgrading an Ubercart 7.x site to Commerce 8.x and I haven't had much luck so far. The migration process times out when using the migrate UI, so I've tried re-running the ...
0
votes
0answers
44 views

Drush behaves strangely on Windows 10 with Acquia Dev Desktop

After having istalled drush via composer locally I had to make the following changes inside sites\default\settings.php for it to work: Create the database connection array $databases['default']['...
0
votes
0answers
14 views

Drush migration argument for xml source

I asked this question a while back and it was answered correctly and helpfully. However, I'm currently looking for a different solution. I need a way to create a custom argument which I can use to ...
0
votes
0answers
13 views

Can I remove warnings/notices from the output of “drush pm:security --fields=name --format=json”?

Running a command similar to drush pm:security --fields=name --format=json gives me what I am looking for. Is there a way to remove warnings and notices from the output? I can't see anything in the ...