-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration base/0074_drop_curated_thumbs.py broken #10747
Comments
etj
added a commit
to etj/geonode
that referenced
this issue
Mar 7, 2023
12 tasks
giohappy
added a commit
that referenced
this issue
Mar 8, 2023
* #10747 Migration base/0074_drop_curated_thumbs.py broken * #10752 Migration base.0067_resourcebase_storetype broken * #10751 Migration upload/0033_auto_20210527_1520 broken * #10753 Migration layers.0040_dataset_ows_url broken * #10755 Some other migrations broken Co-authored-by: Emanuele Tajariol <[email protected]>
github-actions bot
pushed a commit
that referenced
this issue
Mar 8, 2023
* #10747 Migration base/0074_drop_curated_thumbs.py broken * #10752 Migration base.0067_resourcebase_storetype broken * #10751 Migration upload/0033_auto_20210527_1520 broken * #10753 Migration layers.0040_dataset_ows_url broken * #10755 Some other migrations broken Co-authored-by: Emanuele Tajariol <[email protected]> (cherry picked from commit 7242030)
giohappy
added a commit
that referenced
this issue
Mar 8, 2023
* #10747 Migration base/0074_drop_curated_thumbs.py broken * #10752 Migration base.0067_resourcebase_storetype broken * #10751 Migration upload/0033_auto_20210527_1520 broken * #10753 Migration layers.0040_dataset_ows_url broken * #10755 Some other migrations broken Co-authored-by: Emanuele Tajariol <[email protected]> (cherry picked from commit 7242030) Co-authored-by: Giovanni Allegri <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The migration
base/migrations/0074_drop_curated_thumbs.py
may fail due to a race condition.Migrations may fail with:
By running the migration code by hand, it seems that the
get_real_instance
method is failing:I noted that the
layers
migrations were not run, so the source code had alayers.Dataset
class, where the DB still had thelayers.Layer
table.Running by hand the migrations in the
layers
app and then running thebase
migrations, everything runs smoothly.The text was updated successfully, but these errors were encountered: