Failed migration in 3scale system

Solution Verified - Updated -

Issue

  • After an upgrade system-app-hook-pre pod is in CrashLoopBackOff state.
  • In system-app-hook-pre pod logs I can see the following error:
Migrating to CreateEmailConfigurations (20211215120415)
(...)
rake aborted!
StandardError: An error has occurred, all later migrations canceled:
Index name 'index_email_configurations_on_account_id' on table 'email_configurations' already exists.

Environment

  • Red Hat 3scale API Management 2.12 On-premises

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content