Skip to content

Error upgrading Sentry 26.3.0: InconsistentMigrationHistory: Migration monitors.0008_fix_processing_error_keys is applied before its dependency sentry.1040_drop_fk_projecttemplate #4222

@dvinegla

Description

@dvinegla

Self-Hosted Version

26.3.0

CPU Architecture

linux/arm64

Docker Version

29.3.0

Docker Compose Version

5.1.0

Machine Specification

  • My system meets the minimum system requirements of Sentry

Installation Type

Upgrade from 26.2.1 to 26.3.0

Steps to Reproduce

  1. git pull
  2. ./install.sh

Expected Result

Upgrade Sentry without issues

Actual Result

django.db.migrations.exceptions.InconsistentMigrationHistory: Migration monitors.0008_fix_processing_error_keys is applied before its dependency sentry.1040_drop_fk_projecttemplate on database 'default'.

Error in install/set-up-and-migrate-database.sh:23.
'$dcr web upgrade --create-kafka-topics' exited with status 1

Event ID

No response

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions