Migration Error from D6 to D7

Created on 9 May 2015, almost 10 years ago
Updated 12 December 2023, about 1 year ago

I have been working on migration from D6 - > D7. I upgrade from the latest version of the 6x which in this case is 6.x-1.8 and after the migration the 7x version is 7.x-1.7. Whenever I upgrade my database I go this error:

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'core_search' for key 'PRIMARY'
Performed update: apachesolr_search_update_7004

exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'type' cannot be null' in /var/www/d7-site/includes/database/database.inc:2171                 [error]
Stack trace:
#0 /var/www/d7-site/includes/database/database.inc(2171): PDOStatement->execute(Array)
#1 /var/www/d7-site/includes/database/database.inc(683): DatabaseStatementBase->execute(Array, Array)
#2 /var/www/d7-site/includes/database/mysql/query.inc(36): DatabaseConnection->query('INSERT INTO {ac...', Array, Array)
#3 /var/www/d7-site/includes/actions.inc(297): InsertQuery_mysql->execute()
#4 /var/www/d7-site/includes/common.inc(7587): actions_synchronize()
#5 /usr/share/drush/commands/core/drupal/cache.inc(99): drupal_flush_all_caches()
#6 /usr/share/drush/includes/drush.inc(707): drush_cache_clear_both()
#7 /usr/share/drush/includes/drush.inc(694): drush_call_user_func_array('drush_cache_cle...', Array)
#8 /usr/share/drush/commands/core/cache.drush.inc(143): drush_op('drush_cache_cle...')
#9 [internal function]: drush_cache_command_clear('all')
#10 /usr/share/drush/includes/command.inc(368): call_user_func_array('drush_cache_com...', Array)
#11 /usr/share/drush/includes/command.inc(219): _drush_invoke_hooks(Array, Array)
#12 [internal function]: drush_command('all')
#13 /usr/share/drush/includes/command.inc(187): call_user_func_array('drush_command', Array)
#14 /usr/share/drush/lib/Drush/Boot/BaseBoot.php(62): drush_dispatch(Array)
#15 /usr/share/drush/drush.php(70): Drush\Boot\BaseBoot->bootstrap_and_dispatch()
#16 /usr/share/drush/drush.php(11): drush_main()
#17 {main}

Any idea of how to solve this issue ?

πŸ› Bug report
Status

Closed: duplicate

Version

1.7

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States darol100

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024