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) »
  • is_tagset column missing
Pages: [1]

Author Topic: is_tagset column missing  (Read 683 times)

myles

  • I post frequently
  • ***
  • Posts: 263
  • Karma: 11
is_tagset column missing
October 01, 2010, 03:26:10 am
Hiya...

I've put this topic in upgrading because that is the issue I am trying to address longer term although this may not be directly related....

We're on 3.2.1 and were unable to upgrade to 3.2.2; the errors are all very weird and I wanted to walk through it all on my localhost to work out what the problem is - now I have problems getting civicrm working on my local host with our data.

I have followed the procedure for moving an existing installation to a new server posted on the WiKi - I have successfully installed a clean version of 3.2.1, dumped the live data wihtout the cached tables, then uploaded the dump into the new database on my local host.

I can verify through direct queries that tables have been populated by the data and should I go to the groups page (localhost) for instance it lists all the groups that were in the live installation.

Whenever I go to a contacts page (select contacts in a group for instance)

I get the following error: Database Error Code: Unknown column 'is_tagset' in 'where clause', 1054

The where clause pertains to the civicrm_tag table, which I can confirm does not have an is_tagset column.

We originally upgraded from 3.1.1 to 3.2.1 with some difficulty and my guess is that the database is only partially upgraded. - although I did do a completely clean install of 3.1.1 and moved our data into it, ran dbtools and corrected all and any issues prior to the upgrade and it appeared that the upgrade was successful.

There does not appear to be a version of dbtools for 3.2 schema

It is a long time and many many records later since we upgraded and even if the backups are still available users would do their nuts if we were to revert to 3.1.1

Any idea how I can list discrepancies between our database and the schema?

Or is this some other issue altogether that may have a really simple explanation?

Thanks for reading this.

Myles

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: is_tagset column missing
October 01, 2010, 03:59:29 am
Myles,

Quote
We originally upgraded from 3.1.1 to 3.2.1 with some difficulty and my guess is that the database is only partially upgraded. - although I did do a completely clean install of 3.1.1 and moved our data into it, ran dbtools and corrected all and any issues prior to the upgrade and it appeared that the upgrade was successful.

I think above upgrade failed.  3.2.1 should have is_tagset field in civicrm_tag table. So you might want to restore back to 3.1.1 and try upgrade.

Kurund
Found this reply helpful? Support CiviCRM

myles

  • I post frequently
  • ***
  • Posts: 263
  • Karma: 11
Re: is_tagset column missing
October 01, 2010, 04:40:11 am
reverting to 3.1.1 means reverting to a database that is several months old - the upgrade appeared to be successful and so we have been merrily using it through the busiest period of the year - users will not accept having all that work wiped out

- is there any other way of checking the integrity of the database against the schema and manually working through t eh problems?

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: is_tagset column missing
October 01, 2010, 05:10:46 am
Quote
- is there any other way of checking the integrity of the database against the schema and manually working through t eh problems?

I don't think so.. You might want to manually add is_tagset field to civicrm_tag table. But then you might get some other error.

Another option might be ..

1. Dump your data from 3.2.1 db
2. Create new db using structure in sql/civicrm.mysql
3. Import the above data

HTh

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • is_tagset column missing

This forum was archived on 2017-11-26.