nixos/netbox: clear old static files on upgrade

This fixes an issue where upgrading NetBox didn't correctly clean old
files, and the interface wasn't correct / didn't show object relations.
This commit is contained in:
Minijackson 2024-11-06 16:13:18 +01:00
parent 6ca4a96533
commit ff6d89ac69
No known key found for this signature in database
GPG Key ID: FEA888C9F5D64F62

View File

@ -304,7 +304,7 @@ in {
${pkg}/bin/netbox migrate
${pkg}/bin/netbox trace_paths --no-input
${pkg}/bin/netbox collectstatic --no-input
${pkg}/bin/netbox collectstatic --clear --no-input
${pkg}/bin/netbox remove_stale_contenttypes --no-input
${pkg}/bin/netbox reindex --lazy
${pkg}/bin/netbox clearsessions