don't fail upgrade.sh if the django content types cleanup command fails
This commit is contained in:
Kale 2025-08-15 18:08:35 -06:00 committed by GitHub
parent a9ada4457b
commit 3ca1092991
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -117,7 +117,7 @@ eval $COMMAND || exit 1
# Delete any stale content types
COMMAND="python3 netbox/manage.py remove_stale_contenttypes --no-input"
echo "Removing stale content types ($COMMAND)..."
eval $COMMAND || exit 1
eval $COMMAND
# Rebuild the search cache (lazily)
COMMAND="python3 netbox/manage.py reindex --lazy"