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) »
  • [SOLVED] upgrading civicrm on drupal
Pages: [1]

Author Topic: [SOLVED] upgrading civicrm on drupal  (Read 2026 times)

rvanderh

  • Guest
[SOLVED] upgrading civicrm on drupal
July 08, 2009, 04:20:25 am
Hello,

I am doing some testing with the upgrade proces of civicrm on drupal. What did I do:
1. My 'production site' works fine on drupal6.12 and civicrm2.2.4
http://www.prionatuinen.nl/prionanew
2. I made an exact copy of the production site to a test site
2. I upgraded the test site to drupal6.13 by this procedure
http://www.siteground.com/tutorials/drupal-tutorial/drupal_upgrade.htm
drupal6.13 went up and running
3. I upgraded to civicrm2.2.7 by this procedure
http://wiki.civicrm.org/confluence/display/CRMDOC/Upgrade+Drupal+Sites+to+2.2
I used these unix commands to do so:
Code: [Select]
cd <testsite>/sites/all/modules
rm -rf civicrm.*
wget http://downloads.sourceforge.net/sourceforge/civicrm/civicrm-2.2.7-drupal.tar.gz?use_mirror=kent
tar xvfz civicrm*tar.gz
rm -f civicrm*tar.gz
chmod a+rwx -R <testsite>/sites/default/files
4. I browsed to http://<testsite>/?q=civicrm/upgrade&amp;reset=1
And I got the message:
Quote
Upgrade CiviCRM to Version 2.2.5
Use this utility to upgrade your CiviCRM database from 2.2.4 to 2.2.5.
(...)
I browsed to http://<testsite>/sites/all/modules/civicrm/civicrm-version.txt
which gave me:
Quote
2.2.7 Drupal PHP5 22365


I am a bit puzzled, because I expect my civicrm database to be upgraded to version 2.2.7. Can anyone shine some light on this ?

Thanks, Rik
« Last Edit: July 09, 2009, 06:18:43 am by rvanderh »

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 civicrm on drupal
July 08, 2009, 10:14:21 am

i suspect you might be having 2 copies of the civicrm modules under your drupal root. can you check

else try to do a grep for "2.2.5" across your directory tree

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

rvanderh

  • Guest
Re: upgrading civicrm on drupal
July 08, 2009, 03:51:11 pm
Quote from: Donald Lobo on July 08, 2009, 10:14:21 am
i suspect you mig
Thanks. sorry, was a bit silly. the testsite was still pointing to the production db :\

But it is not as obvious as I expected it to be to copy a drupal/civicrm site from one dir/db to the other dir/db. Banging my head on this quite a while now.

linkx

  • I post occasionally
  • **
  • Posts: 86
  • Karma: 7
Re: [SOLVED] upgrading civicrm on drupal
July 29, 2009, 10:03:31 am
I'm having trouble copying from one db/dir to another. Is there a list of required steps for this process? It gives me trouble every time  :-\

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: [SOLVED] upgrading civicrm on drupal
July 29, 2009, 12:04:08 pm
http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location
Protect your investment in CiviCRM by  becoming a Member!

linkx

  • I post occasionally
  • **
  • Posts: 86
  • Karma: 7
Re: [SOLVED] upgrading civicrm on drupal
July 29, 2009, 12:36:32 pm
Thanks for that link lobo, it is just what I needed.

I am having trouble visiting the http://<drupal_site>/civicrm/admin/setting/updateConfigBackend?reset=1

because when I have civicrm enabled on the newly migrated site, all I get is 503 Errors no matter what the URL. So http://<drupal_site>/civicrm/admin/setting/updateConfigBackend?reset=1 just brings up a 503 error.

With the civicrm module disabled, Drupal functions properly, but http://<drupal_site>/civicrm/admin/setting/updateConfigBackend?reset=1 is, of course, not found.

The servers are exactly the same, as they are on the same hosting company. This MUST be a URL/path issue because that is the only thing that changed with migration.

Help?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • [SOLVED] upgrading civicrm on drupal

This forum was archived on 2017-11-26.