CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Issue upgrading via Drush
Pages: [1]

Author Topic: Issue upgrading via Drush  (Read 547 times)

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Issue upgrading via Drush
December 09, 2012, 08:27:14 am
I am trying to upgrade via Drush using the following commands, from version 4.2.0 to 4.2.6:

cd /home/dev9/public_html/
drush civicrm-upgrade -tarfile=/home/dev9/tmp_dist/newfiles/civicrm.tar.gz


But I get the following output:

Bootstrap to phase 0. [0 sec, 3.45 MB] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drush() [0 sec, 3.65 MB] [bootstrap]
Cache MISS cid: 5.8-commandfiles-0-703c586ec6ca0a7c8f254f8b01d700ed [debug]
[0.01 sec, 3.66 MB]
Cache SET cid: 5.8-commandfiles-0-703c586ec6ca0a7c8f254f8b01d700ed [debug]
[0.01 sec, 3.67 MB]
Bootstrap to phase 0. [0.03 sec, 7.81 MB] [bootstrap]
Bootstrap to phase 5. [0.04 sec, 7.87 MB] [bootstrap]
The drush command 'civicrm-upgrade' could not be found. Run `drush [error]
cache-clear drush` to clear the commandfile cache if you have
installed new extensions. [0.04 sec, 7.87 MB]
The directory 1 does not contain a valid Drupal installation [0.04 [error]
sec, 7.87 MB]


I do not understand why drush is able to find the command "civicrm-upgrade" to get started, but then it loses it later.
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Issue upgrading via Drush

This forum was archived on 2017-11-26.