by rthomas » Mon Oct 02, 2006 3:32 pm
Environment: OS X 10.3 (php5, mysql 4.13, apache 1.3.3)
I upgraded from 201 to 211 today and ran into some trouble. The upgrade script returned errors on the database upgrade so I had v211 code & v201 dbase. So I ran the manual upgrade SQL and received only the "duplicate record" errors below. My site seems to be running fine. But I'm a little nervous.
I'm thinking the records were updated from an earlier, failed upgrade attempt, and that's why I'm getting these errors...but I'm looking for confirmation from someone who can tell me with some authority...or how to verify. Is my site upgraded, or do I need to address these errors?
[MySQL 17:12:23] INSERT INTO email_templates_default (email_key, can_edit, can_disable, to_role_id) VALUES ('OPEN_ACCESS_NOTIFY', 1, 0, 1048576)
[ERROR 17:12:23] Duplicate entry 'OPEN_ACCESS_NOTIFY' for key 2
[MySQL 17:12:23] INSERT INTO email_templates_default (email_key, can_edit, can_disable, to_role_id) VALUES ('SUBSCRIPTION_BEFORE_EXPIRY', 1, 0, 1048576)
[ERROR 17:12:23] Duplicate entry 'SUBSCRIPTION_BEFORE_EXPIRY' for key 2
[MySQL 17:12:23] INSERT INTO email_templates_default (email_key, can_edit, can_disable, to_role_id) VALUES ('SUBSCRIPTION_AFTER_EXPIRY', 1, 0, 1048576)
[ERROR 17:12:23] Duplicate entry 'SUBSCRIPTION_AFTER_EXPIRY' for key 2
[MySQL 17:12:23] INSERT INTO email_templates_default (email_key, can_edit, can_disable, to_role_id) VALUES ('SUBSCRIPTION_AFTER_EXPIRY_LAST', 1, 0, 1048576)
[ERROR 17:12:23] Duplicate entry 'SUBSCRIPTION_AFTER_EXPIRY_LAST' for key 2
[MySQL 17:12:23] INSERT INTO email_templates_default_data (locale, email_key, subject, body, description) VALUES ('en_US', 'OPEN_ACCESS_NOTIFY', 'Issue Now Open Access', 'Readers:
{$journalName} has just made available in an open access format the following issue. We invite you to review the Table of Contents here and then visit our web site ({$journalUrl}) to review articles and items of interest.
Thanks for the continuing interest in our work,
{$editorialContactSignature}', 'This email is sent to registered readers who have requested to receive a notification email when an issue becomes open access.')
[ERROR 17:12:23] Duplicate entry 'OPEN_ACCESS_NOTIFY-en_US' for key 1
[MySQL 17:12:23] INSERT INTO email_templates_default_data (locale, email_key, subject, body, description) VALUES ('en_US', 'SUBSCRIPTION_BEFORE_EXPIRY', 'Notice of Subscription Expiry', '{$subscriberName}:
Your {$journalName} subscription is about to expire.
{$subscriptionType}
Expiry date: {$expiryDate}
To ensure the continuity of your access to this journal, please go to the journal website and renew your subscription. You are able to log in to the system with your username, "{$username}".
If you have any questions, please feel free to contact me.
{$subscriptionContactSignature}', 'This email notifies a subscriber that their subscription will soon expire. It provides the journal\'s URL along with instructions for access.')
[ERROR 17:12:23] Duplicate entry 'SUBSCRIPTION_BEFORE_EXPIRY-en_US' for key 1
[MySQL 17:12:23] INSERT INTO email_templates_default_data (locale, email_key, subject, body, description) VALUES ('en_US', 'SUBSCRIPTION_AFTER_EXPIRY', 'Subscription Expired', '{$subscriberName}:
Your {$journalName} subscription has expired.
{$subscriptionType}
Expiry date: {$expiryDate}
To renew your subscription, please go to the journal website. You are able to log in to the system with your username, "{$username}".
If you have any questions, please feel free to contact me.
{$subscriptionContactSignature}', 'This email notifies a subscriber that their subscription has expired. It provides the journal\'s URL along with instructions for access.')
[ERROR 17:12:23] Duplicate entry 'SUBSCRIPTION_AFTER_EXPIRY-en_US' for key 1
[MySQL 17:12:23] INSERT INTO email_templates_default_data (locale, email_key, subject, body, description) VALUES ('en_US', 'SUBSCRIPTION_AFTER_EXPIRY_LAST', 'Subscription Expired - Final Reminder', '{$subscriberName}:
Your {$journalName} subscription has expired.
Please note that this is the final reminder that will be emailed to you.
{$subscriptionType}
Expiry date: {$expiryDate}
To renew your subscription, please go to the journal website. You are able to log in to the system with your username, "{$username}".
If you have any questions, please feel free to contact me.
{$subscriptionContactSignature}', 'This email notifies a subscriber that their subscription has expired. It provides the journal\'s URL along with instructions for access.')
[ERROR 17:12:23] Duplicate entry 'SUBSCRIPTION_AFTER_EXPIRY_LAST-en_US' for key 1
[MySQL 17:12:23] INSERT INTO email_templates_default (email_key, can_edit, can_disable, to_role_id, from_role_id) VALUES ('REVIEW_CONFIRM_ACK', 1, 1, 4096, 512)
[ERROR 17:12:23] Duplicate entry 'REVIEW_CONFIRM_ACK' for key 2
[MySQL 17:12:23] INSERT INTO email_templates_default_data (locale, email_key, subject, body, description) VALUES ('en_US', 'REVIEW_CONFIRM_ACK', 'Review Underway Acknowledgement', '{$reviewerName}:
Thank you for agreeing to review the manuscript "{$articleTitle}" for {$journalName} by {$reviewDueDate}.
{$editorialContactSignature}', 'This email is sent from the Section Editor to the Reviewer to acknowledge their acceptance of a review or encourage them to complete the review.')
[ERROR 17:12:23] Duplicate entry 'REVIEW_CONFIRM_ACK-en_US' for key 1
[MySQL 17:12:23] INSERT INTO scheduled_tasks (class_name) VALUES ('tasks.SubscriptionExpiryReminder')
[ERROR 17:12:23] Duplicate entry 'tasks.SubscriptionExpiryReminder' for key 1
[MySQL 17:12:23] INSERT INTO scheduled_tasks (class_name) VALUES ('tasks.OpenAccessNotification')
[ERROR 17:12:23] Duplicate entry 'tasks.OpenAccessNotification' for key 1