Migration issues with 3.0.3
Description
Upgrading from 2.0.7 (and apparently from 2.0.2) to 3.0.3 failed because of migrations. I had to upgrade to 2.0.8, 3.0.0, 3.0.2 first and lastly to 3.0.3.
Discussion log:
RobinFrcd (Robin Fourcade)
Hi, I tried do upgrade my glitchtip instance from 2.0.2 to 3.0.3 but I'm getting:
django.db.migrations.exceptions.InconsistentMigrationHistory:
Migration releases.0001_initial is applied before its dependency projects.0010_rename_useralert on database 'default'.
Is there anything to do except going on a fresh install (which isn't really a solution for me). Thanks !
Paul
yes, getting the same one
RobinFrcd (Robin Fourcade)
Alright, I first ran migrations from 2.0.8 then 3.0.0 then 3.0.2 and 3.0.3 eventually worked. There's for sure an issue with migration scripts but that's a workaround !
bufke
I see, sorry it's a bug then. It should let you upgrade from 2.x to 3.x. Though 1.x to 3.x wouldn't be guaranteed.
Paul
ah, I missed 2.0.8, tried 2.0.7 -> 3.0.3 I was told to run makemigrations on 2.0.8 no, still no go on 3.0.3 better do 3.0.0 as well, like you said