Questions tagged [drush]

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

370 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
1answer
104 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
738 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
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
2answers
38 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
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
722 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
68 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
105 views

Module Upgrader help required

I am using Drupal 8.2.1. Recently, I have found that with help of Drupal Module Upgrader we can upgrade Drupal 7 modules. I have tried all the steps mentioned in the installation section of the page, ...
-1
votes
1answer
793 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
158 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
579 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
2answers
794 views

It doesn't work in the root directory

I'm trying to get Drush to work in a shared environment where I have limited SSH access. I've managed to install Composer and Drush. In PuTTY I can use Drush outside of my Drupal root folder, ie. /var/...
-2
votes
1answer
29 views

Drush command for setting up databases

I just installed Drush 9 on my ubuntu 19 machine. I also downloaded the latest Drupal 7 and 8 to my /var/www/html folder. My mysql is verified working. Is there a quick drush command to help me setup ...
-2
votes
1answer
52 views

Drush won't work after installing drupal 8 on remote server using composer

After installing drupal 8 on a remote server (I have SSH access) using composer I installed drush using the following command: 'composer require drush/drush'. After I type vendor/bin/drush I get the ...
-2
votes
1answer
463 views

How to use Drush or Migrate module to create/edit/delete nodes hourly

I need to Create new nodes (W/12 fields) hourly from a new table/fields in the Drupal DB (x_table). Update currently created nodes via current x_table rows. Delete nodes once the row has been ...
-4
votes
0answers
8 views

BLT tool generate wrong artifact

Hi Guys please help with this issue I am using this command to build artifact ./vendor/bin/blt artifact:build -y usually it should copy all files from outside to deploy folder, but now it does not ...