self-hosted icon indicating copy to clipboard operation
self-hosted copied to clipboard

django.db.migrations.exceptions.InconsistentMigrationHistory: Migration workflow_engine.0087_relink_crons_to_compatible_issue_workflows is applied before its dependency monitors.0013_delete_monitor_is_muted_field on database 'default'.

Open darrelajonas opened this issue 11 months ago • 2 comments

Self-Hosted Version

22.12.0

CPU Architecture

x86_64

Docker Version

25.0.13

Docker Compose Version

2.37.1

Machine Specification

  • [x] My system meets the minimum system requirements of Sentry

Installation Type

Upgrade from 25.10.0 to 25.12.0

Steps to Reproduce

Perform the upgrade

Shutdown the Sentry application

cd ~/sentry
docker-compose down

Checkout the version you want to upgrade to:

cd ~/sentry
git fetch
git checkout 25.12.0

Make sure any new variables in .env are copied to .env.custom Tip: You can use this command to show differences between 2 files easily:

diff <(sort .env) <(sort .env.custom)

Make sure any new variables in sentry/sentry.conf.example.py are copied to sentry/sentry.conf.py

Now run the install script:

cd ~/sentry
./install.sh

Expected Result

Upgrade worked fine

Actual Result

Image

Event ID

No response

darrelajonas avatar Dec 18 '25 10:12 darrelajonas

I'm having the same issue. Trying to upgrade from version 25.11.1.

dfilter avatar Dec 18 '25 13:12 dfilter

Hello. This is a known issue for 2 days now. Initially was reported on Discord: https://discord.com/channels/621778831602221064/796028405833007104/1450758301032775681

We're troubleshooting the issue there for quick responses. Will keep this issue updated!

aldy505 avatar Dec 19 '25 01:12 aldy505