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 to civicrm 2.0 - Step 7 does not run
Pages: [1]

Author Topic: upgrading to civicrm 2.0 - Step 7 does not run  (Read 3788 times)

hammo9999

  • Guest
upgrading to civicrm 2.0 - Step 7 does not run
March 08, 2009, 07:20:41 pm
Hi

I am trying to upgrade to civicrm 2.0 and am using Drupal 5.7 (when working i will move to 2.1 and 6.x respectively)

I successfully upgraded my DB to 1.9 (from 1.8) and cleaned it up. Then installed the 2.07 (also tried 2.0)

Going to the page "http://<your_drupal_home>/index.php?q=civicrm/upgrade&reset=1" did not do anything. Does not run anything.

What can be wrong?

Deepak Srivastava

  • Moderator
  • Ask me questions
  • *****
  • Posts: 677
  • Karma: 65
Re: upgrading to civicrm 2.0 - Step 7 does not run
March 09, 2009, 12:15:06 am
Do you meet the requirements mentioned in the doc - http://wiki.civicrm.org/confluence/display/CRMDOC21/Upgrade+Drupal+Sites+to+2.0 ?

Quote
Going to the page "http://<your_drupal_home>/index.php?q=civicrm/upgrade&reset=1" did not do anything. Does not run anything.

What does it show ? any blank page ? Could you check your apache logs.

What happens when you visit any other civicrm links ?
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

hammo9999

  • Guest
Re: upgrading to civicrm 2.0 - Step 7 does not run
March 09, 2009, 11:19:47 pm
I get a 404 error (site set to show the home page) which I can see in the logs.

Cannot see any civicrm pages as the module is disabled during upgrade. If I enable it corrups the DB as the upgrade script is not run (I assume that is the reason for correption)

Deepak Srivastava

  • Moderator
  • Ask me questions
  • *****
  • Posts: 677
  • Karma: 65
Re: upgrading to civicrm 2.0 - Step 7 does not run
March 10, 2009, 12:30:51 am
Ok so here is what i would do -

1. Make sure civicrm 1.9 is working properly by visiting some civicrm pages/links.
2. Keep civicrm enabled, since upgrade is a part of civicrm functionality. And i suspect disabling is what caused you 404 (document not found) since it couldn't find the appropriate page.
3. Follow the steps from doc - http://wiki.civicrm.org/confluence/display/CRMDOC21/Upgrade+Drupal+Sites+to+2.0
« Last Edit: March 10, 2009, 12:41:13 am by Deepak Srivastava »
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

hammo9999

  • Guest
Re: upgrading to civicrm 2.0 - Step 7 does not run
March 14, 2009, 11:47:32 pm
I got CiviCRM running well (had upgraded from 1.8)
I changed the db to InnoDB
Then tried the upgrade again, it does run but the I got the following error:

Database consistency check failed for step 1. FK constraint names not in the required format. Please rebuild your 1.9 database to ensure schema integrity.

Is my data bad (ie not all fileds with foreign keys filled) or the FKs incorrect?

Thanks for any help

Deepak Srivastava

  • Moderator
  • Ask me questions
  • *****
  • Posts: 677
  • Karma: 65
Re: upgrading to civicrm 2.0 - Step 7 does not run
March 15, 2009, 12:38:31 am
Ok, so you looks to be in right direction.

The error indicates that there is some problem with the table structure (not data), which you can fix by following - Step 4: "Rebuild your 1.9 Database to Ensure Schema Integrity" from the same doc.
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

hammo9999

  • Guest
Re: upgrading to civicrm 2.0 - Step 7 does not run
March 15, 2009, 08:48:56 pm
Thanks, looks like I finally got it. The trick was to fix the schema and then NOT use 1.9 but go to 2.0.
Thanks all

ted

  • Guest
Re: upgrading to civicrm 2.0 - Step 7 does not run
May 14, 2009, 12:08:09 pm
Can I ask what specifically did you do when you said "The trick was to fix the schema and then NOT use 1.9 but go to 2.0."?
I am following the upgrade procedure to the letter and still no success.
I looked at
Step 4: "Rebuild your 1.9 Database to Ensure Schema Integrity"
from
http://wiki.civicrm.org/confluence/display/CRMDOC21/Upgrade+Drupal+Sites+to+2.0
specifically the following lines:
shell > mysql -u crm_db_username -pcrm_db_password civicrm19Fix < civicrm_41.mysql
shell > mysqldump -u crm_db_username -pcrm_db_password -c -e -n -t civicrm19 > dumpFile
shell > mysql -u crm_db_username -pcrm_db_password civicrm19Fix < dumpFile

I continually get an error whenever I try and update.
Is there another file besides the civicrm_41.mysql file that I should use?
I`d be very happy to get a specific explanation of how you solved this problem.
Thanks.

hammo9999

  • Guest
Re: upgrading to civicrm 2.0 - Step 7 does not run
May 14, 2009, 07:53:30 pm
It worked just like that for me. But do not open the application using 1.9. Go straight to 2.0

phayes

  • Guest
Re: upgrading to civicrm 2.0 - Step 7 does not run
September 14, 2009, 11:23:09 pm
I too am also struggling with this.

Updated database using the 41.sql file, inserted data. Did a full check to make sure foreign keys are OK.    I try to run the upgrade script from 1.9 to 2.0 and no-go!  Fails on step 1 saying my FK constraint names not in the required format.  I do have FK and they seem to be working. What exactly is it trying to check about the FK? 

gmasky

  • Guest
Re: upgrading to civicrm 2.0 - Step 7 does not run
November 13, 2009, 04:06:59 pm
I solved this via http://forum.civicrm.org/index.php?topic=3092.0

However I am stuck at Step 5 of the upgrade

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • upgrading to civicrm 2.0 - Step 7 does not run

This forum was archived on 2017-11-26.