-
See auroraresearchlab/netbox-dns#261 The problem seems to be that the upgrade of NetBox from 3.3.x to 3.4.x runs a migration that updates search indices, and the plugin adds a new column (that is indexed) in a migration that runs after the NetBox migrations, causing the NetBox migration to fail. For this to occur, several conditions are required:
This creates a hen-and-egg problem: NetBox wants to reindex tables for all models, and when it comes to reindex the model's new table it just isn't there yet. If it weren't a plugin, the solution would be to make the NetBox migration Is there something I missed, or is it simply a documentation issue I need to fix in the plugin (disable plugin, run NetBox migrations, enable plugin again)? I think this could happen with other plugins as well, although the conditions are certainly a bit special. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I found out that even the initial migration fails when an enabled plugin uses |
Beta Was this translation helpful? Give feedback.
I found out that even the initial migration fails when an enabled plugin uses
SearchIndex
. Opened #11248.