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

learn more… | top users | synonyms

0
votes
1answer
26 views

Drupal 7 Login doesn't go anywhere, admin not given permissions, Fresh Install via Drush on CentOS 6.3

I've spent quite a few hours trying to figure out what the problem is. The issue is: Login works but the page doesn't change once I log in as admin. I know that the login works because wrong ...
2
votes
0answers
36 views

Drush Fails to Connect to MySQL DB Server Using PDO SSL Options

Question: How do you force Drush to use all of the PDO options specified in a site's settings.php file? Background: I am using Drupal 7.22 with Apache and the Drupal files (and Drush 5.8.0) on one ...
3
votes
1answer
50 views

In Drush what is the difference between ard and arb?

In Drush what is the difference between ard and arb commands? When should I use one over the other?
5
votes
1answer
61 views

How do I drush vset a number with decimals?

drush vset latest_version 6.34a latest_version was set to "6.34a" So far so good. drush vset latest_version 6.34 latest_version was set to 6. Hmm... drush vset latest_version ...
1
vote
2answers
43 views

How to drush up multisite?

I am not clear after reading another question on same topic how this is done. At the moment I go to my root drupal install and drushup then updatedb so if I then go to the folder of a multisite and ...
1
vote
1answer
27 views

Turn off Drupal caching without Access to admin panel

I'm using Drupal 7 on WAMPP , Windows 7 Background: Drupal on my local box is copy of working project, but this local version I can not login like admin , because it doesn't store session. It doesn't ...
1
vote
1answer
27 views

Drush sql-sync not working on multisite

I use drush site aliases and drush sql-sync as part of my daily workflow between my local development environment and my company's production/staging servers (Acquia dev cloud). This works great for ...
3
votes
2answers
90 views

How to share Drush code with the community?

I created a simple Drush command. How can I share it with the community? Do I need to create a module and add it to drupal.org ?
0
votes
1answer
16 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
1answer
33 views

Disable the toolbar module in install profile

How do I disable the toolbar module in my make file / profile info / install file?
0
votes
0answers
24 views

Create drush batch process

I want to create a simple file that will automate: delete any existing drupal folder run drush make cd into drupal folder run site install How can I achieve this, if possible?
4
votes
1answer
57 views

What complications are there if i switch Mysql to MariaDB? Any Drush issues?

I have a heavy mysql drupal 7 site and i was thinking about switching mysql over to mariadb, but i wasn't sure what issues i would run into. From what i'm reading mariadb seems to be just a drop in ...
3
votes
1answer
45 views

Unable to set Drupal environmental variables using Drush alias

