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
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
477 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
879 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
2answers
44 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
537 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
76 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
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
105 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
386 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
115 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
1answer
194 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
270 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
67 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
2answers
216 views

Bulk user creation

We manually create users via the Acquia Cloud Sites Factory. I want to create a script that bulk creates users at one time using a .csv file with just username, email, and password. I know I can use ...
-1
votes
1answer
337 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
124 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
142 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
345 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
150 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
61 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
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
106 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
41 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
93 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
795 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
159 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
580 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
577 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, ...
-1
votes
2answers
800 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
2answers
306 views

Drush installation in windows [closed]

I'm unable to install drush in windows. I have searched a lot for it but unable to understand. I'm new to drupal.
-2
votes
1answer
193 views

Can we update Drush compatibility chart to show Drush 8.1.15 is compatible with Drupal 8.4+ [closed]

I have a hard time convincing my staff that they can use Drush version 8.1.15 to work on D8 sites on 8.4.6 and later, because the Drush compatibility chart likely needs a new row between D8 and D9 for ...
-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
53 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
0answers
31 views

Use Drush in remote server? [duplicate]

I was using Drush version 5.3 in my remote server with no problem at all. I got it working just uploading the the tar.gz from drupal.org to the root of my server. Then I could use commands like: drush/...
-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 ...
-3
votes
1answer
201 views

Drush does not support Drupal? [closed]

My Drush 5.x was working normally and then suddenly threw this message. I upgraded to Drush 6 using the Windows installer but I am getting the same message. This is a Windows 7 machined and I stress ...
-3
votes
1answer
399 views

Drush how to sync Database to remote server?

I already use drush rsync @self @a push the local file to remote server. this following is my .drushrc file: $aliases['a'] = array( 'remote-host' => '115.28.132.217', 'remote-user' => '...
-3
votes
1answer
38 views

Running Drupal's drush cron jobs with a newer PHP version from Software Collections

How do you run Drupal's drush cron jobs when your server has a newer PHP version installed from Software Collections? The server is running Scientific Linux 7, which comes with PHP 5.4, but we need, ...
-4
votes
3answers
199 views

Did the Drush developers went “back and forth” when combining it with Composer?

If I'm not wrong about 4 or 3 years ago Drush was combined with composer, then it was "decombined" with it, till Drush 9 when they were recombined. If I'm accurate, why did this combine-decombine-...
-4
votes
2answers
59 views

Is there a single Drush and or Drupal console command to export and import all configurations?

Normally I goto Config Sync then export all > save config tar.gz > import. Can this be achieved with one command?
-4
votes
0answers
12 views

BLT tool generate wrong artifact [closed]

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