Upgrade script should rebuild search index if none exists #7660

Closed
opened 2025-12-29 20:26:34 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Feb 20, 2023).

Originally assigned to: @jeremystretch on GitHub.

Proposed Changes

Extend upgrade.sh to automatically rebuild the search index if no entrees exist.

Justification

This is currently handled in a migration under v3.4, however this poses an issue with successive changes to models (see #11658, #11685).

Originally created by @jeremystretch on GitHub (Feb 20, 2023). Originally assigned to: @jeremystretch on GitHub. ### Proposed Changes Extend `upgrade.sh` to automatically rebuild the search index if no entrees exist. ### Justification This is currently handled in a migration under v3.4, however this poses an issue with successive changes to models (see #11658, #11685).
adam added the status: acceptedtype: housekeeping labels 2025-12-29 20:26:35 +01:00
adam closed this issue 2025-12-29 20:26:35 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7660