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: Upgrade 3.44>3.45 Database check failed - partial upgrade
Pages: [1]

Author Topic: Solved: Upgrade 3.44>3.45 Database check failed - partial upgrade  (Read 1734 times)

patricr

  • I post occasionally
  • **
  • Posts: 30
  • Karma: 0
Solved: Upgrade 3.44>3.45 Database check failed - partial upgrade
August 13, 2011, 09:28:57 am
I did the first attempt and got the error to reload database from backup and try again. Did that, seemed to go well, but later I got the error at the top of the administration page:
"Your changes have been saved. Database check failed - the database looks to have been partially upgraded. You may want to reload the database with the backup and try the upgrade process again."

Any idea what might be wrong, and where to look for hints?

Thanks.
« Last Edit: August 14, 2011, 02:18:58 am by patricr »

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: Upgrade 3.44>3.45 Database check failed - partial upgrade
August 13, 2011, 10:37:43 am

can u run:

Code: [Select]
select version from civicrm_domain;

and see what version is recorded in the DB. It should be 3.4.5

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

patricr

  • I post occasionally
  • **
  • Posts: 30
  • Karma: 0
Re: Upgrade 3.44>3.45 Database check failed - partial upgrade
August 13, 2011, 10:53:41 am
Thanks for the quick response, ran the code and got this:
"version The civicrm version this instance is running
         3.4.5.upgrade"

The CiviCRM pages show version 3.4.5 at the footer.

I need to add that the dashboard widgets that worked just before the upgrade, just spin.... never popup.

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: Upgrade 3.44>3.45 Database check failed - partial upgrade
August 13, 2011, 12:05:04 pm

this means that the upgrade aborted early.

Your best bet might be to roll back to an earlier version of the DB and run the upgrade again. Not sure what happened and/or why

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

patricr

  • I post occasionally
  • **
  • Posts: 30
  • Karma: 0
Re: Upgrade 3.44>3.45 Database check failed - partial upgrade
August 13, 2011, 02:20:35 pm
Did the drop and replace. The version as shown in the DB is:
 version The civicrm version this instance is running
         3.4.4

The old code replaced from backup version.php says 3.44. Still get an error:
"Database check failed - the database looks to have been partially upgraded. You may want to reload the database with the backup and try the upgrade process again."
when on administration console.

I think I may have already done the update on another day and forgot! So I tried to update a 3.4.5>3.4.5 today.

Is there a way to fix the DB so it agrees with the 3.4.5 I see at the bottom of the page?

(Wonder if if this will be stupidest error you read about today)

patricr

  • I post occasionally
  • **
  • Posts: 30
  • Karma: 0
Solved: Upgrade 3.44>3.45 Database check failed - partial upgrade
August 14, 2011, 02:18:32 am
Got it to work again at 3.4.4. Method- deleted the contents of "/sites/default/files/civicrm/templates_c/"
Reloaded backup DB and code files.

The versions agree in DB and bottom of CiviCRM pages. No DB warning in Admin Console.

Will wait a few days away from the 13th to do another go at upgrading!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Solved: Upgrade 3.44>3.45 Database check failed - partial upgrade

This forum was archived on 2017-11-26.