$aliases['opendoor_stage'] = array( 'uri' => 'stage.opendoor.com', 'root' => '/var/www/stage.opendoor.com', 'db-url' => 'mysql://someurl', 'path-aliases' => array( ...
3
votes
0answers
34 views

Drush make and svn:externals

I'm planning to use drush "make" function for my new D7 projects. I would like to know if there is a way to detect, in my project, the repertories managed by "svn externals". I mean, is "drush ...
2
votes
2answers
79 views

Automate clear of mysql database in drush site install

Is is possible to automate clearing the database when I run site install? e.g. here is my drush command: drush si geoslate --db-url='mysql://root:root@localhost/geo_test' --site-name=Geoslate But ...
0
votes
0answers
33 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 ...
2
votes
0answers
39 views

So running Drush update messed up your SVN repo

I'm working on a client's site. We had the sites folder as the root of an SVN repository. At some point we ran drush to do module/core updates but drush was (mistakenly) set to ignore the repository. ...
0
votes
1answer
50 views

Move location of drush

Currently there is a .drush folder in my user profile on my mac. However, is it possible to move it into my git repo? How does one move it? If I drag and drop it, then run a drush command, the folder ...
1
vote
1answer
29 views

Make the git repo part of the drupal site so I can commit my changes whilst testing

I've got a git repo on my desktop with a couple of make files. I am currently building the drupal site in my htdocs folder by copying the distro.make file there, running the command: drush make ...
1
vote
3answers
59 views

Is there a Drush command to check the distribution version?

Just that, Is there a Drush command to check the distribution version? Let's say I have installed the commerce_kickstart distributionn, how do I check the version of this distribution with Drush? ...
0
votes
1answer
37 views

Running drush sql-sync between linux drupal alias as source and windows drupal alias as target throws rsync:chgrp error

i can see from this post that rsync is trying to set group on the file which may not make sense for windows. The question is, how can i pass rsync options while running the sql-sync command as drush ...
1
vote
1answer
32 views

Possible permissions error with drush make

I am trying to run drush make distro.make but getting the following error. The only thing I can see I did different was ran sudo drush make distro.make once. Any ideas? ...
2
votes
2answers
45 views

Drush modifying variable on settings.php

Can I modify a variable of the setting php via drush? I actually want to change ini_set('session.cookie_lifetime', 2000000); to ini_set('session.cookie_lifetime', 0);
2
votes
1answer
29 views

Resetting/reverting a custom module's update 'N value'

In my custom module's install file I have a hook_update_N function. Let's say it's mymodule_update_7100. However, I've noticed that I've done it wrong and I want to change a line of code within this ...
2
votes
3answers
49 views

How can I update multiple drupal 7 sites on my server, using drush

I just installed drush in my ssh home directory. Is there a drush command for updating all sites inside home directory that have drupal 7? There is to mention that i have also non drupal sites and i ...
2
votes
1answer
20 views

Decide which modules to enable / disable in make file

I have a make file in which modules are downloaded, but how do I decide which ones are enabled?
1
vote
1answer
84 views

site-install needs a higher bootstrap level to run

Do you have any idea on what might be causing this error when I execute drush si geoslate --db-url='mysql://root:root@localhost/geoslate' --site-name=Geoslate? Command site-install needs a higher ...
1
vote
1answer
38 views

Can I create a drush make file and installation profile from existing site?

I have an existing Drupal site, that I would really like to be able to put entirely (or as much as possible) into code and use drush, a git repo, and installation profiles to be able to properly track ...
3
votes
1answer
52 views

What is the different between an install profile and a drush make file?

I am just getting into using drush and excited about using drush make and installations profiles. What is the different between a drush make file and an installation profile and do they /can they work ...
1
vote
2answers
169 views

The Nivo Slider library could not be found

This is the first time I use a CMS, and I'm trying to install nivo slider module into Drupal. I used the following commands drush dl nivo_slider drush en nivo_slider -y Then I added some pictures ...
0
votes
0answers
24 views

How to create websites in shared folder using quickstart?

I am using quickstart and I am able to create websites, run all drush commands, etc. I am running Virtual Box on a Windows7 machine. i have setup a folder to be shared. My problem: I am not able to ...
3
votes
1answer
55 views

Is drush required on the remote server to do sql-sync or rsync operations?

I am working my way through the Drush chapter in Definitive Guide to Drupal 7 by Apress. I want to sync the mysql database and files to/from my local MAMP developer stack and the remote live server ...
1
vote
0answers
35 views

change drush module location

I am looking how i can change the location that drush deals with when updating modules. i want to set it to /sites/all/modules/contrib. I have suceeded in changing the download (drush dl) location ...
3
votes
1answer
44 views

When using a dev version of a module, how can I easily get a notification of the next stable release?

From time to time I need to install a dev release of a frequently updated module (Views, etc.) Usually, this is because I need a patch that has been applied to the dev branch that has not yet made it ...
0
votes
0answers
33 views

How to install COD (Conference Organizing Distribution) using drush make

I am trying to install COD for Drupal 7 use drush, this is what I've done (leaving out 'cd' commands): Step 1: git clone --branch 7.x-1.x http://git.drupal.org/project/cod.git cod7 Step 2: drush make ...
1
vote
4answers
104 views

Can I create nodes through drush for particular content type

I have different content type in my site. For testing purpose, I want to add content to all content type form, but manually its not possible in such short term. So, is any Drush command available to ...
2
votes
1answer
43 views

Pitfalls when updating a site without entering maintenance mode?

Assuming there are no module updates that require doing a database update, if it's just an update to a newer minor release of Drupal core, as well as of contrib and custom modules, what potential ...
1
vote
1answer
36 views

enable dd() for drush - temporary://debug_drupal.txt call fails

If I included calls to dd() from code I run with drush, I see messages like this: WD php: Warning: file_put_contents(temporary://drupal_debug.txt): [warning] failed to open stream: ...
0
votes
0answers
25 views

Disable Drush backend messages by default

I am having a problem with drush backend message, how do I disable "--backend" by default ? command: $ drush make drupal-org.make drupal result: $ drush make drupal-org.make drupal ...
1
vote
1answer
43 views

Drush css-js cache clear error

There are times when I run drush cc css-js and I get the following error: 'css-js' cache is not a valid cache type Does anyone know why this may happen? Thanks,
0
votes
1answer
34 views

Whats wrong with my drush script when using sql?

Im running the following via drush scr $query = db_query('select node.nid AS nid from {node} node where (type="feed_item") AND (status="0") limit 1'); i am getting this error: WD php: ...
0
votes
3answers
70 views

Is there a way to manually run cron with Drush?

I just want to be able to accomplish this: http://mywebsite.com/admin/reports/status/run-cron ... but through the Drush interface.
0
votes
1answer
44 views

Is there a way to skip bootstrapping drupal to save load time via drush?

I currently use drush alot to manage my sites, but I was wondering if there was a way to skip bootstrapping drupal everytime drush is run for certain commands that might not need it. This would save ...
0
votes
0answers
52 views

How to parse mysql query output as variable into another command in linux via Drush?

Currently I'm doing a mysql query via the command line using Drush and I want to parse the query output and grab the Node ID #, then put that ID # into a drush php-cli 'node_delete(X)' command. How ...
0
votes
0answers
133 views

standalone rsync and ssh work, but drush gets me a “Permission denied (publickey)”

I've got a production site (on shared hosting for now) of which I just want to have backups at this stage. and I've got a backup instance which I want to overwrite with the prod site. This is my ...
0
votes
0answers
69 views

Drush out of memory when php memory limit is 1024M on my dedicate server. (CentOS)

This happened when I restarted Apache because my site was down. Normally restarting Apache or other service doesn't break Drush, but today it happened. I'm sure on my server my php.ini has memory ...
0
votes
0answers
42 views

PHP syntax error because of Drush?

Today and the last few days I had lots of problems with drush. On last Thursday I downloaded Devel via drush and when i tried to install it but then i got the error PHP : Parse error: syntax error, ...
1
vote
1answer
57 views

How to convert a command line table (drush output) to any spreadsheet? (csv,excel,ods)

I often use commands like drush pm-list or drush views-list to get some listings of what my current project is using and for sake of usability I would like to import that stuff in a spreadsheet ...
3
votes
1answer
53 views

How do I check if a module is being used by another?

I'm using a multi-site setup with Drupal 7.14 core, and I want to disable some modules within my sites/all/modules shared folder. One of them in particular is the File_Entity module. Is there a way ...
1
vote
1answer
40 views

drush prevent sql sync from local to prod

I know in the policies file in drush there was / is a way to prevent sql-sync'ing from local to prod. Is this still true? If so how do you go about this?

1 2 3 4 5 8