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 »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Upgrade Failed
Pages: [1]

Author Topic: Upgrade Failed  (Read 578 times)

williamgurumayum

  • I’m new here
  • *
  • Posts: 25
  • Karma: 0
  • CiviCRM version: 4.1.5.
  • CMS version: Joomla 2.5.6
  • MySQL version: 5.0.95
  • PHP version: 5.3
Upgrade Failed
February 13, 2014, 08:17:04 am
Hello,
I am having a problem, this problem is found in many threads on the forum but none of them worked.
I am running Joomla 1.5.26 and CIVI 2.2.9. I am trying to Upgrade CIVI to a state where it is supported by J1.5.
When i run the Database Upgrade Script after installing 3.00 i got the following error
"Database check failed - it looks like you have already upgraded to the latest version (v3.0.alpha2) of the database."
The database i am using is a clean database.
I am out of wits, what shall i do?

Help please

williamgurumayum

  • I’m new here
  • *
  • Posts: 25
  • Karma: 0
  • CiviCRM version: 4.1.5.
  • CMS version: Joomla 2.5.6
  • MySQL version: 5.0.95
  • PHP version: 5.3
Re: Upgrade Failed
February 16, 2014, 08:27:42 pm
BUMP.. Please anyone!!

mathieu

  • Administrator
  • Ask me questions
  • *****
  • Posts: 620
  • Karma: 36
    • Work
  • CiviCRM version: 4.7
  • CMS version: Drupal
  • MySQL version: MariaDB 10
  • PHP version: 7
Re: Upgrade Failed
February 17, 2014, 07:05:46 am
To summarize discussions on IRC: it's possible that the database had been already upgraded to a 3.x version and failed, but the tables from a partial upgrade were still in the database.

Code: [Select]
09:54 < bgm> when you restored the state of your civicrm DB to 2.2.9, did you drop all tables already in the DB?
09:55 < bgm> or, is it possible that before you worked on the upgrade, someone else had already tried to upgrade civi?
09:56 < bgm> the civi upgrade will check various things to make sure that the db integrity is good, notably checking the
             version in `civicrm_domain`, but also checking specific things in the DB to make sure that it's not running
             a same upgrade twice (ex: check for specific tables/columns)
09:57 < bgm> if you comfortable with php, the code is in CRM/Upgrade/Incremental/  and from there, it usually runs the
             php/ code, which includes sql files from sql/*.sql
09:58 < bgm> (although 3.0 has upgrade code in CRM/Upgrade/ThreeZero, CRM/Upgrade/ThreeOne, then after that it
             was moved to Incremental/)
CiviCamp Montréal, 29 septembre 2017 | Co-founder / consultant / turn-key CiviCRM hosting for Quebec/Canada @ SymbioTIC.coop

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Upgrade Failed

This forum was archived on 2017-11-26.