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) »
  • Upgrade 2.02 -> 2.1.6 times out
Pages: [1]

Author Topic: Upgrade 2.02 -> 2.1.6 times out  (Read 1411 times)

emccaughrin

  • Guest
Upgrade 2.02 -> 2.1.6 times out
March 14, 2009, 09:55:52 pm
Hi,
We've managed previous civiCRM upgrades without incident, but this time no such luck.

The situation:
Stable 2.02 installation, which we've been using for around 6 months on drupal 5-7. We are trying to migrate to drupal 6-10 and civiCRM 2.1.6.

The drupal-6 migration went just fine, and we've been running off it for several days now. However, the civiCRM upgrade process is stuck.

What we did:
1. Made copy of database
2. Downloaded new civiCRM code into modules area
3. Put website into maintenance mode
4. Tried running the .../sites/all/modules/civicrm/install/upgrade.php?reset=1 upgrade script.

It was at step #4 where things get stuck. What I see from the web browser is that the thing is just spinning its wheels. The script never seems to complete and I don't get any messages or errors back. Eventually, the web connection just dies (page not found error). The "page not found" result happens exactly 3 minutes after I initiate the script.

If I try running the script a second time, it claims the database has been updated. But this seems unlikely, and trying to move onto the next steps doesn't work (i.e. rebuild menus step fails).

Questions:
1. Can the upgrade script be run from command-line?
2. How can I at least get some diagnostic messages to see where the hangup is?

Note: this is a shared host (dreamhost), where the sql performance has always seemed slow to me. However, I talked to their tech support and they claim the sql server and other hardware reports normal load levels. BTW, our database has around 8k contacts.

I've also tried doing this upgrade many times now, always with same result. I also tried the 2.1.0 release, without any luck. Any help or hints appreciated. We also played around with usual php settings to increase timeout and max-execution-time settings.

emccaughrin

  • Guest
Re: Upgrade 2.02 -> 2.1.6 times out
March 14, 2009, 11:27:53 pm
As followup to what I wrote above:

I went ahead and activated the civiCRM module anyway inside Drupal. I ran drupal's upgrade.php script, then looked at what was in the civiCRM database. I'll have to run lots more checks, but at first glance it looks like everything upgraded ok. I have not gotten a single error, and random checks of contacts look ok.

Should I be worried that something didn't transfer properly?

Deepak Srivastava

  • Moderator
  • Ask me questions
  • *****
  • Posts: 677
  • Karma: 65
Re: Upgrade 2.02 -> 2.1.6 times out
March 15, 2009, 05:45:43 am
If you have tables like -
Quote
'civicrm_cache', 'civicrm_group_contact_cache', 'civicrm_menu', 'civicrm_discount', 'civicrm_pledge', 'civicrm_pledge_block', 'civicrm_pledge_payment'.

OR to be even more precise, the tables and columns mentioned in the file - http://svn.civicrm.org/civicrm/branches/v2.1/CRM/Upgrade/TwoOne/Form/TwoOneTwo.php (against first two if conditions) are -

present in your upgraded civicrm db, AND "version" column of "civicrm_domain" table is set to '2.1.6', implies you have successfully upgraded to v2.1.6.
« Last Edit: March 15, 2009, 05:54:43 am by Deepak Srivastava »
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

emccaughrin

  • Guest
Re: Upgrade 2.02 -> 2.1.6 times out
March 15, 2009, 10:45:13 am
Tables all seem to be present, and version number checks out. Thanks for quick reply!

brush

  • I’m new here
  • *
  • Posts: 13
  • Karma: 1
Re: Upgrade 2.02 -> 2.1.6 times out
April 24, 2009, 02:00:13 am
ditto: same situation, same host, except it took a lot longer than 3 minutes to stop.  still, all checks out as per above.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Upgrade 2.02 -> 2.1.6 times out

This forum was archived on 2017-11-26.