Skip to content
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 upload/0033_auto_20210527_1520 broken #10751

Closed
etj opened this issue Mar 8, 2023 · 0 comments
Closed

Migration upload/0033_auto_20210527_1520 broken #10751

etj opened this issue Mar 8, 2023 · 0 comments
Labels
4.0.x 4.1.x major A high priority issue which might affect a lot of people or large parts of the codebase

Comments

@etj
Copy link
Contributor

etj commented Mar 8, 2023

Running migrations:
  Applying adbpo.0001_initial... OK
  Applying auth.0012_alter_user_first_name_max_length... OK
  Applying upload.0032_uploadsizelimit... OK
  Applying upload.0033_upload_store_spatial_files... OK
  Applying upload.0033_auto_20210527_1520...ERROR   2023-03-08 09:15:04,800 models           174 140610995570496 column "files" of relation "base_resourcebase" does not exist
LINE 1: UPDATE "base_resourcebase" SET "files" = '["/mnt/volumes/sta...
                                       ^
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
psycopg2.errors.UndefinedColumn: column "files" of relation "base_resourcebase" does not exist
LINE 1: UPDATE "base_resourcebase" SET "files" = '["/mnt/volumes/sta...

Such field is added in base/0062_resourcebase_files.

Found in 4.0.x

etj added a commit to etj/geonode that referenced this issue Mar 8, 2023
@etj etj mentioned this issue Mar 8, 2023
12 tasks
giohappy 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
giohappy 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
@afabiani afabiani added major A high priority issue which might affect a lot of people or large parts of the codebase 4.0.x 4.1.x labels Mar 8, 2023
@afabiani afabiani closed this as completed Mar 8, 2023
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
Labels
4.0.x 4.1.x major A high priority issue which might affect a lot of people or large parts of the codebase
Projects
None yet
Development

No branches or pull requests

2 participants