Why doesn't 'drush cc all' work?
I installed Drush, but most of the commands doesn’t work, I guess. I tried drush cc all and got the following output: Command cache-clear needs a higher bootstrap level to run – you will need invoke...
View ArticleCreate 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 server...
View ArticleNumerous dependencies don't get installed with “drush en -y” command for...
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 even...
View ArticleAre Drush configuration files compatible across all Drush versions?
I’ve been using the same drushrc.php and aliases.drushrc.php files with Drush 6 and 7 and haven’t noticed any problems; however, I also haven’t used very complicated Drush configurations in the past....
View ArticleDrush 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...
View Articledrush sql-dump skip extended inserts?
Does drush have an option in its sql-dump command to skip extended inserts? I am looking for a particular value in the database, and having shorter lines would be a boon for my task.
View ArticleDrush make and multisite
I am building a multisite and each sub-site may have its own contrib modules. For example: sites/all/modules/contrib/entity sites/site1/modules/contrib/views sites/site2/modules/contrib/services I...
View ArticleDrush is not able to bootstrap on Windows
I’m having problems getting drush to bootstrap my site. My problems are similar to the one this gentleman was having. I asked this question once and it was put on hold, I guess because someone thought...
View ArticleDrush and Composer installed but I'm getting errors
Trying to use any drush command I get an error saying autoload.php won’t load. It’s in the vendor folder which is in the web root where I’m pretty sure it’s supposed to be. It also has chmod +x...
View ArticleHow to get Drush to use alternative php.ini
I’m trying to get Drush up and running on my webserver via SSH. I’m new to working with SSH so hopefully someone can help me work this out. When checking Drush’s status it mentions that the...
View ArticleHow 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...
View ArticleHow to solve “Query failed” error in drush sql-sync output?
This is a follow-on to my earlier question on this site. I hope posting it as a new question is appropriate. I’m trying to clone an existing drupal installation into a place on my mac with the...
View ArticleHow to use drush with proxy [closed]
I am using Acquia Dev Desktop 2 for my Drupal 8 project, I tried to download module with Drush. But I can only access the internet via a proxy. How can I configure drush to use the correct http proxy...
View ArticleWhy does nothing change when I attempt to restore a backup?
I have a drupal 7.43 installation and it has been doing regular backups using the Backup and Restore module. I wanted to do a restore but I’m blocked at every turn it seems. I go to Configuration...
View ArticleIs possible to transfer files with FTP? [closed]
I connected to a site using SSH with Drush. Is there a way to use FTP with Drush?
View ArticleWhich version of Drush should I install?
Drush 6 works great of corse on a Drupal 6 website, but will I have all of the Drush 6 features when working on a Drupal 7 website? Should I use Drush 7 when working on a drupal 7 website? I found this...
View ArticleHow to properly call drush command from another drush command?
I have a drush command that does some stuff and at the end of its execution I want to invoke twig-compile --uri=foobar.com. When I call drush_invoke('twig-compile') I get error about unknown...
View ArticleDrush archive-dump override sql dump name
Is there a way to use drush archive-dump but to pass it somehow the name of sql file it dumps into archive? Current name is too long (full path with dots instead / and # to separate path and site name)...
View ArticleUpdating a drush command from drush 7 to drush 8 [closed]
what to do if there is a drush command file worked with drush 7 but doesn’t work with drush 8. The official docs seem not to have an upgrade guide for this.
View ArticleDrush backup of multisite platform
Is there Drush command that can backup whole multisite platform: database dump of each site code of each site backup of sites/all or complete core with sites/all and all that in just ONE tar.gz There...
View Article