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) »
  • Migrating from 3.3.5 on Drupal to 4.4.4 on Worpdress
Pages: [1]

Author Topic: Migrating from 3.3.5 on Drupal to 4.4.4 on Worpdress  (Read 459 times)

stefwilliams

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.4.4
  • CMS version: Wordpress
  • MySQL version: 5.5.24
  • PHP version: 5.4.3
Migrating from 3.3.5 on Drupal to 4.4.4 on Worpdress
May 22, 2014, 08:58:47 am
Hi,

We've just been tasked with trying to migrate from a very old install of Civi on Drupal to the latest version on Wordpress.
I'm in the process of trying to figure out how the database will port across, and have started coming across a few changes to the table structure.

For example, civicrm_activity in the Drupal DB has a column 'source_contact_id', which no longer exists in 4.4.4. I've found some hints as to what happened to that particular column, but am still not sure exactly what to do with it.

I've tried searching around for info about what happened over the course of the (many) upgrades to the DB, but can't find any definitive guide (and the upgrade scripts in the Wordpress plugin don't seem to go back that far).

Can anyone point me at somewhere that might outline what changes were made in the interim versions?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Migrating from 3.3.5 on Drupal to 4.4.4 on Worpdress
May 22, 2014, 11:49:48 am
The upgrade procedures from 3.3.5 to 4.4.4 are complicated and involve PHP and MySQL code. It's virtually impossible in fact to extract the changes and present them in a simple format. There are two solutions to your situation:

1. Export the data you need from the old install and import into a new install of 4.4.5 (the latest)
2. Use the built-in upgrader scripts to upgrade from 3.3.5 to 4.4.5 while still in Drupal and then migrate to WordPress

I would recommend the second approach.
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.

stefwilliams

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.4.4
  • CMS version: Wordpress
  • MySQL version: 5.5.24
  • PHP version: 5.4.3
Re: Migrating from 3.3.5 on Drupal to 4.4.4 on Worpdress
May 23, 2014, 02:10:57 am
Thanks for the response...

Writing PHP and such is not a problem, as we are a team of developers, but we just need to know how the data needs to be restructured... Our first idea was exactly the same - to upgrade Drupal and CiviCRM, then export, but unfortunately, the Drupal installation has been heavily modified by an external third party (who is no longer involved) which makes us a bit wary.

Still, we'll try it on a dev installation and see how it goes. I think we might still need to try converting it manually.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Migrating from 3.3.5 on Drupal to 4.4.4 on Worpdress
May 23, 2014, 02:39:24 am
Manual upgrade is virtually not possible. Migrate the CiviCRM to a vanilla Drupal and do it there if you're concerned about the Drupal.
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.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Migrating from 3.3.5 on Drupal to 4.4.4 on Worpdress

This forum was archived on 2017-11-26.