Questions tagged [drush]

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

406 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
1answer
98 views

How do I change the transport for remote drush alias calls

We're moving to an environment where our drupal instances will live inside docker containers managed by kubernetes. Currently I've got scripts for things like checking module security status across ...
0
votes
0answers
66 views

Drush 7 is not recognizing my Drupal sites, which were moved to new Virtual Host directory

On my laptop, i’ve moved all my Drupal sites from a defunct AcquiaDevDesktop set up (stopped working!) into a new Virtual Host set up. I named the folder DevSites. In trying to get the Drupal sites ...
0
votes
1answer
425 views

Unknown engine type outputformat

Hello I've just updated Drupal (to version 7.53) and now in Drush when I try launch the commands: "drush @theflyingeye.org up" (to update my website) or "drush @theflyingeye.org cc" (to clean chache) ...
0
votes
2answers
57 views

Is there an easy way to move user data between 2 sites?

I am totally new in Drupal, and I am using Drupal 7. I was asked to move data between two sites that don't even have the same structure, and have different fields. Can anything bei done with a tool ...
0
votes
1answer
101 views

Drush pm-updatestatus No JSON output on success

My sites are running Drupal 7, Drush 8.0.3. I'm creating a dashboard to check what core and module versions my Drupal sites are running (they're all on the same server). I use a shell script to get ...
0
votes
1answer
202 views

How to test upgrade availability with drush exit codes?

I need the test to only do a backup before an upgrade will take place. I use version 8.01 and I use the following command: drush up -n This seems to return zero when there are no updates and 75 ...
0
votes
1answer
179 views

Trying to turn on theme debug, but getting an error: Drush command terminated abnormally due to an unrecoverable error

I'm new to Drupal and Drush and so am hoping someone can shed some light on this. I tried to turn on Theme Debug with Drush: drush vset theme_debug 1 But I keep getting an error I don't entirely ...
0
votes
1answer
230 views

How to stop drush displaying a Drupal error message?

This question is a follow-on from this one about creating managed files. If you look at the question in the link, you'll see that I am writing a drush command to detect all the inline-images in a just-...
0
votes
1answer
734 views

Which alias do I use to run it with another PHP version?

The Server available for our new Drupal project uses an old PHP CLI Version by default. But I have setup an alias in .bash_profile like so: alias php7=/path/to/php7 and that is working fine. I would ...
0
votes
1answer
31 views

Move a site hosted on IIS/MS SQL Server across to LAMP stack

I have a Drupal 7 site which is currently hosted in a Windows servers environment (e.g. IIS and MS SQL Server). The site needs to be moved over to Platform.sh, which is using the LAMP stack. I am ...
0
votes
1answer
67 views

Bug API migration with postgreSQL

i have an issue concerning the API migration. I have an existing drupal 7 website with a MySQL database. Now i want to migrate this website in a new drupal 8 instalation with a postgreSQL database. ...
0
votes
1answer
348 views

How to clean up multiple Drush Composer installs?

I've been setting up a new Ubuntu 16.04 laptop for Drupal development. I had trouble installing Drush using Composer, but eventually got things working. Today, while setting up Drush tab completion, I ...
0
votes
1answer
72 views

Deploy to production with git using Acquia like localserver

I'm using Acquia to export my local proyect to production proyect but when I did git push just the code was saved, the changes that I did in UI was not saved for example I created a user in local UI ...
0
votes
1answer
36 views

Prevent drupal_messages in drush

I am creating a bash script to automate some stuff including drush commands. When using drush vget I always get Drupal messages, but I only want the value of the variable. This prevents me from ...
0
votes
1answer
99 views

Drush do not autocomplete files and directory names

I'm using Linux Mint 18 XFCE. Drush perfectly works, except for this annoying issue that it does not let me autocomplete file or directory names in a drush command. Lets say that I want to sync my ...
0
votes
1answer
2k views

Drush does not work invoking the local Drush

I have installed new D8 on a remote server using this way https://github.com/drupal-composer/drupal-project . I have pulled files from GitHub and I have run 'composer install' for getting the all ...
0
votes
1answer
44 views

How does Drush figure out modules that have updates?

How does Drush get information about installed and disabled modules and updates for them? I'm facing issues since drush is trying to update modules that AREN'T in the modules directory nor in the ...
0
votes
1answer
32 views

