mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-26 09:26:00 +03:00
[GH-ISSUE #2947] Error upgrading Modoboa #1719
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#1719
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jaysee on GitHub (Apr 10, 2023).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/2947
Impacted versions
Steps to reproduce
Current behavior
during modoboa upgrade to 2.0.5, database upgrade fails :
Expected behavior
seem
0021_auto_20230410_1435.pyis where I got the errors, but can't figure which table or field is causing troublesVideo/Screenshot link (optional)
@tonioo commented on GitHub (Apr 11, 2023):
@jaysee What version are you migrating from?
@tonioo commented on GitHub (Apr 11, 2023):
This migration is not part of the source code so I guess you created it manually running
makemigrationscommand. Is that right?@jaysee commented on GitHub (Apr 13, 2023):
@tonioo Yes I usually run make migration when doing upgrade (should'nt do I?)
This message pop's 2 versions ago so I think version 2.0.3 (not really sure)
@tonioo commented on GitHub (Apr 13, 2023):
@jaysee You should not have to run this command, it's not part of the upgrade process. Only
migrateis.If you see a warning about missing migrations, it means that we forgot to create a migration and that can be considered as a bug.
@jaysee commented on GitHub (Apr 18, 2023):
Thanks @tonioo, I will try to clean that I impove my upgrade scripts to not use
makemigrationsanymore