Migration failed when updating from 4.0.11-2.9.1 to 4.1-3.0.1 #1312
-
I'm trying to upgrade my netbox instance from docker exec netbox-postgres-1 psql -U netbox netbox -c 'SELECT "extras_objectchange"."id", "extras_objectchange"."time", "extras_objectchange"."user_name", "extras_objectchange"."request_id", "extras_objectchange"."action", "extras_objectchange"."changed_object_id", "extras_objectchange"."related_object_id", "extras_objectchange"."object_repr", "extras_objectchange"."prechange_data", "extras_objectchange"."postchange_data", "extras_objectchange"."changed_object_type_id", "extras_objectchange"."related_object_type_id", "extras_objectchange"."user_id" FROM "extras_objectchange" WHERE "extras_objectchange"."changed_object_type_id" IN (149) ORDER BY "extras_objectchange"."time" DESC;'
id | time | user_name | request_id | action | changed_object_id | related_object_id | object_repr | prechange_data | postchange_data | changed_object_type_id | related_object_type_id | user_id
----+------+-----------+------------+--------+-------------------+-------------------+-------------+----------------+-----------------+------------------------+------------------------+---------
(0 rows) I'm not sure if this issue is related to netbox-docker or the core netbox project. Docker Logs:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
It is related to core netbox project. There are existing discussions about this error. |
Beta Was this translation helpful? Give feedback.
-
Yup. Same issue - tried both upgrading and fresh install, and then database import, both scenarios result in the migration to crash:
Not related to netbox-docker though, as others are having the same issue using netbox core: #17388 |
Beta Was this translation helpful? Give feedback.
It is related to core netbox project. There are existing discussions about this error.
netbox-community/netbox#17382
netbox-community/netbox#17388