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) »
  • Upgrade Script from 4.0 to 4.1 fails [Solved]
Pages: [1]

Author Topic: Upgrade Script from 4.0 to 4.1 fails [Solved]  (Read 510 times)

conductorchris

  • I post frequently
  • ***
  • Posts: 167
  • Karma: 9
    • Vermont Rail Action Network
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 3.2.7
  • MySQL version: 5.5.32
  • PHP version: 5.3.26
Upgrade Script from 4.0 to 4.1 fails [Solved]
December 19, 2013, 12:26:00 pm
Upgrade from 4.0 to 4.1 in Joomla 2.5 fails with the following error.  Ultimate goal is to go from 3.4.7 in a Joomla 1.5 installation to 4.4 in Joomla 3.2.  Installing civiCRM 4.0 in Joomla 3.2 failed, so for now I'm using a dummy Joomla 2.5 installation to make the upgrades.  Managed to get from 3.47 to 4.0 ok, using a stand-alone database, and backed up the tables at that point.  But now the 4.1 upgrade script returns:

Code: [Select]
Sorry. A non-recoverable error has occurred.
DB Error: unknown error
Error Details
Database Error Code: Duplicate column name 'fullscreen_url', 1060
Additional Details:
Array
(
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => handle
        )

    [code] => -1
    [message] => DB Error: unknown error
    [mode] => 16
    [debug_info] => ALTER TABLE `civicrm_dashboard` ADD `fullscreen_url` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT 'fullscreen url for dashlet' [nativecode=1060 ** Duplicate column name 'fullscreen_url']
    [type] => DB_Error
    [user_info] => ALTER TABLE `civicrm_dashboard` ADD `fullscreen_url` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT 'fullscreen url for dashlet' [nativecode=1060 ** Duplicate column name 'fullscreen_url']
    [to_string] => [db_error: message="DB Error: unknown error" code=-1 mode=callback callback=CRM_Core_Error::handle prefix="" info="ALTER TABLE `civicrm_dashboard` ADD `fullscreen_url` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT 'fullscreen url for dashlet' [nativecode=1060 ** Duplicate column name 'fullscreen_url']"]
)
Return to home page.

What should I do next?
« Last Edit: December 22, 2013, 08:21:25 am by conductorchris »
Thanks to those who help create and enhance civiCRM!

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Upgrade Script from 4.0 to 4.1 fails
December 19, 2013, 12:53:48 pm
It may be that your DB is partially upgraded. You could try to remove the fullscreen_url column from the civicrm_dashboard table. If you then get a similar error, you would need to try Ensuring Schema Integrity on Upgrades which means to rebuild your schema.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

conductorchris

  • I post frequently
  • ***
  • Posts: 167
  • Karma: 9
    • Vermont Rail Action Network
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 3.2.7
  • MySQL version: 5.5.32
  • PHP version: 5.3.26
Re: Upgrade Script from 4.0 to 4.1 fails [Solved]
December 22, 2013, 08:26:08 am
Hershel was correct - the previous upgrade of the database had not completed but somehow was still able to run.  When the next upgrade came, it failed. 

It (eventually - that's another story) worked following a schema rebuild on an earlier database and redoing the earlier upgrade.

Christopher
Thanks to those who help create and enhance civiCRM!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Upgrade Script from 4.0 to 4.1 fails [Solved]

This forum was archived on 2017-11-26.