Upgrade v2.7.11 -> v2.10.4 database duplicate key value #5740
-
Hi All, I'm trying to upgrade to v2.10.4 and it seems we have some duplicate key values, we've not made any changes to the database schema: Checking for missing cable paths (python3 netbox/manage.py trace_paths --no-input)... The above exception was the direct cause of the following exception: Traceback (most recent call last): Looks very similar to the problem described in #2696 I can look up /dcim/cables/10 & /dcim/cables/89 OK when running v2.7.11 so not sure how to fix. Any ideas? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Just an update to this, I've restored the database into our dev instance, deleted the two offending cables (10,89) then run the upgrade which finished successfully. At least there were no more duplicates so minimal data re-entry. |
Beta Was this translation helpful? Give feedback.
Just an update to this, I've restored the database into our dev instance, deleted the two offending cables (10,89) then run the upgrade which finished successfully. At least there were no more duplicates so minimal data re-entry.