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) »
  • Upgrade 4.16 D6 to 4.2 D7 - how?
Pages: [1]

Author Topic: Upgrade 4.16 D6 to 4.2 D7 - how?  (Read 696 times)

clarkac

  • Administrator
  • Ask me questions
  • *****
  • Posts: 399
  • Karma: 11
  • CiviCRM version: 4.4.11 & 4.5.5
  • CMS version: Drupal 7
  • MySQL version: 5.1.61-cll
  • PHP version: 5.3.27
Upgrade 4.16 D6 to 4.2 D7 - how?
August 27, 2012, 09:56:54 am
I want to upgrade a Drupal 6 install of 4.1.5 to 4.2 under Drupal 7.   I guess that I should follow the guide for upgrading a Drupal 7 site that is found here http://wiki.civicrm.org/confluence/display/CRMDOC42/Upgrade+Drupal+Sites+to+4.2+-+Drupal+7   
Is this the right guide to follow? I guess I move from Drupal 6 to Drupal 7 in between stages 6 and 7 of this guide?
Andy Clark

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Upgrade 4.16 D6 to 4.2 D7 - how?
August 27, 2012, 11:52:43 am
Not exactly. This double upgrade is slightly complicated. What I would do is:

1. Disable CiviCRM
2. Upgrade Drupal to 7 (and any modules)
3. Install a fresh CiviCRM 4.2 into a "spare" database
4. Edit sites/default/civicrm.settings.php to have it connect to your real database
5. Run the CiviCRM upgrader civicrm/upgrade?reset=1

Just be sure not to do anything whatsoever between steps 4 and 5. :)
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

questions

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 2
  • CiviCRM version: 4.4.6
  • CMS version: Durpal, 7
  • MySQL version: 5.1
  • PHP version: 5.3
Re: Upgrade 4.16 D6 to 4.2 D7 - how?
November 10, 2012, 04:15:35 pm
Because I didn't come across this at first.  I just tried another method proposed by Lobo, upgrade civi first to 4.2 drupal6 and then upgrade drupal.  So far it seems to have worked; though, I haven't done a ton of testing yet.  (I was upgrading from 3.4.6)

Steps I used
1. Upgrade civi to 4.2 drupal6 per std instructions
2. Put site into maintenance
3. Copy sites directory to someplace above where it is
4. Delete everything in the web root directory
5. Unpack drupal 7
6. Copy sites directory back
7. Edit sites/default/civicrm.settings.php and change the CIVICRM_UF from Drupal6 to Drupal
8. If upgrading from something pre 4.0 add the additional definitions defined in step 9 on the "Upgrade Drupal Sites to 4.2 - Drupal 7" wiki page
9. Delete or rename the sites/all/module/civicrm directory
10. Unpack civicrm-4.2.6-drupal into sites/all/modules
11. Run the drupal upgrade  http://yoursite/update.php


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Upgrade 4.16 D6 to 4.2 D7 - how?

This forum was archived on 2017-11-26.