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).

372 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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
168 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
182 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
179 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
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
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
3answers
115 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
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
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
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
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
2answers
855 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
72 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
467 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 ...