Bug 53928 - import joinscript fails when upgrading from 4.4 -> 5.0
import joinscript fails when upgrading from 4.4 -> 5.0
Status: RESOLVED DUPLICATE of bug 53792
Product: UCS@school
Classification: Unclassified
Component: Import scripts
UCS@school 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-10-15 17:05 CEST by Tobias Wenzel
Modified: 2021-10-15 22:07 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Wenzel univentionstaff 2021-10-15 17:05:15 CEST
when upgrading a multi-server environment from 4.4 -> 5.0 with users created in 4.4 the import joinscript failed with the following error:

Upgrading schema from UCS@school 4.4 to UCS@school 5.0
DELETE 0
Operations to perform:
  Apply all migrations: django_celery_results
Running migrations:
  No migrations to apply.
FEHLER:  Constraint »import_api_userimportj_result_id_7383b884_fk_celery_taskmeta_id« von Relation »import_api_userimportjob« existiert nicht
40ucs-school-import-http-api.inst: Failed to drop djcelery constraint
Comment 1 Florian Best univentionstaff 2021-10-15 22:07:34 CEST

*** This bug has been marked as a duplicate of bug 53792 ***