I am trying to understand how Drush site-upgrade works. The help isn't too clear to me, and all the info I found on the net hasn't been helpful.
When I run $drush site-update @self on my local dev (MAMP Pro/OSX10.6.3) to attempt upgrading Drupal 6.16 to 6.19, I get: ======= Do you really want to continue? (y/n): y sh: mysqldump: command not found sh: mysql: command not found sh: mysql: command not found No database updates required [success] 'all' cache was cleared [success] Finished performing updates. =======
pm update works wonder. That was easy, but this one, I have been scratching my head for 3 hours now. Any help would be appreciated.
-- - Hiro
Hiroaki Honshuku, A-NO-NE Music, Greater Boston http://a-no-ne.com http://anonemusic.com
I'm pretty sure that command upgrades a 'major' version, such as 5.x to 6.x.
Those commands aren't in your default path when using MAMP, which is why you get those 'command not found' errors.
Try just a 'drush up' - which should update your drupal core and modules to the latest version, then run updatedb.
-Benj
On Wed, Aug 18, 2010 at 3:34 PM, A-NO-NE Music madflute@anonemusic.comwrote:
I am trying to understand how Drush site-upgrade works. The help isn't too clear to me, and all the info I found on the net hasn't been helpful.
When I run $drush site-update @self on my local dev (MAMP Pro/OSX10.6.3) to attempt upgrading Drupal 6.16 to 6.19, I get: ======= Do you really want to continue? (y/n): y sh: mysqldump: command not found sh: mysql: command not found sh: mysql: command not found No database updates required [success] 'all' cache was cleared [success] Finished performing updates. =======
pm update works wonder. That was easy, but this one, I have been scratching my head for 3 hours now. Any help would be appreciated.
--
- Hiro
Hiroaki Honshuku, A-NO-NE Music, Greater Boston http://a-no-ne.com http://anonemusic.com
-- [ Drupal support list | http://lists.drupal.org/ ]
On 2010/08/18, at 22:34, Benj Fredrick wrote:
I'm pretty sure that command upgrades a 'major' version, such as 5.x to 6.x.
Thank you for your response. I din't realize that.
Try just a 'drush up' - which should update your drupal core and modules to the latest version, then run updatedb.
Last time I tried, 'drush up' does not update point release. I just tried, and confirmed only the modules had been updated, which I don't like. I have been 'pm-update' selectively, which works the way I like for modules.
So, when I need from drupal 6.16 to 6.19, what command and argument do I type into drush?
-- - Hiro
Hiroaki Honshuku, A-NO-NE Music, Greater Boston http://a-no-ne.com http://anonemusic.com
On Wed, Aug 18, 2010 at 9:56 PM, A-NO-NE Music madflute@anonemusic.comwrote:
On 2010/08/18, at 22:34, Benj Fredrick wrote:
I'm pretty sure that command upgrades a 'major' version, such as 5.x to 6.x.
Thank you for your response. I din't realize that.
Try just a 'drush up' - which should update your drupal core and modules to the latest version, then run updatedb.
Last time I tried, 'drush up' does not update point release. I just tried, and confirmed only the modules had been updated, which I don't like. I have been 'pm-update' selectively, which works the way I like for modules.
So, when I need from drupal 6.16 to 6.19, what command and argument do I type into drush?
--
- Hiro
To update from Z.x to Z.y (where y > x), type 'drush up'.
Make sure your drush version is current.
Brian
On 2010/08/19, at 13:42, Brian Choc wrote:
To update from Z.x to Z.y (where y > x), type 'drush up'.
Hi, As I mentioned before, 'drush up' is an alias for pm-update, and will not update core. I confirmed this by running it on my local dev.
Make sure your drush version is current.
Yes, it's drush-6.x-3.3.
Best regards.
-- - Hiro
Hiroaki Honshuku, A-NO-NE Music, Greater Boston http://a-no-ne.com http://anonemusic.com