I have been trying to upgrade my site from Drupal 6 to 7 for a number of days now and each time, I run the update.php, I get errors in the Trigger module and Search module. I have followed everything in the upgrade.txt down to the 'T' and started from scratch each time the update process fails.
This is the error I get in my Trigger module:
Failed: PDOException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'hook' at row 1: UPDATE {trigger_assignments} SET hook=:db_update_placeholder_0 WHERE (hook = :db_condition_placeholder_0) AND (op = :db_condition_placeholder_1) AND (aid = :db_condition_placeholder_2) ; Array ( [:db_update_placeholder_0] => workflow_workflow-pro_tournament_report-1 [:db_condition_placeholder_0] => workflow [:db_condition_placeholder_1] => workflow-pro_tournament_report-1 [:db_condition_placeholder_2] => 4 ) in trigger_update_7000() (line 67 of .../modules/trigger/trigger.install).
And this is the error in the Search module:
Failed: DatabaseSchemaObjectExistsException: Cannot add primary key to table search_dataset: primary key already exists. in DatabaseSchema_mysql->addPrimaryKey() (line 392 of .../includes/database/mysql/schema.inc).