OJS Upgrade Error: from 3.2.1.4 to 3.3.0-15

Hi Team

While trying to upgrade OJS from 3.2.1.4 to 3.3.0-15 i have encountered the following error.

Please suggest a workaround for this

ERROR: Upgrade failed: DB: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘aftercover-7-blockTitle’ for key ‘plugin_settings.plugin_settings_pkey’ (SQL: insert into plugin_settings (context_id, plugin_name, setting_name, setting_type, setting_value) values (7, authorresources, blockTitle, object, a:1:{s:5:“en_US”;s:15:“authorresources”;}), (7, editorialteam, blockTitle, object, a:1:{s:5:“en_US”;s:13:“editorialteam”;}), (7, icondescription, blockTitle, object, a:1:{s:5:“en_US”;s:15:“icondescription”;}), (7, editorialpick, blockTitle, object, a:1:{s:5:“en_US”;s:13:“editorialpick”;}), (7, indexinglogo, blockTitle, object, a:1:{s:5:“en_US”;s:12:“indexinglogo”;}), (7, makesubmission, blockTitle, object, a:1:{s:5:“en_US”;s:14:“makesubmission”;}), (7, headertext, blockTitle, object, a:1:{s:5:“en_US”;s:10:“headertext”;}), (7, aftercover, blockTitle, object, a:1:{s:5:“en_US”;s:10:“aftercover”;}), (7, aftercover, blockTitle, object, a:1:{s:5:“en_US”;s:10:“aftercover”;}), (7, indexedin, blockTitle, object, a:1:{s:5:“en_US”;s:9:“indexedin”;}), (7, mediablock, blockTitle, object, a:1:{s:5:“en_US”;s:10:“mediablock”;}))

A quick approach would be making copies of all your custom blocks content, make a database backup and then trying this.

Best regards,
Josh

Hey @jnoronha
I completed my upgrade successfully yesterday! by deleting the custom blocks created in the custom block plugin.

I have seen your reply, late.
anyways

Thanks for the reply!