Upgrade Error From OJS-3.2.1-5 To 3.3.0-13

Describe the issue or problem
I get an error when trying to upgrade from 3.2.1-5 to 3.3.0-13
I am using nginx for web server, PHP 7.3 and postgresql 10 for database
I am using this patch classes/migration/upgrade/PKPv3_3_0UpgradeMigration.inc.php

Here is the error:
PHP Notice: Trying to get property ‘primary_locale’ of non-object in /var/www/rootfolder/lib/pkp/classes/migration/upgrade/PKPv3_3_0UpgradeMigration.inc.php on line 665
ERROR: Upgrade failed: DB: SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint “plugin_settings_pkey”
Key (plugin_name, context_id, setting_name)=(indexing, 16, blockTitle) already exists

insert into “plugin_settings” (“context_id”, “plugin_name”, “setting_name”, “setting_type”, “setting_value”)values
(0, information, blockTitle, object, a:1:{s:0:“”;s:11:“information”;}),
(16, indexing, blockTitle, object, a:1:{s:5:“en_US”;s:8:“indexing”;}),
(16, indexing, blockTitle, object, a:1:{s:5:“en_US”;s:8:“indexing”;}),
(17, indexing, blockTitle, object, a:1:{s:5:“en_US”;s:8:“indexing”;}),
(17, pes, blockTitle, object, a:1:{s:5:“en_US”;s:3:“pes”;}),
(18, index, blockTitle, object, a:1:{s:5:“en_US”;s:5:“index”;}),
(18, indexing, blockTitle, object, a:1:{s:5:“en_US”;s:8:“indexing”;}),
(18, indexing, blockTitle, object, a:1:{s:5:“en_US”;s:8:“indexing”;}),
(19, index, blockTitle, object, a:1:{s:5:“en_US”;s:5:“index”;}),
(19, index, blockTitle, object, a:1:{s:5:“en_US”;s:5:“index”;}),
(19, pes, blockTitle, object, a:1:{s:5:“en_US”;s:3:“pes”;}),
(20, indexing, blockTitle, object, a:1:{s:5:“en_US”;s:8:“indexing”;}),
(20, index, blockTitle, object, a:1:{s:5:“en_US”;s:5:“index”;}),
(21, index, blockTitle, object, a:1:{s:5:“en_US”;s:5:“index”;}),
(24, index, blockTitle, object, a:1:{s:5:“en_US”;s:5:“index”;}),
(24, visitor, blockTitle, object, a:1:{s:5:“en_US”;s:7:“visitor”;}),
(27, index, blockTitle, object, a:1:{s:5:“en_US”;s:5:“index”;}),
(27, indexing, blockTitle, object, a:1:{s:5:“en_US”;s:8:“indexing”;}),
(31, indexing, blockTitle, object, a:1:{s:5:“en_US”;s:8:“indexing”;}),
(31, indexing, blockTitle, object, a:1:{s:5:“en_US”;s:8:“indexing”;}),
(32, indexing, blockTitle, object, a:1:{s:5:“en_US”;s:8:“indexing”;}),
(32, indexing, blockTitle, object, a:1:{s:5:“en_US”;s:8:“indexing”;}),
(33, index, blockTitle, object, a:1:{s:5:“en_US”;s:5:“index”;}),
(33, coba, blockTitle, object, a:1:{s:5:“en_US”;s:4:“coba”;}),
(34, index, blockTitle, object, a:1:{s:5:“en_US”;s:5:“index”;}),
(35, index, blockTitle, object, a:1:{s:5:“en_US”;s:5:“index”;}),
(35, counterindex, blockTitle, object, a:1:{s:5:“en_US”;s:12:“counterindex”;}),
(36, dikti, blockTitle, object, a:1:{s:5:“en_US”;s:5:“dikti”;}),
(36, counter, blockTitle, object, a:1:{s:5:“en_US”;s:7:“counter”;}),
(36, indexlogo, blockTitle, object, a:1:{s:5:“en_US”;s:9:“indexlogo”;}),
(37, sidebar, blockTitle, object,a:1:{s:5:“en_US”;s:7:“sidebar”;}),
(37, author, blockTitle, object, a:1:{s:5:“en_US”;s:6:“author”;}),
(37, index, blockTitle, object,a:1:{s:5:“en_US”;s:5:“index”;}),
(38, index, blockTitle, object, a:1:{s:5:“en_US”;s:5:“index”;}),
(40, sidebarmenu, blockTitle, object,a:1:{s:5:“en_US”;s:11:“sidebarmenu”;}),
(40, indexing, blockTitle, object, a:1:{s:5:“en_US”;s:8:“indexing”;}),
(40, counter, blockTitle, object, a:1:{s:5:“en_US”;s:7:“counter”;}),
(41, indexing, blockTitle, object, a:1:{s:5:“en_US”;s:8:“indexing”;}),
(41, template, blockTitle, object, a:1:{s:5:“en_US”;s:8:“template”;}),
(44, index, blockTitle, object, a:1:{s:5:“en_US”;s:5:“index”;}))

Any help ?
Thanks…

Hope you can find the answer soon
قصة عشق

Delete one of the rows with the same ID and same data on plugin_settings.
Try again.