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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.1 Release Testing »
  • database version error
Pages: [1]

Author Topic: database version error  (Read 4627 times)

dwebster

  • Guest
database version error
August 20, 2008, 07:02:04 am
Hi,

I'm working on an upgrade from CiviCRM 2.0.4 to the latest 2.1 alpha release on a Drupal 6.4 site

After accessing upgrade.php , I get this error :

Sorry. A non-recoverable error has occurred.

Database check failed - the current database is not v2.0.

I don't see any more details. Our website is using civiCRM 2.0 so I am not sure why it's encountering that error. Any suggestions on how to troubleshoot?

ctarascio

  • I post frequently
  • ***
  • Posts: 334
  • Karma: 30
    • American Friends Service Committee
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.5.20
  • PHP version: 5.3.13
Re: database version error
August 20, 2008, 07:20:40 am
Hi,
   In case Dave G. or anyone from the dev team reads this: "dwebster" is trying to set up a 2.1 test site for AFSC so that we can test the export functionality before 9/2, which is when we are expcted to sign-off. So any "special" help will be much appreciated  :)

Thanks,
Cynthia
 

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: database version error
August 20, 2008, 10:25:40 am
dwebster / cynthia - Can you zip up a dump of the 2.0.4 database and email it Deepak on our team to debug this. We'd like to faciliate getting you on to the export QA as quickly as possible. We will destroy the data as soon as we've figure out what's going on...

deepak at webaccess dot co dot in

thx!
dave
Protect your investment in CiviCRM by  becoming a Member!

dwebster

  • Guest
Re: database version error
August 20, 2008, 10:28:24 am
Sure - Will do.

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: database version error
August 20, 2008, 12:27:42 pm

deepak is on vacation, can you send it to me (lobo at yahoo dot com)

thanx

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

ctarascio

  • I post frequently
  • ***
  • Posts: 334
  • Karma: 30
    • American Friends Service Committee
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.5.20
  • PHP version: 5.3.13
Re: database version error
August 20, 2008, 12:33:10 pm
I just sent it lobo.

Thanks,
Cynthia

PS I'm out of the office from 8/21 through 8/25 so if you email me, please copy "dwebster". His email address is in the forwarded message.

Thanks,
Cynthia

equinox

  • Guest
Re: database version error
September 15, 2008, 10:38:05 am
Hi,
I am having this very same issue. I have tried my darndest to overcome it but the lack of info on this error message has left me pretty much in the dark on what I can do to solve it.
I am attempting to upgrade our website to drupal 6.4/civicrm 2.1

I had a live site running CiviCRM 1.9 under drupal 5.2. - everything worked great, there are essentially no customizations to drupal or civicrm other than theme and internal settings. So it's a really very vanilla installation.

I upgraded civiCRM to 2.0 - including following the instructions of flattening the data by loading into the schema file.. however I dont have shell access on my account and did it through PHPmyAdmin trying to duplicate the commands in the command strings given within the checkboxes of the automated import process. I could have introduced problems at this point, altho I am unsure how.

Our live site is running 2.0 now, still under 5.2, mostly it works well - but there are bugs, including the inability to update the general info for the system - it accepts the first page of information, URL and email address but returns a foreign key error when trying to update the address/email information. Is this symptomatic or an unrelated issue?

I ported a copy of this database to my sandbox, along with a copy of my 5.2 drupal. Now I followed the instructions for updating from 2.0 to 2.1 by first upgrading my drupal to 6.4. This went great. I then copied over the file set for civiCRM 2.1 and attempted the update for this module. It is at this point that I get the message that my database is not 2.0

When I check the civicrm_domain record I find that it is not updated and still says that it is civicrm 1.94, altho the data structure of the record is modified to be 2.0 so I know that the 2.0 upgrade did run on this database. I've tried completing this record. Putting "2.0" "2.06" "2" .. you name it into this field but I get the same error on attempting the upgrade.

I've gone back now to my original 1.94 civicrm and another copy of my drupal and I'm going through the process again to see if I missed anything but some expert help would sure help me now. I'm working for a charity here and the 18 hours I've just spent getting nowhere is sadly lost time.

Any progress on this issue? My eternal gratitude!  :)

equinox
« Last Edit: September 15, 2008, 12:35:20 pm by equinox »

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: database version error
September 16, 2008, 03:03:45 am
Quote
Our live site is running 2.0 now, still under 5.2, mostly it works well - but there are bugs, including the inability to update the general info for the system - it accepts the first page of information, URL and email address but returns a foreign key error when trying to update the address/email information. Is this symptomatic or an unrelated issue?

Most probably some data integrity issues. If could tell us the errors/bugs, we might be able to help you out. ( Most of such errors are prompted during 1.9->2.0 upgrade if followed the correct approach. )

Quote
When I check the civicrm_domain record I find that it is not updated and still says that it is civicrm 1.94, altho the data structure of the record is modified to be 2.0 so I know that the 2.0 upgrade did run on this database. I've tried completing this record. Putting "2.0" "2.06" "2" .. you name it into this field but I get the same error on attempting the upgrade.

It could be due to some missing table/field in your 2.0 db.

Quote
I've gone back now to my original 1.94 civicrm and another copy of my drupal and I'm going through the process again to see if I missed anything but some expert help would sure help me now. I'm working for a charity here and the 18 hours I've just spent getting nowhere is sadly lost time.

If you still have a valid copy of 1.9 db which you like to upgrade, send it to - deepak at webaccess dot co dot in.
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.1 Release Testing »
  • database version error

This forum was archived on 2017-11-26.