I tried drush update;
[root@vs802 modules]# drush -v up
Initialized Drupal 6.15 root directory at /opt/drupal [notice]
Initialized Drupal site liproperty.co.uk at sites/liproperty.co.uk [notice]

and it hangs like that, same with trying to enable modules;
[root@vs802 modules]# drush enable image_fupload

though "drush dl image_fupload" seems to work ok to download a module and put it in the correct place. I am using drupal 6.15 and "drush status" returns ok

Any ideas?

thanks

Tom

Comments

tolland76’s picture

Ah, it seems that drush is not asking for a confirmation, just waiting with no prompt.....

moshe weitzman’s picture

Status: Active » Postponed (maintainer needs more info)

are you using an older pressflow by chance? try pressing 'y' when it appears to hang. it might just be waiting for input. pressflow had touble in prior versions showing the request for conformation.

tolland76’s picture

Status: Postponed (maintainer needs more info) » Active

[root@vs802 modules]# drush -d up
Drush bootstrap phase : _drush_bootstrap_drupal_root() [0.411 sec] [bootstrap]
Initialized Drupal 6.15 root directory at /opt/drupal [3.765 sec] [notice]
Drush bootstrap phase : _drush_bootstrap_drupal_site() [3.77 sec] [bootstrap]
Initialized Drupal site limepepperproperty.co.uk at sites/limepepperproperty.co.uk [3.808 sec] [notice]
Drush bootstrap phase : _drush_bootstrap_drupal_configuration() [3.812 sec] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_database() [3.822 sec] [bootstrap]
Successfully connected to the Drupal database. [3.822 sec] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_full() [3.833 sec] [bootstrap]

it is just sitting there like that....

greg.1.anderson’s picture

Just for fun, try drush -y up

moshe weitzman’s picture

Status: Active » Fixed

reopen if it isn't an old pressflow.

tolland76’s picture

yeah, that works every time.

tolland76’s picture

How do I determine if its an old "pressflow" I've never heard of that before?

tolland76’s picture

no, I am using drupal 6.15 download straight from the drupal.org website...

tolland76’s picture

Status: Fixed » Active

I am not using pressflow

greg.1.anderson’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

I don't think there's enough information here to figure out why drush is not processing input correctly.

Is it just the prompt that is being omitted? Did you try typing "y" [Return] as Moshe suggested, and see if that makes it go?

moshe weitzman’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

no feedback

alberto56’s picture

Hi,

I had this exact problem and using today's HEAD fixed it. (I was 6.x-3.0-rc3)

Albert

jbiechele’s picture

May be this could help some body with similar problems.
Using the drush dump option drush -d up showed me the "bad guy", in my case module "deploy" (6.x-1.x-dev) with these syntax errors:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in ../sites/all/modules/deploy/services/content_copy_service/content_copy_service.module on line 47
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in ../sites/all/modules/deploy/services/content_copy_service/content_copy_service.module on line 65
(Typo bug in "deploy" is already reported here: http://drupal.org/node/804692)

After correcting the missing "," in line 46 and 66 in module "content_copy_service.module"
drush up works again in my case.

It would be great if drush displays these kind of errors without using the -d switch.

askibinski’s picture

Having the same issue suddenly, on one 6.16 site, not pressflow. Using drush 3.0.
I did configure boost on that site recently, will investigate if that could cause the problem...

~/web$ drush -d up
Drush bootstrap phase : _drush_bootstrap_drupal_root() [0.05 sec, 4.5[bootstrap]
MB]
Initialized Drupal 6.16 root directory at                               [notice]
/var/clients/client0/web175/web [0.06 sec, 5.39 MB]
Drush bootstrap phase : _drush_bootstrap_drupal_site() [0.07 sec, 5.4[bootstrap]
MB]
Initialized Drupal site default at sites/default [0.11 sec, 5.51 MB]    [notice]
Drush bootstrap phase : _drush_bootstrap_drupal_configuration() [0.12[bootstrap]
sec, 5.56 MB]
Drush bootstrap phase : _drush_bootstrap_drupal_database() [0.13 sec,[bootstrap]
5.57 MB]
Successfully connected to the Drupal database. [0.13 sec, 5.57 MB]   [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_full() [0.14 sec,    [bootstrap]
6.02 MB]

and hangs there...