upgrade.sh fails 2.10.3 #4484

Closed
opened 2025-12-29 18:36:31 +01:00 by adam · 0 comments
Owner

Originally created by @msmith8fti on GitHub (Jan 20, 2021).

Any idea how I can resolve this issue? The upgrade.sh completes the database migration without issue, but ultimately the shell script fails with the following error.

Checking for missing cable paths (python3 netbox/manage.py trace_paths --no-input)... Retracing 3 cabled circuit terminations... Side Z 5 Traceback (most recent call last): File "/opt/netbox-2.10.3/venv/lib64/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute return self.cursor.execute(sql, params) psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "dcim_cablepath_origin_type_id_origin_id_41b6f814_uniq" DETAIL: Key (origin_type_id, origin_id)=(7, 5) already exists.

Originally created by @msmith8fti on GitHub (Jan 20, 2021). Any idea how I can resolve this issue? The upgrade.sh completes the database migration without issue, but ultimately the shell script fails with the following error. `Checking for missing cable paths (python3 netbox/manage.py trace_paths --no-input)... Retracing 3 cabled circuit terminations... Side Z 5 Traceback (most recent call last): File "/opt/netbox-2.10.3/venv/lib64/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute return self.cursor.execute(sql, params) psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "dcim_cablepath_origin_type_id_origin_id_41b6f814_uniq" DETAIL: Key (origin_type_id, origin_id)=(7, 5) already exists. `
adam closed this issue 2025-12-29 18:36:31 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4484