Error after upgrading ecommerce kickstart is breaking my start

I'm working on someone else's project that hasn't updated its "Commerce Kickstart" (commerce_kickstart) module in a long time. After I upgrade it using Drush, the site breaks and I'm left with the ...
0
votes
2answers
348 views

Drush cc gives only two options even when I am in root folder

I am working with drupal 8, MAMP version 3.5, and drush version 8.1.3. I have installed drush globally and when I enter drush st it gives me complete information and shows that drush is installed but ...
0
votes
1answer
252 views

Installed a module, broke my site. And now I have no way to turn it off

I'm still wrapping my head around Drupal 8 and installing modules during my learning process. Now I installed this module: https://github.com/iwhitcomb/foobar and it totally broke my site: In Drupal ...
0
votes
1answer
430 views

How to configure drush with Acquia DevDesktop on Windows to access through proxy?

There are some answers to similar questions using WAMP, but now drush is not recommended under Windows (unless using DevDesktop, which I am). And this is seriously frustrating. I followed the ...
0
votes
1answer
151 views

How can I download code from Github?

I'm still running some Drupal 6 sites (because I'm waiting for the Migrate module to work properly in Drupal 8), and I notice that there are some modules in rupal D6 (like Views) which are still ...
0
votes
1answer
15 views

Drush and web front end reporting strange updates?

Is anybody else seeing this: root@dev:/etc/apache2/htdocs/drupal-7/sites/tpppdonate.org.uk# drush pm-update --pipe imagecache_token 7.x-1.0-rc2 7.x-1.x-dev Update-available uuid 7.x-1.0-beta1 7.x-1.x-...
0
votes
1answer
246 views

Fluch cache on all sites in multisite platform

Is there a way to clear cache on all sites in platform by using platform alias? For example, drush @platform_name cc all ? (its multisite setup via aegir). The problem I am facing with is, when I run ...
0
votes
1answer
235 views

drush sql-sync doesnt extract gzipped sql

I run the following command from a script: drush -v sql-sync @tmp.stage @tmp.coe | tee ./sql-sync.log My @tmp.stage server is Drush 7.0 and @tmp.coe servers is Drush 6.2.0 An SQL dumpfile is ...
0
votes
1answer
65 views

“COPY_ERROR: Unable to copy” while using drush make with download type “copy”

Here is my module structure: . |-- mymodule.make |-- mymodule.info |-- mymodule.module |-- mymodule.install `-- sub1 |-- sub1.make |-- sub1.info |-- sub1.module `-- sub1.install I ...
0
votes
0answers
803 views

Drush is not able to bootstrap on Windows

I'm having problems getting drush to bootstrap my site. My problems are similar to the one at "Drush is not able to bootstrap". I asked this question once and it was put on hold, I guess because ...
0
votes
0answers
188 views

Problems with composer manager on windows

I'm trying to use the dev version of openlayers which requires composer mananger. I can successfully install the module, and the module creates a json file with my packages inside my sites/default/...
0
votes
1answer
150 views

How to overwrite modules by default with DRUSH?

I am using a module list from Drupal 7 to populate a Drupal 8 site. Some modules are now included in core, so there are a lot of confirm overwrite messages like this: Install location C:\drupal-8.0....
0
votes
1answer
278 views

How to set configuration value for drush site install?

I have set a central translations directory(sites/all/translations) for my multisite installation profile so that each site does not have to download translations that were already downloaded. I have ...
0
votes
0answers
52 views

Why do I need to rebuild registry over and over again?

A while back I moved a module from the /sites/all/modules/contrib directory to /sites/all/modules/patched It was no surprise I had to rebuild the registry (using registry rebuild) after that so it ...
0
votes
0answers
243 views

Install Drush error on bluehost

I am following instructions at https://www.drupal.org/node/2366283 to install Drush at bluehost.com using PuTTY. I'm stuck at the install composer step. I tried the curl -sS https://getcomposer.org/...
0
votes
2answers
419 views

Translate untranslated strings

I downloaded and enabled translations for my Drupal core and modules using these Drush commands: drush dl l10n_update && drush en -y $_ drush language-add lt && drush language-enable $...
0
votes
0answers
74 views

