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
574 views

Which alias do I use to run it with another PHP version?

The Server available for our new Drupal project uses an old PHP CLI Version by default. But I have setup an alias in .bash_profile like so: alias php7=/path/to/php7 and that is working fine. I would ...
0
votes
2answers
773 views

Drush hangs when trying to bootstrap Drupal

Running Ubuntu 12.04 with the 14.04 backports for Drush (meaning we are running Drush 5.10.0) After importing the database (with drush sqlc < dump.sql), Drupal is no longer able to be bootstrapped ...
0
votes
1answer
346 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
152 views

How to make custom Drush commands to work on remote instance

I have developed custom Drush commands that includes some shell commands all which work locally. I would like them to work also on the remote instance with aliases that have the remote settings. Here ...
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
2k views

Why is “drush cc all” failing with “undefined function user_load()”

After updating my Drupal test server to have a fresh copy of the database and code from the production system, "drush cc all" would fail with a message saying PHP Fatal error: Call to undefined ...
0
votes
2answers
2k views

Installing Drush - permission denied error

I just successfully installed Drush user composer into the .composer/vendor/bin folder. When I try to run "drush status" I get an error sh: /Users/Marianna/drush: Permission denied What do I do now?...
0
votes
1answer
148 views

Deleting translate interface strings programmatically or using drush

I need to delete some translated strings added using t() function, I've about 17000 string to delete is there a way to delete it using a SQL query or drush command? in which table those strings are ...
0
votes
1answer
63 views

Can't install drush8, having drush6

I installed drush, and when I do "drush status" it says that my drush version is 6.6.0. I want to have drush7 instead, so I downloaded it from github, and did following commands: chmod +x drush.phar ...
0
votes
4answers
9k views

wget or curl executables not found. Curl activated but not working [closed]

As I know so far Drush has some limitation on Windows. I need however, to get it working, and I have activated the curl module in php.ini. All you need is to uncomment the line: extension=php_curl....
0
votes
1answer
656 views

How can i set site url dynamically in Drush-9?

In Drush 8 i had that neat little reusable drushrc.php: $options['l'] = getenv('MY_SITE_URL_VAR'); I know that i can hardcode my site URL in a drush.yml file, but that does not fit my configuration ...
0
votes
1answer
315 views

Omega 4 Sub-Theme problem with file_get_contents(make.libraries) failed to open stream

when creating an omega 4 sub-theme using drush 6 on windows 7 and xampp and drupal 7, see attached pic,'file_get_contents(libraries.make) : failed to open stream : no such file or directory make....
0
votes
1answer
112 views

Drush: How do I change the Drupal root

My Drush commands doesn't work because my Drupal files are in another directory than the one set in Drush. Everything is set up to this path so I can't just change the folder name. Drush status [..]...
0
votes
1answer
3k views

“Unable to to find SQL Class. Drush cannot find your Database connection details.”

Just started with drupal and drush CLI but having problems already! Here is my error: $ drush si --debug --db-url =mysql://USERNAME:PASSWORD@HOST/DATABASE/drushfun Starting Drush preflight. [0 ...
0
votes
1answer
127 views

Which version should I install?

Should I install Drush 8 or Drush 9 for Drupal 8? What does the code status failing mean? Is Drush 8 not compatible with Drupal 8?
0
votes
1answer
858 views

Drush not working after restart

I had Drush working yesterday and was able to use it to download a copy of Drupal. After shutting down my machine last night it now won't work. which drush does nothing today. drush help gives: -bash:...
0
votes
1answer
248 views

drush inheritance, site-ssh and site-list

It's possible I'm going about this all wrong, and I should be setting up my aliases file differently. We have a set up with 4 load-balanced production servers running the same code and accessing the ...
0
votes
2answers
913 views

Drush up error - unable to untar - Destination already exsists

I have verified that the directory does not exist before attempting an update. The error I get is as follows. Do you really want to continue? (y/n): y Executing: svn info /home/sites/lg/public_html/...
-1
votes
1answer
62 views

Git local repo in combination with Acquia Cloud Dev repo adding contributed modules with Drush

I try to add contributed modules to my local repo following this article. curl https://ftp.drupal.org/files/projects/admin_toolbar-8.x-1.14.tar.gz | tar fz Its not placing the .tar.gz file in my ...
-1
votes
1answer
218 views

Where/how to install Drush when running multiple versions of Drupal

I use a Mac for Drupal development and am a long time user of Drush. Getting ready to develop a new Drupal 8 site and installed via "Option A" as described https://www.drupal.org/docs/develop/using-...
-1
votes
2answers
2k views

How do I set up PHP configuration?

I am running websites on my PC with following php5: /etc/php5/apache2/php.ini (this is what I can see when running phpinfo() command within website php code). How to set Drush, so it would use ...