mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
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:
parent
6ca4a96533
commit
ff6d89ac69
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user