Problems installing drush 7.0 on Windows

I've been using drush 6 quite happily on a Windows machine (where I'm testing Drupal 7 sites) for some time, installed if I remember rightly using an MSI installer, under "Program Files". I'm working ...
0
votes
1answer
10 views

how to fetch user related tables from live sever with drush sql-sync

If you have a live server where some people have registered to your iste and you push new content from your dev,server regularly. What is the best workflow to fetch user related data from the server ...
0
votes
0answers
344 views

How to get Drush to find my site files?

I am currently sucking at getting Drush working on my site. I've been through the basic composer install process, and have Drush 7 installed and running. It even basically works: [root@linux2 ...
0
votes
1answer
112 views

Core image module not found

Some how it seems like the core image module is missing from the module list. Here is the screenshot of the module list: Also I tried fetching the list using drush. $ drush pml | grep image Image ...
0
votes
1answer
85 views

How to group drush command sets together in sequence?

For example, when installing a drupal site, there are 3 sets of commands: drush dl drupal-7.x drush site-install standard --account-name=admin --account-pass=admin --db- url=mysql://YourMySQLUser:...
0
votes
0answers
86 views

Drush command l10n_update could not be found, but is present in Drupal site

Installed Drush 6.6.0 using composer following instructions on drush.org. Works fine. I have a set of site aliases in ~/.drush/mysite.aliases.drushrc.php: mysite.dev, mysite.stage, mysite.prod All ...
0
votes
3answers
179 views

How to get into a Drupal 7 site using only Drush without touching code or anything else?

I'm working on a acquia site and right now the dev environment is replicated from the prod. I want to be able to get in as admin on the dev site, but every time i hit the /user path it redirects me ...
0
votes
1answer
112 views

Drush Remote Alias Fails with No Drupal Site Found

This is incredibly frustrating. Here's the deal. I have a drush alias defined for a server I'm working with. No matter what command it is, if it needs to bootstrap Drupal it fails with no drupal site ...
0
votes
0answers
293 views

drush archive-restore fails with DRUSH_UNKNOWN_OPTION“:[”Unknown options: --e, --g

Here's what I input at the command line: drush arr /var/backups/backup_migrate/scheduled/[archive name].tar.gz/var/www/vhosts/[sitename] --overwrite It didn't restore either the code or database ...
0
votes
1answer
121 views

drush update - php.ini problem

I am trying to update drupal using drush from Version 7.36 to 7.38 with >drush up drupal the process finishes in 2-3 seconds stating update has successfully finished and a backup has been created. As ...
0
votes
1answer
31 views

Features, Drush and Drupal 6

I'm using drush on D6 websites and i would to create and manage my features via drush.So i patched the 1.2 version like in this post : Then i get an error when i try to create a feature for content ...
0
votes
1answer
336 views

Error when uploading file through Drush on S3 volume

I am using Amazon S3 volume to store the node's attachment. I keep having the following message: file_put_contents(public:///.htaccess): failed to open stream: "DrupalPublicStreamWrapper::stream_open"...
0
votes
1answer
448 views

Run a drush script from php system()

I have a Drupal module with a function that runs a system(“myscript.drush”); function _deploy_monitor_stream($submission_id) { header("Content-type: text/plain"); disable_ob(); // Outputs to ...
0
votes
1answer
61 views

Working on Drupal and Drush with teammates

I'm currently working on a website using Drupal 8, with 3 other members in my team. We use git as a versioning system, and we very often work at the same time on different branches. Here is the ...
0
votes
1answer
62 views

Enable CSS files in Omega 3 sub theme with Drush?

Is it possible to enable CSS files in an Omega 3 sub theme with Drush? Im working locally and regularly importing the latest database from live. I have a build script that I run to clear cache, ...
0
votes
1answer
348 views

drush cannot update commerce kickstart

I just installed Commerce Kickstart and got a prompt to upgrade from 7.x-2.20 to 7.x-2.21. drush cannot update throws error: The commerce_kickstart directory could not be found within the modules ...
0
votes
1answer
118 views

Using Features with an existing content type?

I'm trying to use features to deploy some changes from a local development site to a staging site on a seperate server, the problem is that I've got an existing content type on my dev and staging ...

1
5 6
7
8 9