Questions tagged [drush]

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

407 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
1answer
61 views

Working on Drupal and Drush with teammates

I'm currently working on a website using Drupal 8, with 3 other members in my team. We use git as a versioning system, and we very often work at the same time on different branches. Here is the ...
0
votes
1answer
62 views

Enable CSS files in Omega 3 sub theme with Drush?

Is it possible to enable CSS files in an Omega 3 sub theme with Drush? Im working locally and regularly importing the latest database from live. I have a build script that I run to clear cache, ...
0
votes
1answer
348 views

drush cannot update commerce kickstart

I just installed Commerce Kickstart and got a prompt to upgrade from 7.x-2.20 to 7.x-2.21. drush cannot update throws error: The commerce_kickstart directory could not be found within the modules ...
0
votes
1answer
119 views

Using Features with an existing content type?

I'm trying to use features to deploy some changes from a local development site to a staging site on a seperate server, the problem is that I've got an existing content type on my dev and staging ...
0
votes
0answers
65 views

Drush clear cache without the codebase

Is possible to clear the cache using drush (or else?) when I don't have the codebase anymore. Here is the use case: I deleted the codebases of a lot of sites with backing up. Now I'm going to backup ...
0
votes
1answer
97 views

Updating Drush to newer version on Drupalpro VM Virtual Machine Instance

I'm setting up a new vm box with a fresh copy of Drupalpro and I need to update Drush and I'm not sure how to go about it. Any ideas would be great. The current drush version that is preinstalled is 5....
0
votes
1answer
67 views

How to print drupal module version with drush 6.5.0

Here's an example of a module in one of my make files: projects[views][version] = "3.8" projects[views][type] = "module" projects[views][subdir] = "contrib" projects[views][download][url] = "git://...
0
votes
1answer
133 views

drush fails to install drupal properly

I installed Debian 7 in a VM, there is nothing there except for web server apache2, mysql, webmin, phpmyadmin, and drush. Drush fails to install Drupal, gives me admin and password but it fails to log ...
0
votes
2answers
79 views

Merge Users from Prod to Staging/Dev

I have users registering on my prod environment, but I also have accounts created internally on my staging environment. Is there a drush command similar to sql-sync or Drupal module that will simply ...
0
votes
0answers
787 views

The drush command 'import' could not be found

I am connecting to two sites via SSH I used Drush 4.4 export on a D6 site to export a node type. I now want to import that onto a D7 site (running Commerce Kickstart2) which contains a newer version ...
0
votes
0answers
547 views

How do you install Drush 7 for Drupal 8? Installed composer and still doesnt work.

I'm trying to install drush 7 for drupal 8, but im hitting a snag. I installed composer and now i downloaded drush 7 and unzipped it to /opt/drush7 I get the follow error when running drush even ...
0
votes
0answers
235 views

Database issue with Drush aliases on Windows

I'm having issues getting the drush sql-sync command working, and it seems to be related to how my site aliases are set up. When I try to run the sql-sync command with my local and production aliases, ...
0
votes
0answers
94 views

drush ne-import doesn't import field_tags

I'm using module node_export to migrate contents from my local to live. The content type has several fields with field_tags (multi-field term reference) being one. The exported file was created just ...
0
votes
0answers
133 views

Problems with additional trailing slash in when using drush rsync

If I use drush rsync the output is as follows: user@drupal:~/html$ drush rsync @live @local You will destroy data from var/www/ and replace with data from root@eso- meetu.de:/var/www/virtual/eso-...
0
votes
1answer
92 views

Drush ard is working for D6, not for D7 > bootstrap error

