From 3ca10929918b6f0785dee729487963b131e6b731 Mon Sep 17 00:00:00 2001 From: Kale Date: Fri, 15 Aug 2025 18:08:35 -0600 Subject: [PATCH] Fixes #16182 #17361 don't fail upgrade.sh if the django content types cleanup command fails --- upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upgrade.sh b/upgrade.sh index 75a3ffc7f..a83d36296 100755 --- a/upgrade.sh +++ b/upgrade.sh @@ -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"