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
Comment #1
tolland76 commentedAh, it seems that drush is not asking for a confirmation, just waiting with no prompt.....
Comment #2
moshe weitzman commentedare 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.
Comment #3
tolland76 commented[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....
Comment #4
greg.1.anderson commentedJust for fun, try
drush -y upComment #5
moshe weitzman commentedreopen if it isn't an old pressflow.
Comment #6
tolland76 commentedyeah, that works every time.
Comment #7
tolland76 commentedHow do I determine if its an old "pressflow" I've never heard of that before?
Comment #8
tolland76 commentedno, I am using drupal 6.15 download straight from the drupal.org website...
Comment #9
tolland76 commentedI am not using pressflow
Comment #10
greg.1.anderson commentedI 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?
Comment #11
moshe weitzman commentedno feedback
Comment #12
alberto56 commentedHi,
I had this exact problem and using today's HEAD fixed it. (I was 6.x-3.0-rc3)
Albert
Comment #13
jbiechele commentedMay be this could help some body with similar problems.
Using the drush dump option
drush -d upshowed 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 upworks again in my case.It would be great if drush displays these kind of errors without using the -d switch.
Comment #14
askibinski commentedHaving 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...
and hangs there...