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) »
  • issues upgrading 3.2.1 to 3.2.2
Pages: [1]

Author Topic: issues upgrading 3.2.1 to 3.2.2  (Read 949 times)

myles

  • I post frequently
  • ***
  • Posts: 263
  • Karma: 11
issues upgrading 3.2.1 to 3.2.2
August 27, 2010, 08:05:09 am
I have just upgraded to 3.2.1, but had not yet installed new localisation files when 3.2.2 came out - users were complaining about various aspects of the new interface so up I go...

First off the version is reported as 3.1.1 - though I upgraded from 3.0.4 and I am sure, sure that I upgraded to 3.2.1... though not only the database but also the version.txt states 3.1.1

After some fiddling about involving attempts and restoring the backup I decided to change the version number in civi_domain...

This time it upgraded - or rather it did not report any errors.

The home page tells me menus have been rebuilt and invites me to set up the dashboard - when I do it shows the acticities list in the left hand side as I left it - on clicking done I get exactly the same invitation to configure the dashboard. Javascript is enabled and this happens in both chrome and firefox

The contact search box in the tool bar does not work and when I fo to the search page I get this:

Database Error Code: Unknown column 'is_tagset' in 'where clause', 1054
Additional Details:
Array
(
    [callback] => Array
        (
           
  • => CRM_Core_Error
  • [1] => handle
            )

       
Code: [Select]
=> -19
    [message] => DB Error: no such field
    [mode] => 16
    [debug_info] => SELECT id, name, parent_id
                  FROM civicrm_tag
                  WHERE  is_tagset = 0 AND parent_id IS NULL AND used_for LIKE '%civicrm_contact%' ORDER BY name [nativecode=1054 ** Unknown column 'is_tagset' in 'where clause']
    [type] => DB_Error
    [user_info] => SELECT id, name, parent_id
                  FROM civicrm_tag
                  WHERE  is_tagset = 0 AND parent_id IS NULL AND used_for LIKE '%civicrm_contact%' ORDER BY name [nativecode=1054 ** Unknown column 'is_tagset' in 'where clause']
    [to_string] => [db_error: message="DB Error: no such field" code=-19 mode=callback callback=CRM_Core_Error::handle prefix="" info="SELECT id, name, parent_id
                  FROM civicrm_tag
                  WHERE  is_tagset = 0 AND parent_id IS NULL AND used_for LIKE '%civicrm_contact%' ORDER BY name [nativecode=1054 ** Unknown column 'is_tagset' in 'where clause']"]
)

I have rolled back in agony...

If I do try to upgrade from 3.1.1 then I get this error on upgrade:

Database Error Code: Table 'civicrm_entity_financial_trxn' already exists, 1050

retoring then getting trigger happy and dropping the table then results in this error:

Database Error Code: Table 'civicrm_financial_account' already exists, 10

So I figure I did really upgrade to 3.2.1 and it is a version reporting error.

Any pointers would be appreciated.

Thanks, Myles




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: issues upgrading 3.2.1 to 3.2.2
August 27, 2010, 04:28:40 pm

i dont think it upgraded to 3.2.2 cleanly since some fields are missing

might be best to start off from a clean backup and try the upgrade again. DO NOT ignore errors :)

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

myles

  • I post frequently
  • ***
  • Posts: 263
  • Karma: 11
Re: issues upgrading 3.2.1 to 3.2.2
August 28, 2010, 04:12:54 am
Thanks Lobo,

I have confirmed that I had indeed upgraded to 3.2.1 even though this reports 3.1.1 - I have several times restored to 3.2.1 and re-attempted the upgrade to 3.2.2, and each time with the same results.

My conclusion is that the upgrade from 3.2.1 to 3.2.2 is not working.

Had I scrolled down to the bottom of the announcement of the release of 3.2.1 I might have seen the notice that there was an error and to wait for 3.2.2.... but I didn't (Where's the emoticon with the guy clocking himself on the head with a hammer!).

Looking through the issues list I see that there was a whole debate about patches prior to the release of 3.2.2 - though I am not clear what to do, I get the impression I should be able to fix 3.2.1 and effectively bring it up to 3.2.2 standard.

Since, as far as I can tell, this latest update is mostly a fix to the upgrade script, what really concerns me is to ensure that we can upgrade cleanly on the next release.

Can you help direct me to an understanding what I need to do from here?

I am fairly competent with databases.

Many thanks

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: issues upgrading 3.2.1 to 3.2.2
August 28, 2010, 07:52:42 am

is_tagset was introduced in: 3.2.alpha4.mysql.tpl

so if the code is complaining of that column missing, seems like it did not execute that file and/or it aborted before that and/or skipped that command

i'd restart the upgrade and check the query logs and ensure that all sql files in: CRM/Upgrade/Incremental/sql/ are sourced

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) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • issues upgrading 3.2.1 to 3.2.2

This forum was archived on 2017-11-26.