Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I get this error while trying to update from 1.6 to 1.7 through drush.
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '727566' for key ' PRIMARY': INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, ti mestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder _3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_inser t_placeholder_8, :db_insert_placeholder_9); Array
(
[:db_insert_placeholder_0] => 0
[:db_insert_placeholder_1] => boost
[:db_insert_placeholder_2] => Flushed all files (%count) from static page cache.
[:db_insert_placeholder_3] => a:1:{s:6:"%count";b:0;}
[:db_insert_placeholder_4] => 5
[:db_insert_placeholder_5] =>
[:db_insert_placeholder_6] => http://default/index.php
[:db_insert_placeholder_7] =>
[:db_insert_placeholder_8] => 127.0.0.1
[:db_insert_placeholder_9] => 1438761017
)
in dblog_watchdog() (line 160 of /home/iverons0/public_html/modules/dblog/dblog.module).
Comments
Comment #2
CPJS CreditAttribution: CPJS commentedComment #3
DamienMcKennaThere were no database updates between the 1.6 and 1.7 releases? Are you sure it was 1.6 you were running before you updated?
Comment #4
heykarthikwithuTheir were no database update from 1.6 to 1.7.
Comment #5
DamienMcKennaCan you please let me know what update script is failing, that way I'll be able to track it down.
Comment #6
DamienMcKenna