Drush is a command line shell and scripting interface for Drupal.
2
votes
1answer
237 views
Aegir Drush Drupal 6
I am using the Hosting module through Aegir. I created a module with some extra fields such as "site_name," "fields," and "description," which was done successfully. I want to use these fields on a ...
0
votes
0answers
29 views
How to automate node entry [closed]
I have an brand new Ubercart site that needs a wide array of products, which would be fairly easy to make up a script to populate information about them.
I was wondering what would be the best way to ...
3
votes
1answer
29 views
Use drush to sync core &/or modules directory only
I've just discovered the wonderful world of drush aliases, and I'd like to use drush to keep a dev site in sync with the live site (and visa versa). So far I've figured out that the following command ...
3
votes
1answer
40 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 ...
4
votes
4answers
543 views
Drush installation problem
I have successfully installed and configured Drush and i am able to work with it.
Though i am getting an error like this
The following restricted PHP modes have non-empty values:
...
3
votes
2answers
488 views
Drush and mysql database (with MAMP) connection problem
I have a problem running some drush methods involving database connection.
I run the free version of MAMP.
If I run methods like si or pml I get no problems
But if I run the drush archive-dump ...
1
vote
1answer
76 views
Drush sql-sync to drop tables on target
Command:
drush sql-sync @prod @dev
As I experienced, it does not drop tables on target (@dev) machine.
Is there a way, while syncing this way, to drop tables on target, so databases match ...
0
votes
1answer
30 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 ...
0
votes
1answer
264 views
Upgrade drupal using drush: Failed to check available update
I am trying to upgrade Drupal from 7.14 to 7.18 using drush up command.
Nothing gets updated and I see a bunch of failed warnings:
Failed to check available update data for CCK.
Failed to check ...
1
vote
1answer
167 views
Possible to use drush to list overrides for all features?
I believe that drush features-diff will list the overrides for a specific feature and that drush features-list will list all features. Is it possible to list all of the overrides for all features, ...
2
votes
0answers
41 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 ...
1
vote
3answers
61 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
155 views
Updating Drush when installed using pear
When I run drush self-update, I get the following message:
A newer version of drush, 7.x-5.8, is available. You are currently running drush version 6.0-dev. The update process depends on how you ...
12
votes
5answers
3k views
How to check Drush version?
How can I identify what version of Drush is installed on a given system?
5
votes
6answers
1k views
Where does PEAR install Drush?
I installed Drush using the PEAR option mentioned on the Drush project page, but I can't find the location of where it was installed.
Does anybody know the default installation location?
...
1
vote
2answers
136 views
Drush without SSH access on remote server
Following my previous question, I plan to duplicate my website so that I have a production website and a staging site. I am going to have the staging site on a local version on Ubuntu, and it was ...
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 ...
3
votes
1answer
51 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?
0
votes
3answers
78 views
Drush error during adding an install profile as platform
In Aegir, I add a platform with a buildfile:
core = 7.x
api = 2
projects[] = drupal
projects[profiler_drupal_base][type] = "profile"
projects[profiler_drupal_base][download][type] = "git"
...
3
votes
2answers
145 views
How to make drush work correctly in windows?
In linux drush is comfortable with all linux native commands. But how to make it works in Windows?
Of course there is a drush installer for windows and it is correct, but the real question is how to ...
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
1answer
31 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 ...
2
votes
1answer
500 views
How to completely wipe and rebuild drupal menus?
A while ago I found a cool blog post that detailed how to empty the menu tables, and rebuild the menu system with a drush php call, a necessity since the site will be unusable after emptying those ...
1
vote
2answers
44 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
111 views
Command line submit node
Previously I'm using combination of cURL and sed to submit to Drupal 6 website. It was very flexible but it will works if I submit very frequently. If I want to submit 2 posts in one week, it will ...
2
votes
1answer
2k views
Get an error if I run the pml drush command line
I just started to use Drush and I think I have some miss-configuration somewhere.
I use MAMP (on mac) and s/Applications/MAMP/htdocs/subastas is the folder for the Drupal installation.
The error ...
1
vote
1answer
30 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 ...
5
votes
1answer
670 views
Controlling remote Drupal sites with Drush
For a couple of weeks now I have been watching various screencasts and envying those who can operate Drush on their sites, esp. when enabling/disabling of the modules, or clearing cache. The time ...
3
votes
2answers
94 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 ?
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?
1
vote
2answers
148 views
Minimally working end-to-end example of drush batch job execution
I'm trying to make drush run my batch jobs. There's some amount of documentation at Processing batch jobs with drush, however, I can make no sense of it.
I would like to see real code, and the CLI ...
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 ...
2
votes
6answers
919 views
Drush Open_BaseDir Error
I keep getting the following error, although I've turned off SafeMode in my .ini file, and confirmed it's off with a PHP status page.
The following restricted PHP modes have non-empty values:
...
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
61 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 ...
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 ...
3
votes
1answer
48 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(
...
4
votes
2answers
275 views
Can xDebug be triggered by Drush commands?
I'm running into an issue with my Features modules and installation profile when installing the site with drush si. There are a number of probably related issues in the Features issue queue, but none ...
2
votes
2answers
82 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 ...
8
votes
4answers
2k views
Why would some features still show Overridden after a revert all --force?
Why would some features still show as "Overridden" even after running a full features revert with the force switch? Below are the commands I am running, for the sake of clarity.
drush fr-all --force ...
0
votes
0answers
34 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
41 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.
...
1
vote
1answer
30 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 ...
0
votes
1answer
52 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 ...
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
37 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
46 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
30 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 ...
3
votes
4answers
325 views
Can drush show list all available modules?
With yum you can do yum list available ..., and know the name of the package you want to install.
For example, there is the Mime Mail module in Drupal. What name should I use with drush dl, ...
2
votes
1answer
24 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?




