Error updating OJS 3.2.1.4 to OJS 3.3.0.12

Hi,

I was trying to update my OJS 3.2.1.4 installation to OJS 3.3.0.12, but it failed almost immediately due to the following error:

ERROR: Upgrade failed: DB: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1275-pt_BR-remoteUrl' for key 'navigation_menu_item_settings_pkey' (SQL: insert into `navigation_menu_item_settings` (`navigation_menu_item_id`, `locale`, `setting_name`, `setting_value`, `setting_type`) values (1275, pt_BR, remoteUrl, https://xxxxxxx, string))

WARNING: The NavigationMenu (ContextId: 175, Title: User Navigation Menu, Area: user) will be skipped because the specified area has already a NavigationMenu attached.

WARNING: The NavigationMenu (ContextId: 175, Title: Primary Navigation Menu, Area: primary) will be skipped because the specified area has already a NavigationMenu attached.

This thread helps you to solve the problem: