PKP Bugzilla – Bug 6658
Upgrade fails during post-install with email templates error
Last modified: 2011-05-24 13:43:54 PDT
All upgrade steps complete successfully, but post-install fails with the following: <snip> [code: Installer Installer::addPluginVersions] [post-install] ERROR: Upgrade failed: DB: ##installer.installParseEmailTemplatesFileError##
This was a side effect of Bug 5837 (wrong upgrade of plugins emailTemplates). After checking for installed email templates, error is raised rather than continuing with the upgrade.
Created attachment 3516 [details] Patch against OJS 2.3.4 This patch needs to be applied against lib/pkp
Are you sure, Michael? That fix looks odd to me. I suspect you're running into trouble parsing a plugin's email templates file and I don't think that change will correct it. Were you able to narrow down the problem e.g. to a particular plugin?
Hi Alec, Yes, fix has been tested. I ended up debugging it and found that the problem applied to all plugins with email templates. Turns out this was correctly handled in master but not stable. Will update fix to match master.
Created attachment 3517 [details] Patch #2 against OJS 2.3.4 Subsequent patch based on master branch This patch needs to be applied against lib/pkp
Created attachment 3518 [details] Patch against OJS 2.3.4 (needs to be applied against lib/pkp) This patch needs to be applied against lib/pkp
Sounds good, Michael -- thanks.
Committed to pkp-lib:ojs-stable-2_3 https://github.com/pkp/pkp-lib/commit/e5794b98193bc0c3270565477a15013623180937 https://github.com/pkp/pkp-lib/commit/0a59124c27296e288615284b5665dcbfdac43d81