Upgrade to OJS 3.4.0-5

We are trying to upgrade OJS to and after solving a few problems we got to this, I couldn’t find a solution anywhere.
Can you help me if this has been addressed or how to resolve it?

ERROR: Upgrade failed: DB: SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘locale’ cannot be null (SQL: insert into email_templates_settings (email_id, locale, setting_name, setting_value) values (1, ?, name, COPYEDIT REQUEST), (2, ?, name, LAYOUT REQUEST), (3, ?, name, LAYOUT COMPLETE), (19, ?, name, EDITOR ASSIGN SUBMISSION), (25, ?, name, EDITOR ASSIGN REVIEW), (31, ?, name, EDITOR ASSIGN PRODUCTION))

The best option is to roll back and then upgrade one release at a time, cycling through from to latest.

Hi all,

Actually, I don’t recommend upgrading step by step through each release – it should be possible to go right from 3.3.0-6 to 3.4.0-5.

@skupa, can you share the entire output of the upgrade script? That’ll help narrow down where the problem is occurring.

Alec Smecher
Public Knowledge Project Team