When I run drush pm update, it just hangs and does nothing. No error output, no update status, nada. I have to hit ctrl-c to cancel it. I have tried using the -v option, as well as different --handler and --uri options, all with the same result.
drush help works, drush pm refresh works, as do the watchdog show and cache clear commands.
Interestingly, if I run drush cache clear, then run drush pm update, I get:
ajax: ~ $ drush cache clear
Cache cleared.
ajax: ~ $ drush pm update
Update information last refreshed: Tue, 11/04/2008 - 21:07Update status information on all installed and enabled Drupal modules:
Name Installed version Recommended version Status
---- ----------------- ------------------- ------drush: No updates available.
Version details: Drupal 5.12, PHP 5.2.6, MySQL Server 5.0.67-log, MySQL Client 5.0.32
Comments
Comment #1
futuresoon commentedI'm getting this too. I'll let you know if I can find anything
[p.s. oh yeah i'm remote on dreamhost if that makes a difference]
Comment #2
hydrian commentedI am also having the same problem. I am using Drush 1.4 on Drupal 5.15 and I get the same results when I a try to update. I am able to install new modules without a problem. I have tried using drush with PHP4 and PHP5. It doesn't seem to make a difference. One interesting tid-bit is that I am also a dreamhost customer also. This may be an issue with DH.
Comment #3
hydrian commentedOk.. I think found out a work-around/fix for this issue. I got 'drush pm update' working properly but I had to use full paths.
(This is dreamhost specific)
${DRUPALCORE} = location of drupal installation
Comment #4
hydrian commentedI think it may be due to that Dreamhost's default version of PHP that is in the path is PHP4. You need to explicitly make sure you are using PHP5.
Comment #5
futuresoon commentedahh, indeed. nice catch :-)
[edit:
$ which phpyields usr/local/bin/php (i.e. php 4) and using the long version (usr/local/php5/bin/php) fixes it for me]Comment #6
futuresoon commented