Databasee error IDX_execution_entity_stoppedAt

Describe the problem/error/question

After upgrading from version 1.56.2 to 1.58.2, there was a problem with the postgress database

What is the error message (if any)?

Starting migration RefactorExecutionIndices 1723796243146
TypeORMError: Supplied index IDX_execution_entity_stoppedAt was not found in table execution_entity

Is there a chance to restore the database?

Please share your workflow

This is general database error

Information on your n8n setup

  • **n8n version:1.56.2 to 1.58.2
  • **Database (default: SQLite): Postgress 15
  • **n8n EXECUTIONS_PROCESS setting (default: own, main): main
  • **Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • **Operating system: Unraid 6.12.13

It doesn’t matter anymore, I deployed the container with the latest version, and in version 1.56.2 (which worked) I exported Workflows and credentials, after which I imported everything into a new installation

topic should be closed

1 Like