Noticed something strange today: drush ard @sites is working in the folder /drupal6/sites/, but not in /drupal7/sites/. When i go to a specific folder, the command runs as expected (drush ard foobar....
0
votes
1answer
361 views

Drush Hangs on wget but wget Works

Every drush command I run hangs on wget. However, if I run wget outside of drush, it works just fine. I am behind an http proxy and suspect that's factoring into the problem. I don't understand why ...
0
votes
2answers
2k views

Drush MAMP not working

I'm running with a big problem for hours now and it's driving me crazy, maybe one of you already know the answer. Drush seems to not want to work on my OSX (10.8.5) with MAMP (3.0.5). When I execute $...
0
votes
0answers
54 views

Drush bootstraps fine via root, but fails via regular account (SSH, dedicated server)

I hope someone here can help me out on this one: After pushing our site live, I am now trying to get Drush running on our live server. I have gone for a manual install via our root account, got the ...
0
votes
0answers
687 views

Drush “unable to fork” on CentOS 6

On a Centos 6.5 box, I'm having difficulty with drush dl, the following errors are presented: $ drush dl profile2 exec(): Unable to fork [wget --version 2>&1] exec.inc:150 ...
0
votes
0answers
1k views

Drush can't connect to MySQL through socket

When trying to install a new drupal with drush si standard --db-url=mysql://root@localhost/drushtest I get the following error Message: [...] SQLSTATE[HY000] [2002] Can't connect to local MySQL ...
0
votes
1answer
317 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
0answers
782 views

Drush migrate --idlist error: Migration failed with source plugin exception

When running drush migrate-import with --idlist option I got this error: $ drush mi BeersMigration --update --idlist='1001' -d ... Importing 'BeersMigration' migration [1.2 sec, 30.83 MB] ...
0
votes
1answer
86 views

Upgrading Drush from 4.4 to 7.1

Following instructions here, I used the command drush dl drush to install the newer version of Drush. Then, when I attempted drush omega-export (the reason I was upgrading was to have access to these ...
0
votes
1answer
399 views

Getting Drush to play with MAMP and Acquia

I have a Mac workstation which is shared between two users, User°1 who first installed the machine, and User°2 who came along after, both administrators. User°2 has installed Drush using brew and ...
0
votes
0answers
400 views

Database error after moving host and renaming the DB

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table '<olddb>.semaphore' doesn't exist: SELECT expire, value FROM {semaphore} WHERE name = :name; Array ( [:name] =&...
0
votes
0answers
329 views

Drush command terminated abnormally when exporting content

I have installed node export module and drush and trying to export all content of type story to an xml file, using: root@pc:/path/to/drupal# drush node-export-export --type=story --file=xstory --...
0
votes
0answers
181 views

Can “drush make” command use cached temporary files?

With Drush 6.2.0, after using $ drush make build_my_project.make my_project/ more than once, it results in .. Found makefile: drupal-org.make Install location /private/tmp/make_tmp/profiles/...
0
votes
2answers
305 views

Error in executing drush command

I am trying to execute drush command from my project root directory and i am getting following error bootstrap a site that has not been installed or does not have a configured database. In this case ...
0
votes
0answers
717 views

Drush fails with “PHP Fatal error: Call to undefined function decode_entities()”

My drush installation does not work anymore on an Debian Vserver. I get always the error: PHP Fatal error: Call to undefined function decode_entities() in /usr/share/drush/includes/drush.inc ...
0
votes
1answer
49 views

Drush update for the first time hosed my website

Running latest versions of Drupal, etc. Localhost - dev site Maintenance mode While trying to install Commerce_kickstart and running Drush for first time to update modules, Drupal got completely ...
0
votes
1answer
429 views

Drush not seeing right CLI PHP version

I am not able to get Drush to recognize the installed PHP 5.4.20 (cli). $ php -v PHP 5.4.20 (cli) (built: Oct 10 2013 18:41:48) $ drush Your command line PHP installation is too old. Drush requires ...
0
votes
1answer
195 views

create date type in install profile

I want the german date format in my install profile. I tried in my setup script: drush en l10n_update -y drush vset site_default_country de drush language-add de drush language-default de drush vset ...
0
votes
1answer
233 views

drush make on local gitweb raw url

I moved a git repo from github to local gitweb and want to access the raw build make file http://git.mycompany.com/?p=workflow.git;a=blob_plain;f=build-workflow.make;h=...
0
votes
0answers
243 views

Running drush on pressflow (D6) + nginx server

SO, I have been using drush from past many years on an apache server and it has been working like charm. I have a multisite setup with Drupal and run around 100 subdomains. In my situation, I feel ...
0
votes
1answer
146 views

project/configuration sync from shell (not from ./admin)

With project/configuration (core 7.22 and configuration 7.x-2.0-alpha2), we can sync a new database to the exported .inc files via the admin gui, but need to be able to do it from drush. ...
0
votes
1answer
173 views

What is wrong with this drush command in Drupal 7 Ubercart 3 to delete orders in bulk via command line?

I am trying to delete my Ubercart 3 orders in bulk via the command line with just a one liner: for XX in {1..12}; do drush ev 'uc_order_delete($XX)' -v; done; It beats having to do it via the bulk ...
0
votes
1answer
183 views

drush core-config causes 'Permission denied'

When I use command as follow: drush core-config and then enter 1 a error displayed: sh:/etc/php.ini: Permission denied how to solve this problem?
0
votes
1answer
184 views

How can I get views_save_view($view) to return TRUE when using Drush?

I have a script that calls various views API functions, namely views_save_view() or $view->save(). When using Drush 5 to run the script, these functions return false. However, when I run these with ...
0
votes
1answer
105 views

site created using drush arr failing with missing index.php

I am using drush archive to copy a live site to a test environment. The test environment is on my local machine, the live site is on a hosted platform. The arr command seems to complete successfully ...
0
votes
0answers
746 views

Crontab to trigger scripts with drush commands

I've read this question and the answers links through to Jenkins. Looked into it but was way over my head to install and set up. The other answer links to this page which talks about running cron ...
0
votes
0answers
1k views

Drupal crash recovery - segmentation fault

A drupal 7 website I am developing is repeatingly crashing. After each crash, I can't access any further pages on the website, in any browser, until I restore the database from a backup and remove ...
0
votes
1answer
298 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 ...
0
votes
1answer
49 views

How do I create a “platform” and “site” from CLI, using the drush extension provision

I'm trying to figure out how to use Provision to create new sites from the CLI. I tried looking at what commands Aegir normally passes to Provision when setting up a new platform and then a new site ...
0
votes
1answer
40 views

Cannot disable module “monitoring” after failed upgrade

I just updated to Drupal 8.8.1 (composer update drupal/* --with-dependencies now says I'm up to date, even though I know that 8.8.2 is actually the most recent). After doing this, I can use most of ...
0
votes
3answers
660 views

Error during config export

I have added one field in the content type. So when trying to export configuration it gives an error $ pwd $ /c/xampp/htdocs/Test/docroot/sites/testone.com $ ../../../vendor/bin/drush config:export -...
0
votes
1answer
91 views

Drush not installing correctly

I'm attempting to install Drush on a new system OSX 10.10.4. The process is no longer the simple one it used to be :( I've complied with the requirement to install via Composer (that was not small ...
0
votes
1answer
1k views

Drush rsync command failed: No such file or directory

I am new to use Drush. this following is my .drushrc.php file $aliases['server'] = array ( 'remote-host' => '162.243.78.240', 'remote-user' => 'root', ); $aliases["dxb"] = array ( '#name'...
0
votes
1answer
118 views

Upgrade Commerce Kickstart 1 site with drush

From http://www.drupalcommerce.org/blog/9072/updating-commerce-kickstart-2 I learned that it's possible to upgrade a CK2 site using drush. Is it possible to do a minor upgrade od CK1 using drush ...
0
votes
1answer
806 views

Drush cannot connect to mysql

I have a problem with Drush to enable or disable module. But downloading modules works perfect! However I want to use Drush in its full range. Yesterday, I saw my Drush would not succeed in ...
-1
votes
1answer
154 views

User password reset link leads to access denied page

Command: drush uli Output: http://default/user/reset/uid/..../...hash.../login The output URL normally logs you in automatically, but it gets takes to access denied error instead.

1
5 6 7
8
9