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 »
  • 3.1 Release Testing »
  • Upgrade from 3.0.4 to 3.1 b6 failed
Pages: [1]

Author Topic: Upgrade from 3.0.4 to 3.1 b6 failed  (Read 9981 times)

tabletguy

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 2
Upgrade from 3.0.4 to 3.1 b6 failed
January 26, 2010, 09:37:16 pm
New install of 3.03, added custom fields, upgraded to 3.0.4 no problem.

Today, upgraded from 3.0.4 to 3.1 beta 6 and it fails with this message:

Suggestions for recovery?  Alternatively, I have emailed Kurund an admin access to the site.  Let me know. I will have to leave it as is anyways for the next 4-6 hours while I do something else.

Code: [Select]

unrecoverable error
    Sorry. A non-recoverable error has occurred.

    DB Error: no such table

    Database Error Code: Table 'ahymsin_joomla.civicrm_contact_type' doesn't exist, 1146

    Return to home page.

Error Details:

Array
(
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => handle
        )

    [code] => -18
    [message] => DB Error: no such table
    [mode] => 16
    [debug_info] => SELECT *
 FROM civicrm_contact_type
 
 WHERE (  civicrm_contact_type.name  = 'Individual' ) 
 
 
 
 [nativecode=1146 ** Table 'ahymsin_joomla.civicrm_contact_type' doesn't exist]
    [type] => DB_Error
    [user_info] => SELECT *
 FROM civicrm_contact_type
 
 WHERE (  civicrm_contact_type.name  = 'Individual' ) 
 
 
 
 [nativecode=1146 ** Table 'ahymsin_joomla.civicrm_contact_type' doesn't exist]
    [to_string] => [db_error: message="DB Error: no such table" code=-18 mode=callback callback=CRM_Core_Error::handle prefix="" info="SELECT *
 FROM civicrm_contact_type
 
 WHERE (  civicrm_contact_type.name  = 'Individual' ) 
 
 
 
 [nativecode=1146 ** Table 'ahymsin_joomla.civicrm_contact_type' doesn't exist]"]
)

[/code]

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Upgrade from 3.0.4 to 3.1 b6 failed
January 26, 2010, 11:01:19 pm
Looks like you upgrade failed. Can you restore back to 3.0.4 and try again.

Kurund
Found this reply helpful? Support CiviCRM

tabletguy

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 2
Re: Upgrade from 3.0.4 to 3.1 b6 failed
January 27, 2010, 01:52:54 am
I can delete the install, reinstall 3.0.4 and then immediately uninstall 3.0.4 and reinstall 3.1 b6. Is that what you mean?


Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Upgrade from 3.0.4 to 3.1 b6 failed
January 27, 2010, 02:02:27 am
Yes install 3.0.4 and make sure it is working correctly. Then follow these instructions: http://wiki.civicrm.org/confluence/display/CRMUPCOMING/Upgrade+Joomla+Sites+to+3.1

HTh
Kurund
Found this reply helpful? Support CiviCRM

tabletguy

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 2
Re: Upgrade from 3.0.4 to 3.1 b6 failed
January 27, 2010, 06:38:01 am
Did as you suggested, except just clicked the link to upgrade the database, rather than copy / paste the link provided on the document page for that purpose. However, I did verify that they were essentially the same (had my domain, of course).

Still fails in same manner. I did also check, and that table isn't in my 3.04 system. I searched and edited contacts to test it out. I didn't do extensive testing on 3.04, but didn't find anything that didn't work before again trying to upgrade to 3.1

So, I could try the same "cycle" again, but I'm sure it will result in same outcome.

Should I just try and add this table manually, and then repeat calling the URL to update the DB? :
Code: [Select]
http://www.ahymsin.org/main/administrator/index2.php?option=com_civicrm&task=civicrm/upgrade&reset=1
I will be busy for next 4-5 days filming a conference, and won't be able to give much if any time to this, but will try and check in each evening.

Code: [Select]

unrecoverable error
    Sorry. A non-recoverable error has occurred.

    DB Error: no such table

    Database Error Code: Table 'ahymsin_joomla.civicrm_contact_type' doesn't exist, 1146

    Return to home page.

Error Details:

Array
(
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => handle
        )

    [code] => -18
    [message] => DB Error: no such table
    [mode] => 16
    [debug_info] => SELECT *
 FROM civicrm_contact_type
 
 WHERE (  civicrm_contact_type.name  = 'Individual' ) 
 
 [nativecode=1146 ** Table 'ahymsin_joomla.civicrm_contact_type' doesn't exist]
    [type] => DB_Error
    [user_info] => SELECT *
 FROM civicrm_contact_type
 
 WHERE (  civicrm_contact_type.name  = 'Individual' ) 
 
 
 
 [nativecode=1146 ** Table 'ahymsin_joomla.civicrm_contact_type' doesn't exist]
    [to_string] => [db_error: message="DB Error: no such table" code=-18 mode=callback callback=CRM_Core_Error::handle prefix="" info="SELECT *
 FROM civicrm_contact_type
 
 WHERE (  civicrm_contact_type.name  = 'Individual' ) 
 
 [nativecode=1146 ** Table 'ahymsin_joomla.civicrm_contact_type' doesn't exist]"]
)

[/code]

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Upgrade from 3.0.4 to 3.1 b6 failed
January 27, 2010, 07:33:15 am
Can you send your 3.0.4 db to kurund at civicrm dot org, we will investigate and get back to you on this issue.

Kurund
Found this reply helpful? Support CiviCRM

gaetgodi

  • Guest
Re: Upgrade from 3.0.4 to 3.1 b6 failed
January 29, 2010, 07:06:55 pm
In upgrading from 3.0.4 to 3.1.1 I got the same error on this table... 1146. I copied civicrm_contact to civicrm_contact_type, did the database upgrade again and got an error saying the table already existed.  Deleted the table civicrm_contact_type, did the database upgrade again and it worked.
I am now going to test the results of the installation but it looks good.

neha

  • I’m new here
  • *
  • Posts: 10
  • Karma: 1
  • CiviCRM version: v3.4, v4.0
  • CMS version: Drupal 6 / 7, Joomla 1.5 / 1.6
  • PHP version: php 5.3
Re: Upgrade from 3.0.4 to 3.1 b6 failed
February 01, 2010, 11:45:37 pm
tabletguy:

I followed these steps:
1. Provided DB is of CiviCRM v3.0.4, I installed it on my local machine. Everything seems to be working fine w/ v3.0.4
2. Then I upgraded it to CiviCRM v3.1.beta6, My upgrade process went smoothly and db upgraded successfully.
3. After upgrade everything seems to be working fine for CiviCRM v3.1.beta6.

It looks like I am missing some steps to replicate the issue, it would be great if you give some more details to replicate this issue.  

thanks
Neha
« Last Edit: February 01, 2010, 11:50:06 pm by Kurund Jalmi »

tabletguy

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 2
Re: Upgrade from 3.0.4 to 3.1 b6 failed
February 08, 2010, 07:45:34 pm
I still have the problem. I was hoping that looking at the database SQL that I sent would allow you to tell me how to repair the problem.

I have tried using the release 3.1 with same results.

Obviously I need to do something with the 3.0.4 database before upgrading. Can I just add that table (from the SQL scripts) and then do another upgrade, or are there other issues.

There's no way that I can see that I can export all the custom fields and contact data, or I would do that and then drop all the tables and start from a fresh 3.1 install and import the data.

As is, I'd like to attempt repairing the existing tables first.

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 from 3.0.4 to 3.1 b6 failed
February 08, 2010, 08:10:08 pm

please start a new topic on this in the appropriate forums. i'm closing the 3.1 release testing topic (since 3.1 is already released)

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.1 Release Testing »
  • Upgrade from 3.0.4 to 3.1 b6 failed

This forum was archived on 2017-11-26.