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
-1
votes
1answer
74 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
435 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
134 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
189 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
379 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
168 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
63 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
389 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
0answers
24 views

How to bulk update path using drush and pathauto?

Is there a way to bulk update paths, using pathauto and drush in Drupal 7?
-1
votes
0answers
43 views

Unable to untar when executing drush dl command

I have an error message when I want to launch this cmd with Drush: drush dl Webform Unable to untar C: \ Users \ Admin \ AppData \ Local \ Temp \ drush_tmp_1578139805_5e10809dade73 \ webBF32.tmp. [...
-1
votes
1answer
27 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
80 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
2answers
102 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
831 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
172 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
596 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
588 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
876 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
239 views

How does `drush cim` find and handle the config-directory? [closed]

I would like to know where the config directory is, and how drush cim command exactly handles it? Edit: The old title (i.e. "Where is Drush's command-specific documentation?") was because I thought ...
-2
votes
2answers
315 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
45 views

How do I create the database tables?

I installed composer-Git and drush and was continuing with the installation of Drupal 8 from the command line. I read that you can create the database directly from drush, while in other parts I read ...
-2
votes
1answer
225 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
0answers
44 views

Why doesn't “drush mysql” work? [closed]

I installed a test site, and I'm using Git to launch Drush commands and they seem to work. I tried drush mysql, but I get this error. The drush command 'mysql' could not be found. Run drush cache-...
-2
votes
1answer
34 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
87 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
32 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
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 ...
-3
votes
2answers
54 views

How to decrypt the password? [closed]

I want to decrypt the password by drush in drupal . is there any way for decrypt it or i have to decrypt with some command or use php code to solve it?
-3
votes
1answer
206 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
47 views

How to login as any user with Drush

How do you login to a Drupal site if you do not have the password of the admin user or user 1 but still have access to the command line? Can I use drush to login to the Drupal site
-3
votes
1answer
418 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
84 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
2answers
86 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?
-5
votes
3answers
223 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, but in Drush 9 when they were recombined. If so, why did this combine-decombine-combine ...