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 from 4.3.5 to 4.4.0 - DB Error
Pages: [1]

Author Topic: Upgrade from 4.3.5 to 4.4.0 - DB Error  (Read 517 times)

nickholden

  • I post occasionally
  • **
  • Posts: 111
  • Karma: 1
  • CiviCRM version: 4.4.1
  • CMS version: Drupal 7
  • MySQL version: 5.5.32
  • PHP version: 5.4
Upgrade from 4.3.5 to 4.4.0 - DB Error
October 28, 2013, 07:48:12 am
Hi everyone,

I'm having a problem upgrading from 4.3.5 to 4.4.0 on Drupal 7 - has anyone any clues to debugging the following? Surely if the API call is to 'replace' an entity, the fact it already exists shouldn't be considered an error?

Thanks

Nick

Code: [Select]
CiviCRM Upgrade Tasks

Error: Migrate custom word-replacements
CiviCRM_API3_Exception: "DB Error: already exists"

#0 /var/local/civicrm/drupal-7.14/sites/all/modules/civicrm/CRM/Upgrade/Incremental/php/FourFour.php(333): civicrm_api3("word_replacement", "replace", (Array:2))
#1 /var/local/civicrm/drupal-7.14/sites/all/modules/civicrm/CRM/Upgrade/Incremental/php/FourFour.php(230): CRM_Upgrade_Incremental_php_FourFour::rebuildWordReplacementTable()
#2 [internal function](): CRM_Upgrade_Incremental_php_FourFour::wordReplacements(Object(CRM_Queue_TaskContext))
#3 /var/local/civicrm/drupal-7.14/sites/all/modules/civicrm/CRM/Queue/Task.php(79): call_user_func_array((Array:2), (Array:1))
#4 /var/local/civicrm/drupal-7.14/sites/all/modules/civicrm/CRM/Queue/Runner.php(186): CRM_Queue_Task->run(Object(CRM_Queue_TaskContext))
#5 /var/local/civicrm/drupal-7.14/sites/all/modules/civicrm/CRM/Queue/Page/AJAX.php(44): CRM_Queue_Runner->runNext(TRUE)
#6 /var/local/civicrm/drupal-7.14/sites/all/modules/civicrm/CRM/Queue/ErrorPolicy.php(80): {closure}()
#7 /var/local/civicrm/drupal-7.14/sites/all/modules/civicrm/CRM/Queue/Page/AJAX.php(47): CRM_Queue_ErrorPolicy->call(Object(Closure))
#8 [internal function](): CRM_Queue_Page_AJAX::runNext((Array:5))
#9 /var/local/civicrm/drupal-7.14/sites/all/modules/civicrm/CRM/Core/Invoke.php(289): call_user_func((Array:2), (Array:5))
#10 /var/local/civicrm/drupal-7.14/sites/all/modules/civicrm/CRM/Core/Invoke.php(72): CRM_Core_Invoke::runItem((Array:13))
#11 /var/local/civicrm/drupal-7.14/sites/all/modules/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:5))
#12 /var/local/civicrm/drupal-7.14/sites/all/modules/civicrm/drupal/civicrm.module(436): CRM_Core_Invoke::invoke((Array:5))
#13 [internal function](): civicrm_invoke("upgrade", "queue", "ajax", "runNext")
#14 /var/local/civicrm/drupal-7.14/includes/menu.inc(517): call_user_func_array("civicrm_invoke", (Array:4))
#15 /var/local/civicrm/drupal-7.14/index.php(21): menu_execute_active_handler()
#
« Last Edit: October 28, 2013, 07:55:46 am by nickholden »

nickholden

  • I post occasionally
  • **
  • Posts: 111
  • Karma: 1
  • CiviCRM version: 4.4.1
  • CMS version: Drupal 7
  • MySQL version: 5.5.32
  • PHP version: 5.4
Re: Upgrade from 4.3.5 to 4.4.0 - DB Error
October 28, 2013, 08:19:47 am
This looks like it is the same bug as reported here: http://forum.civicrm.org/index.php/topic,30267.0.html


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Upgrade from 4.3.5 to 4.4.0 - DB Error

This forum was archived on 2017-11-26.