We’re rewarding the question askers & reputations are being recalculated! Read more.

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

Drush restore to proper folder level

Before working on a site, I take a quick dump of a site via drush arb --destination=/var/backup/latest.tgz --overwrite from the root level /var/www/html. However, on the rare occasion that I need to ...
0
votes
1answer
256 views

How do I install the Spark distribution using only Drush?

How do I fire up the Spark Distribution via a drush command?
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
741 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
1answer
237 views

Where to place drush in MAMP [closed]

I placed drush in MAMP folder outside of htdocs folder and downloaded drupal successfully but obviously to wrong folder. Where should drush be placed to have it work with drupal folder in htdocs ...
0
votes
1answer
91 views

How to retrieve data from set with drush_set_option() from within install profile

I've been messing around with trying to pass varabiles to an install profile based on a signup form, as descripbed in this post. I'm able to get the data out of the form and into drush using ...
0
votes
1answer
281 views

In an Aegir platform how do I change what modules drush enables when a site is created

So far I have successfully in setting up Aegir and seting up a number of Platforms using makefiles. Now I want to tinker with one of the platform by adding a number of modules and tweaking some ...
0
votes
2answers
2k views

user_login_finalize() logins the user, but I remain anonymous

I'm using user_login_finalize() in my code to login a user (right before the review page), and this works because I can see the log in drush watchdog-list. However, it only works behind the scenes: ...
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
817 views

MIssing 'Drush configuration' and 'Php configuration' when running 'Drush status'

If a run the method 'drush status' in the terminal I see that the values for 'Drush configuration' and 'Php configuration' are missing. It give me not problem at all. But is this correct? Look the ...
0
votes
1answer
317 views

Why different available updates in Drush to admin/reports/updates?

e.g. in the GUI, I'm told (after running admin/reports/updates/update) that I can update 10 modules. But drush rf; drush up tells me that only three updates are available. Specific example: the GUI ...
0
votes
2answers
104 views

Running Drush on the server

I want to run Drush on a OpenSuse Linux Version 12.1 box 32-bit machine. I have a server admininistrator that takes care for the backend. What do I need to ask him, in order to get Drush running on ...
0
votes
1answer
829 views

Deploying to multiple hosts using Webistrano

We're using Webistrano to deploy our Drupal sites to testing and production. The recipe we're using is as follows: namespace :drupal do desc "symlink_files" task :symlink_files do ...
0
votes
1answer
295 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
42 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
478 views

What steps do I need to take to use Drush Make on a Windows machine?

I have the Drush Windows installer. I download the Drush Make module and put it in the drush\commands folder. Still I don't have any luck with Drush Make on Windows.
0
votes
1answer
882 views

Drush, Views and Page Manager

I've got several custom modules I have written and they make liberal use of Views, Panels and the CTools page manager. I've exported the views, panels and page variants into the module code, and am ...
0
votes
3answers
112 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
2answers
844 views

Core doesn't update with Composer

