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) »
  • Going from 2.07 to 2.2
Pages: [1]

Author Topic: Going from 2.07 to 2.2  (Read 1316 times)

shrill

  • Guest
Going from 2.07 to 2.2
May 18, 2009, 01:39:32 pm

Hi all.

I'm hoping someone can help me out here. I want to start working towards upgrading a client site to 2.2 from 2.07. I have set up a Drupal 6 site on another server. I need to be able to transfer the current data over from the existing site, but it is a live site, so I can't be doing any upgrade scripts to it at the source.

Is it possible to install 2.07 on my test server, even though it is Drupal 6 (not Drupal 5 like the live current version), and then do the upgrade scripts? Or is there an easier (and faster) way? Could I just create a mysql database and do the scripts via phpmyadmin and then import it into the new 2.2 site?

Thanks,

Shrill
« Last Edit: May 18, 2009, 01:41:23 pm by shrill »

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Going from 2.07 to 2.2
May 18, 2009, 02:43:57 pm

u dont need drupal 5 for the below. Make sure you have drupal 6 installed. You are not installing 2.0, you are just using the 2.0 db and the 2.0 settings files. The follow the 2.0 -> 2.1 upgrade instructions from the wiki using your 2.0 database (you will also need to make sure you have a valid civicrm.settings.php) and then u can do the 2.1 -> 2.2.3 upgrade

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Chris Burgess

  • Ask me questions
  • ****
  • Posts: 675
  • Karma: 59
Re: Going from 2.07 to 2.2
May 18, 2009, 02:48:32 pm
As far as I'm aware, the correct process is to upgrade first to 2.1, then to install 2.2.

http://wiki.civicrm.org/confluence/display/CRMDOC/Installation+and+Upgrades has the official docs on this.

I would love to be able to skip the 2.1 step, but at this stage I don't think it's possible. I haven't checked if there's an issue open for this.

Have upgraded several 2.0 to 2.2 sites this way, and apart from being a little bit time-consuming (especially if you need to upload 2.1 via FTP just to run the updater and then replace it with 2.2, ugh) this worked fine. The only exception was a site where we'd made some customisations to the DB structure; it needed a spot of massage.

EDIT: As lobo says above, you'll need to install 2.1 on D6 anyway, not 2.0.

HTH
@xurizaemon ā— www.fuzion.co.nz

shrill

  • Guest
Re: Going from 2.07 to 2.2
May 18, 2009, 02:59:14 pm
Okay, so this is what I'm going to do. Only a pretend techie here so would love to confirm that this will work.

Create a mysql database and import my current 2.07 database into it.
Install 2.1, using the existing database (I don't think I need to upgrade it at all first?)
Then run the upgrade script aka update.php

At that point I can continue to upgrade to 2.2. Is that right?

Thanks,

Shrill

Chris Burgess

  • Ask me questions
  • ****
  • Posts: 675
  • Karma: 59
Re: Going from 2.07 to 2.2
May 18, 2009, 03:49:36 pm
Quote from: shrill on May 18, 2009, 02:59:14 pm
Create a mysql database and import my current 2.07 database into it.
Install 2.1, using the existing database (I don't think I need to upgrade it at all first?)
Then run the upgrade script aka update.php

Drupal's update.php won't update your CiviCRM DB. (In fact, you need to disable the CiviCRM module for this upgrade, then run the CiviCRM updater at http://example.com/sites/all/modules/civicrm/install/upgrade.php?reset=1 by accessing CiviCRM's upgrade.php directly.)

Read and follow the instructions carefully: http://wiki.civicrm.org/confluence/display/CRMDOC21/Upgrade+Drupal+Sites+to+2.1

Quote from: shrill on May 18, 2009, 02:59:14 pm
At that point I can continue to upgrade to 2.2. Is that right?

This time the updater is located at http://example.com/civicrm/upgrade?reset=1 and CiviCRM needs to be enabled.

Read and follow the instructions carefully: http://wiki.civicrm.org/confluence/display/CRMDOC/Upgrade+Drupal+Sites+to+2.2

Good luck! And good on you for taking the careful approach of upgrading CiviCRM into a separate DB, so that you can be confident of having a working copy of the previous version after the fact.
@xurizaemon ā— www.fuzion.co.nz

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Going from 2.07 to 2.2

This forum was archived on 2017-11-26.