Describe the issue or problem
During upgrade the last failure is now with the event_log.
Steps I took leading up to the issue
I have run the upgrade several times. I have a “clean” dump to start from. We are on OJS 3.3.0.15 and are upgrading to 3.5. Previous upgrade problems were for example journal contactName + contactEmail missing from some journals, and also that I tried to start upgradeing again without resetting the database to a clean dump. It takes about 12 hours to restore the dump.
Additional information
The last upgrade came a long way, but stopped with:
2026-02-16 00:14:39 [migration: APP\migration\upgrade\v3_4_0\I8933_EventLogLocalized]
2026-02-16 00:15:07 [revert migration: PKP\migration\upgrade\v3_4_0\I9039_DropDeprecatedFields]
2026-02-16 00:15:07 [downgrade for “PKP\migration\upgrade\v3_4_0\I9039_DropDeprecatedFields” unsupported: Downgrade not supported]
ERROR: Upgrade failed: DB: SQLSTATE[HY000]: General error: 1034 Index for table ‘event_log’ is corrupt; try to repair it (Connection: mysql, SQL: alter table event_log add constraint event_log_user_id_foreign foreign key (user_id) references users (user_id) on delete cascade)
Any tips to what I can try before starting a new upgrade?