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) »
  • Upgrading from 2.0.0 to 2.0.2
Pages: [1]

Author Topic: Upgrading from 2.0.0 to 2.0.2  (Read 3744 times)

mhansen4

  • I post occasionally
  • **
  • Posts: 34
  • Karma: 0
  • Isn't it all Logical
  • CiviCRM version: 3.4
  • CMS version: Drupal 6.22
Upgrading from 2.0.0 to 2.0.2
April 14, 2008, 06:20:31 pm
It looks like I need to upgrade from 2.0.0 to 2.0.2 because of a issue I have that is fixed in 2.0.2. I however am new to CiviCRM and Drupal for that matter but am learning fast. I am a bit confused as to how to perform this upgrade on CiviCRM's website there is documentatoin of how to upgrade from 1.7 to 1.8 (I am assuming these are generic instructions) but there are also instructions for upgrading revisions in the same version.

First going from 2.0.0 to 2.0.2 is this a version or revision upgrade

Second are the instructions I mentioned above appropriate to follow for this upgrade. If not could you point me to the correct ones.

Thanks

FYI: If you a curious the problem I am running into is using smart groups as recipients in CiviMail apparently this is a know issue that has been resolved.
Mike

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: Upgrading from 2.0.0 to 2.0.2
April 14, 2008, 06:33:02 pm

For drupal the upgrade with minor versions is just a code upgrade. You can untar the package in the appropriate place and should be all set (to be safe you should truncate the sessions table and delete the templates_c directory to avoid any smarty caching issues)

If your civimail issue is: http://issues.civicrm.org/jira/browse/CRM-2951, that is not part of 2.0.2. It will be part of 2.0.3 which is expected to be released at the end of this month

You can patch your code with the diff here: http://biryani.osuosl.org:8181/changelog/CiviCRM/branches/v2.0?cs=13885

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

mhansen4

  • I post occasionally
  • **
  • Posts: 34
  • Karma: 0
  • Isn't it all Logical
  • CiviCRM version: 3.4
  • CMS version: Drupal 6.22
Re: Upgrading from 2.0.0 to 2.0.2
April 14, 2008, 06:50:40 pm
So basicly I just untar 2.0.2 like I installing it new?

Do I need to do anything in the Drupal Module Administration screen?

Thanks
Mike
Mike

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: Upgrading from 2.0.0 to 2.0.2
April 14, 2008, 07:29:44 pm

not really. you are just overwriting the old 2.0.0 codebase. you retain and reuse the same settings file and db etc

nothing to be done in drupal admin screen

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

mhansen4

  • I post occasionally
  • **
  • Posts: 34
  • Karma: 0
  • Isn't it all Logical
  • CiviCRM version: 3.4
  • CMS version: Drupal 6.22
Re: Upgrading from 2.0.0 to 2.0.2
April 14, 2008, 08:18:33 pm
When I installed CiviCRM I untared the code into my drupal/sites/all/modules directory. This created drupal/sites/all/modules/civicrm. Do I remove the directory and then just extract the new version in its place or do I extract the new one over top of the old one?

What about the drupal/files/civicrm directory?

Thanks
Mike
Mike

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: Upgrading from 2.0.0 to 2.0.2
April 14, 2008, 09:30:05 pm

1. You can extract it over the old one

2. delete drupal/files/civicrm. civicrm will recreate it

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

mhansen4

  • I post occasionally
  • **
  • Posts: 34
  • Karma: 0
  • Isn't it all Logical
  • CiviCRM version: 3.4
  • CMS version: Drupal 6.22
Re: Upgrading from 2.0.0 to 2.0.2
April 14, 2008, 09:37:36 pm
The 2 steps above are it then? I don't need to run any scripts?
« Last Edit: April 14, 2008, 10:03:34 pm by mhansen4 »
Mike

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Upgrading from 2.0.0 to 2.0.2
April 15, 2008, 01:14:08 am
Yes, to upgrade between two revisions of the same (here, 2.0) release it’s enough to just extract the files. You don’t have to run any scripts, and just to be sure, you can delete the files/civicrm/templates_c directory as well as truncate the sessions table of your Drupal database.
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

mhansen4

  • I post occasionally
  • **
  • Posts: 34
  • Karma: 0
  • Isn't it all Logical
  • CiviCRM version: 3.4
  • CMS version: Drupal 6.22
Re: Upgrading from 2.0.0 to 2.0.2
April 15, 2008, 06:55:26 am
Donald, Piotr,

Thankyou very much for stating this clearly. This would be a very good issue to address in the documentation. I know that some of this exists already but it isn't writen genericly. It specifies specific versions in most cases leaving you to wonder if those are special instructions for that version. Also there should be something in the uprade section of the documentation that explains the difference between a revision and version. Now that I had it explained to me it is easy. However coming into this as a newby I didn't know how the versioning of the software was notated.

Again thanks for the help. I am really excited about putting CiviCRM into production.

Mike
Mike

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Upgrading from 2.0.0 to 2.0.2
April 15, 2008, 12:01:03 pm
Mike - I've updated the general instructions for upgrading from one revision to another (and including an explanation of Versions and Revisions):
http://wiki.civicrm.org/confluence/display/CRMDOC/Upgrading+to+a+new+CiviCRM+Revision+on+Drupal

Would be great if you could review the updated doc and add / clarify anything if needed based on your recent "adventure" :-)

I've also added a link to this page from the "version 1.9 to 2.0" upgrade doc:
http://wiki.civicrm.org/confluence/display/CRMDOC/Upgrade+Drupal+Sites+to+2.0
Protect your investment in CiviCRM by  becoming a Member!

mhansen4

  • I post occasionally
  • **
  • Posts: 34
  • Karma: 0
  • Isn't it all Logical
  • CiviCRM version: 3.4
  • CMS version: Drupal 6.22
Re: Upgrading from 2.0.0 to 2.0.2
April 15, 2008, 01:06:25 pm
Dave,

This looks great as is. I will definetly make comments though as I run through the process later this week.

Thanks
Mike
Mike

mhansen4

  • I post occasionally
  • **
  • Posts: 34
  • Karma: 0
  • Isn't it all Logical
  • CiviCRM version: 3.4
  • CMS version: Drupal 6.22
Re: Upgrading from 2.0.0 to 2.0.2
April 20, 2008, 05:11:03 pm
I followed the instructions you created in the Doc and the process seemed to go smoothly. The information you posted in the doc answered the basic generic questions I (and I imagine other new users) would have about upgrading from revision to another.
Mike

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

This forum was archived on 2017-11-26.