OJS 3.2 Upgrade Error : Upgrade failed: DB: Duplicate column name 'email_id'


I’m trying to upgrade my OJS installation from 3.1.2 to 3.2 and I’m encountering a problem with the DB upgrade :

[load: upgrade.xml]

[code: Installer Installer::checkPhpVersion]

[code: Installer Installer::migrateSubmissionCoverImages]
[data: dbscripts/xml/upgrade/3.2.0_preupdate_email_templates.xml]
ERROR: Upgrade failed: DB: Duplicate column name ‘email_id’

I checked my email_templates table and there is only one ‘email_id’ column

Thank’s for you help

1 Like

Hi @Rob_Colbourn,

This appears to be the same issue reported here: [OJS to 3.2] Upgrade Error - Duplicate column name ‘email_id’ - #3 by smtp

There’s a work-around suggested by the user, but I haven’t vetted it to see if it will cause problems. Watch that thread for a follow-up.

Alec Smecher
Public Knowledge Project Team