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 Beta2-->Beta4
Pages: [1]

Author Topic: Upgrade Beta2-->Beta4  (Read 1566 times)

mrl586

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 2
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.0
  • MySQL version: 5.5.9
  • PHP version: 5.3.5
Upgrade Beta2-->Beta4
December 31, 2009, 09:14:36 pm
I see this bug when I upgrade my CiviCRM installation:
Code: [Select]
Upgrade CiviCRM to Version 3.1.beta4

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

    DB Error: a515ac9c2796ca0e23adbe92c68fc9fc

    Database Error Code: Duplicate column name 'is_reserved', 1060

    Return to home page.

Error Details:

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

    [ code ] => a515ac9c2796ca0e23adbe92c68fc9fc
    [message] => DB Error: a515ac9c2796ca0e23adbe92c68fc9fc
    [mode] => 16
    [debug_info] => ALTER TABLE `civicrm_dashboard` ADD `is_reserved` TINYINT NULL DEFAULT '0' COMMENT 'Is this dashlet reserved?' [nativecode=1060 ** Duplicate column name 'is_reserved']
    [type] => DB_Error
    [user_info] => ALTER TABLE `civicrm_dashboard` ADD `is_reserved` TINYINT NULL DEFAULT '0' COMMENT 'Is this dashlet reserved?' [nativecode=1060 ** Duplicate column name 'is_reserved']
    [to_string] => [db_error: message="DB Error: a515ac9c2796ca0e23adbe92c68fc9fc" code=0 mode=callback callback=CRM_Core_Error::handle prefix="" info="ALTER TABLE `civicrm_dashboard` ADD `is_reserved` TINYINT NULL DEFAULT '0' COMMENT 'Is this dashlet reserved?' [nativecode=1060 ** Duplicate column name 'is_reserved']"]
)


amit

  • Guest
Re: Upgrade Beta2-->Beta4
December 31, 2009, 10:42:10 pm
Quote
[nativecode=1060 ** Duplicate column name 'is_reserved']

Did you try to install beta3 and it failed ?

Thanks
Amit

mrl586

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 2
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.0
  • MySQL version: 5.5.9
  • PHP version: 5.3.5
Re: Upgrade Beta2-->Beta4
December 31, 2009, 11:00:38 pm
Quote from: Amit on December 31, 2009, 10:42:10 pm
Quote
[nativecode=1060 ** Duplicate column name 'is_reserved']

Did you try to install beta3 and it failed ?

Thanks
Amit

Yes, I try previously upgrade this installation beta2-->beta 3, but this upgrade failed:
http://forum.civicrm.org/index.php/topic,11440.0.html

amit

  • Guest
Re: Upgrade Beta2-->Beta4
December 31, 2009, 11:26:30 pm
Quote
Yes, I try previously upgrade this installation beta2-->beta 3, but this upgrade failed:

Just remove the following line from the file path civicrm/CRM/Upgrade/Incremental/sql/3.1.beta3.mysql.tpl

ALTER TABLE `civicrm_dashboard` ADD `is_reserved` TINYINT NULL DEFAULT '0' COMMENT 'Is this dashlet reserved?';

and retry for upgrade  :).

Thanks

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.1 Release Testing »
  • Upgrade Beta2-->Beta4

This forum was archived on 2017-11-26.