We use commands: composer outdated drupal/* drupal/core 8.6.10 8.6.13 Drupal is an open source content management platform powering millions of websites and applications. It does show 8.6.13. We ...
0
votes
1answer
77 views

Drush 8.0.3 cannot update custom module [closed]

I have a few custom modules that updates are being served from a D6 site with the Feature Server (fserver) module. Before updating drush, the drush up command on a site would see there were updates ...
0
votes
1answer
89 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
117 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
739 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
117 views

Is 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?
-1
votes
2answers
444 views

Is there a better way to install drush on Bluehost? [closed]

I registered Bluehost, because they are recommended by drupal and because I wanted shell access for drush. I tried to install drush, but got some problems. Bluehostforum.com doesn't seem to be online ...
-1
votes
1answer
132 views

How to change drush drupal folder

i install 3 drupal site without drush in xampp localhost in ubuntu and now install drush. how to use drush with 3 drupal local site??? first drupal site in dr7 folder second drupal site in drupal7 ...
-1
votes
2answers
34 views

Patch Status for 'cweagans/composer-patches'?

It seems that 'Drush Patch File' (https://bitbucket.org/davereid/drush-patchfile/src/master/) isn't compatible with Drush 9. It, however, has one important function - Patch Status - which enables ...
-1
votes
1answer
226 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 ...
-1
votes
1answer
276 views

Cygwin Drush throws error in Drupal folders [closed]

In my Windows machine I have installed Drush using Cygwin & PEAR. Though it runs fine when I run drush; shows me all the available commands but when I run any drush command inside a Drupal folder ...
-1
votes
1answer
69 views

Drush documentation

I'm curious if anyone else noticed how difficult it is to get drush working based on the available documentation? Drush is a great command line tool, and it's a pity that the official drush install ...
-1
votes
1answer
46 views

Downloading, extracting and deleting a Drupal archive all in one go [closed]

In a shared CentOS with Bash I ran under ~/public_html/example.com: composer require drupal/drupal The output was one dir and two files: vendor/ composer.json composer.lock That's not what I ...
-1
votes
1answer
384 views

Missing commands in drush 9.3 [closed]

I have installed drush 9 as dependency of my drupal 8 project as explained in: http://docs.drush.org/en/master/install/ cd ${D8_PROJECT} composer require drush/drush Then, I have installed drush ...
-1
votes
1answer
132 views

Migrating content type with different translations/languages

I'm currently migrating a specific content type that has 16,000 nodes with different translations (english, french and spanish). After entering commands drush ms. It's only showing only half what is ...
-1
votes
1answer
169 views

A database error is thrown, but mysql works

I am using Drupal 7.54, Drush version 8.1.10, and MySQL version 5.7.17 on Ubuntu 16.04. I mainly use drush for drush up to make sure my packages don't get too old. Last week, everything was working. ...
-1
votes
1answer
369 views

Drush cr command error's [duplicate]

I am using drush for drupal caches clear, module enable/disable and so more commands. My drush version is 5.4, it working fine for drupal 7 but now i creating new product in drupal 8. I am using same ...
-1
votes
2answers
159 views

How to bulk create many sites using one platform in Aegir

I a plan to use Aegir (part of a BOA server) to host many sales sites, one site for one product. I would like to know how to bulk-create 1000 sites using an existing platform in Aegir. This ...
-1
votes
1answer
2k views

Drush 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 ...
-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
387 views

Drush Make Non-existent project type on project metatags

I am attempting to stream line the drush module DL process and it works great. The Issue though is many modules are getting the error: Non-existent project type on project metatags I attempted to ...
-1
votes
1answer
22 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
votes
1answer
79 views

Sql-sync issues with key length

I'm attempting to set up a new remote website for production, and push my development database to it. I've already rsync'ed the files, and set up a new settings.php for the remote site. However, when ...
-1
votes
1answer
47 views

What is the most general way to install Drush? [duplicate]

What is the most general way to install Drush?, the way that is applicable even when there is a formal recommendation to install it from Composer, or a way that is suitable for WSL? Publish this ...
-1
votes
2answers
100 views

Trying to import an Aegir backup to new server

I've been following the instructions http://community.aegirproject.org/content/importing-existing-aegir-backups/ on how to import a site. I have the backup .tar.gz from another hosting provider on my ...
-1
votes
1answer
823 views

Drush 8.1.9+ with Drupal 6 results in “Drush command terminated abnormally due to an unrecoverable error” followed by the site home page source code

My sites are hosted on a Linux server with Apache 2.2, PHP 5.5, MySQL 5.6 installed. I use Drush 8.1.8 which I installed via composer and which works correctly with my D6, D7 and D8 sites. I can ...
-1
votes
1answer
165 views

Drush status runs the correct PHP version, drush sql-dump don't

I set the drush alias in my .bash_profile as stated in the doc: alias drush='DRUSH_PHP=/usr/local/php54/bin/php /home/dx_/drush/drush' when I run the "drush status" the correct php version shows up ...
-1
votes
1answer
106 views

Cannot change Drush version from 6.1.0 to 7.0

I am trying to update my version of Drush to include the Omega commands. For this I think I need 7.0. I have run composer global require drush/drush:7.0.0-alpha5 and this installs the package but when ...
-1
votes
1answer
592 views

Drush 6 installed on a centos server. How do i find out where its installed and upgrade it?

how do i find where is drush installed? its currently on drush 6 and looking to update it to drush 7 for drupal 8. Whats an easy way to find where its installed and update it?
-1
votes
1answer
582 views

where and how to manually apply patch? [duplicate]

Possible Duplicate: How do I apply a patch file? It is obvious latest colorbox plugin needs patching because even with drush install it is not working to load images and I've been at it all day, ...