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 »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Civi4.1.1: Do I upgrade Drupal first or CiviCRM first?
Pages: [1]

Author Topic: Civi4.1.1: Do I upgrade Drupal first or CiviCRM first?  (Read 1809 times)

lexiflower

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 3.3
  • CMS version: Drupal 6
  • MySQL version: 5.1
  • PHP version: 5.3
Civi4.1.1: Do I upgrade Drupal first or CiviCRM first?
April 06, 2012, 12:53:40 pm
Hi I am currently using Drupal 6.2 and CiviCRM 3.3. I wish to use the new Drupal 7 with CiviCRM 4.1.1. Do I upgrade Drupal first to 7? Or do I upgrade CiviCRM to 4.1.1 first? I know I can remain on Drupal 6 but I would like to use Drupal 7, you see.

Thanks

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Civi4.1.1: Do I upgrade Drupal first or CiviCRM first?
April 07, 2012, 03:17:35 am
You would have to do both obviously, as CiviCRM 4.1.1 does not work with Drupal 6. As a working instruction, I would first upgrade to Drupal 7, then CiviCRM. And obviously on a sandbox first :-)
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

lexiflower

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 3.3
  • CMS version: Drupal 6
  • MySQL version: 5.1
  • PHP version: 5.3
Re: Civi4.1.1: Do I upgrade Drupal first or CiviCRM first?
April 07, 2012, 11:23:49 am
Thanks for your advice regarding upgrading Drupal first before CiviCRM. Unless I read it wrong, CiviCRM 4.1 and onward now supports Drupal 6 as well as 7?

Is upgrading Drupal 6 to 7 with CiviCRM previously installed particularly difficult? I would have preferred to remain on Drupal 6, but my colleagues say Drupal 6 support by CiviCRM the organization is going away quite soon?

Thanks

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Civi4.1.1: Do I upgrade Drupal first or CiviCRM first?
April 09, 2012, 07:01:40 am
Quote
Unless I read it wrong, CiviCRM 4.1 and onward now supports Drupal 6 as well as 7?
4.1 should support both, that was new to me too  :D
In that case, I would possibly update CiviCRM first and then later over to Drupal 7. I am not sure what the support lifetime for Drupal 6 is, personally I am planning for an upgrade to Drupal 7 for my biggest customer in 2013....
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

mclyde

  • I post frequently
  • ***
  • Posts: 171
  • Karma: 3
    • International Society for Bayesian Analysis
  • CiviCRM version: 4.2.7
  • CMS version: Drupal 6.x
  • MySQL version: 5.136
  • PHP version: 5.2.16
Re: Civi4.1.1: Do I upgrade Drupal first or CiviCRM first?
April 26, 2012, 09:56:16 am
 We've upgraded upgrade the production site to 4.1 for Drupal  6 as we needed some of the patches for memberships.  Ugrading Drupal to 7 is still a future project, so I am hoping that order of upgrades does not cause trouble!

Has anyone upgraded D6 to D7 running civi 4.1?   (this may be a summer project)

cheers,
m
Merlise Clyde

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Civi4.1.1: Do I upgrade Drupal first or CiviCRM first?
April 26, 2012, 04:57:30 pm
Quote from: mclyde on April 26, 2012, 09:56:16 am
Has anyone upgraded D6 to D7 running civi 4.1?   (this may be a summer project)

This is an interesting question. I don't think anyone has, nor is there any documentation for this AFAIK.

You would have to disable CiviCRM, run the D6-D7 upgrade and then:

  • Replace the CiviCRM module files of course, with the D7 version
  • Change "define( 'CIVICRM_UF', 'Drupal6');" to "define( 'CIVICRM_UF', 'Drupal');" i.e. delete the 6, in civicrm.settings.php

I think that would be it.

Or you could probably:

  • Replace the CiviCRM module files with the D7 version
  • Rename civicrm.settings.php
  • Install CiviCRM into a fresh database
  • Change the CiviCRM DB reference in the new civicrm.settings.php to your old DB

This is all theoretical thus far however. :)
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.

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: Civi4.1.1: Do I upgrade Drupal first or CiviCRM first?
April 26, 2012, 07:36:23 pm

My answer on IRC to someone on this topic today was:

 1. upgrade civi to 4.1.2 on d6. Make sure u set the UF to Drupal6 in civicrm.settings.php
 2. upgrade d6 to d7
 3. adjust civicrm.settings.php to revert the change in #1

I'd keep civicrm enabled the entire time

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Civi4.1.1: Do I upgrade Drupal first or CiviCRM first?

This forum was archived on 2017-11-26.