-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
betaConcerns a bug/feature in a beta releaseConcerns a bug/feature in a beta releasestatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
v3.5.0-dev
Python version
3.10
Steps to Reproduce
- Checkout the feature branch
- Run ./upgrade.sh on a clean database
Expected Behavior
The upgrade script should finish.
Observed Behavior
Migration log and exception:
https://gist.github.com/kkthxbye-code/4dd23a639bf0af94e856032fbac83920
The error is caused because extras.0083_search runs before dcim.0167_module_status. The search migration runs the search indexing command, which queries the Module model, which fails because the Model doesn't match the database yet. We might need to remove the indexing command and re-think how initial search indexing should be executed.
Metadata
Metadata
Assignees
Labels
betaConcerns a bug/feature in a beta releaseConcerns a bug/feature in a beta releasestatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application