I'm upgrading from 2.1.1 to the most recent stable, 2.2.4. When I run the tools/upgrade script, I get the following error:
- Code: Select all
# php tools/upgrade.php upgrade
[load: upgrade.xml]
[version: 2.2.4.0]
[data: upgrade/public_issue_ids.xml]
[data: upgrade/2.2.0_preupdate.xml]
[code: Installer Installer::correctCurrencies]
[code: Installer Installer::migrateIssueLabelAndSettings]
[code: Installer Installer::dropAllIndexes]
[schema: ojs_schema_stage1.xml]
[code: Installer Installer::setJournalPrimaryLocales]
[data: upgrade/2.2.0_localize.xml]
[data: upgrade/2.2.0_usersettings.xml]
ERROR: Upgrade failed: DB: ERROR: index "user_settings_user_id" does not exist
I'm unclear as to whether this is the following bug:
http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=4562
If so, should I run the "Patch against OJS pre-2.3 CVS"? It seems to be suggested to wait to upgrade to 2.3 instead of applying this patch which will "likely be difficult" (see http://pkp.sfu.ca/support/forum/viewtopic.php?f=8&t=4898).
I'm kind of confused as to whether a stable release of 2.3 is available yet - if so, I'll use that which it appears does not contain this bug.
Any advice would be appreciated.
Thanks a lot.
Gary
