Issue while upgrading
#6641
-
Running migration in a
Some extra info: Python version:
I can paste a Could you give us a hand? Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
@oscgonfer what version (of InvenTree) were you upgrading from and what version are you upgrading to? |
Beta Was this translation helpful? Give feedback.
-
Hi @SchrodingersGat, From: 0.9.0 |
Beta Was this translation helpful? Give feedback.
-
Is this occuring while running |
Beta Was this translation helpful? Give feedback.
-
Hi again, Here it is. Since I am running it again, probably it changed from the first try:
|
Beta Was this translation helpful? Give feedback.
-
@oscgonfer looks like the data migration is causing an issue here. It may be possible to get around this by specifying non atomic transactions In If the migration runs fine after this please let me know and we can run patch the migration file. |
Beta Was this translation helpful? Give feedback.
@oscgonfer looks like the data migration is causing an issue here. It may be possible to get around this by specifying non atomic transactions
In
part/migrations/0109_auto_20230517_1048.py
try addingatomic = False
to this class:InvenTree/InvenTree/part/migrations/0109_auto_20230517_1048.py
Line 139 in 6eddb18
If the migration runs fine after this please let me know and we can run patch the migration file.